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.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