toVector3 method
- @Deprecated('.toVector3 has been removed. Use Vector3.setFromEuler() instead')
- Vector3? optionalResult
Implementation
@Deprecated('.toVector3 has been removed. Use Vector3.setFromEuler() instead')
Vector3 toVector3([Vector3? optionalResult]) {
if (optionalResult != null) {
optionalResult.setValues(_x, _y, _z);
return optionalResult;
}
else {
return Vector3(_x, _y, _z);
}
}