SpriteFactory.Sprite.Locator.TransformDirection
C#: Vector3 TransformDirection (Vector3 direction)
JS: function TransformDirection (direction : Vector3) :Vector3
Description
Transforms direction from local space to world space.
This operation is not affected by scale or position of the transform. The returned vector has the same length as direction.
C#: Vector3 TransformDirection (float x, float y, float z)
JS: function TransformDirection (x : float, y : float, z : float) : Vector3
Description
Transforms direction x, y, z from local space to world space.
This operation is not affected by scale or position of the transform. The returned vector has the same length as direction.
See Also
InverseTransformDirection
TransformPoint
InverseTransformPoint