Sprite Factory

ReadMe
Release Notes
Overview
Using the Editor
Upgrading

Concepts
Sprites
Master Sprites
Sprite Groups
Colliders
Locators
Material Sets
SpriteUpdater
SpriteCamera

Advanced
Working in Multiple Projects

Classes
Runtime Classes

Videos
Overview
Creating Sprites
Sprite Inspector
Frame Events
Collision System
Locator System
Material Sets

Links
Sprite Factory Site
Web Documentation
Support
Contact

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