WorldScale updates the world matrix and sets the specified vector to the current world scale of this node.
(result *math32.Vector3)
| 791 | // WorldScale updates the world matrix and sets |
| 792 | // the specified vector to the current world scale of this node. |
| 793 | func (n *Node) WorldScale(result *math32.Vector3) { |
| 794 | |
| 795 | var position math32.Vector3 |
| 796 | var quaternion math32.Quaternion |
| 797 | n.UpdateMatrixWorld() |
| 798 | n.matrixWorld.Decompose(&position, &quaternion, result) |
| 799 | } |
| 800 | |
| 801 | // WorldDirection updates the world matrix and sets |
| 802 | // the specified vector to the current world direction of this node. |
nothing calls this directly
no test coverage detected