localToWorld method
Vector3
localToWorld(
- Vector3 vector
inherited
vector
- A vector representing a position in this object's local space.
Converts the vector from this object's local space to world space.
Implementation
Vector3 localToWorld(Vector3 vector) {
vector.applyMatrix4(matrixWorld);
return vector;
}