* Returns a vector representing the position of the 3D object in world space. * * @param {Vector3} target - The target vector the result is stored to. * @return {Vector3} The 3D object's position in world space.
( target )
| 994 | * @return {Vector3} The 3D object's position in world space. |
| 995 | */ |
| 996 | getWorldPosition( target ) { |
| 997 | |
| 998 | this.updateWorldMatrix( true, false ); |
| 999 | |
| 1000 | return target.setFromMatrixPosition( this.matrixWorld ); |
| 1001 | |
| 1002 | } |
| 1003 | |
| 1004 | /** |
| 1005 | * Returns a Quaternion representing the position of the 3D object in world space. |
no test coverage detected