toVector3 method

Vector3 toVector3([
  1. Vector3? optionalResult
])

Implementation

Vector3 toVector3([Vector3? optionalResult]) {
  print(" three.Euler: .toVector3() has been removed. Use Vector3.setFromEuler() instead ");
  if (optionalResult != null) {
    return optionalResult.set(_x, _y, _z);
  } else {
    return Vector3(_x, _y, _z);
  }
}