SpriteFactory.Sprite.Locator.InverseTransformPoint
C#: Vector3 InverseTransformPoint (Vector3 position)
JS: function InverseTransformPoint (position : Vector3) : Vector3
Description
Transforms position from world space to local space. The opposite of TransformPoint.
Note that the returned position is affected by scale. Use InverseTransformDirection if you are dealing with directions.
C#: Vector3 InverseTransformPoint (float x, float y, float z)
JS: function InverseTransformPoint (x : float, y : float, z : float) : Vector3
Description
Transforms the position x, y, z from world space to local space. The opposite of TransformPoint.
Note that the returned position is affected by scale. Use InverseTransformDirection if you are dealing with directions.
See Also
TransformPoint
TransformDirection
InverseTransformDirection