Click or drag to resize

TransformUtils Methods

The TransformUtils type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetHeirarchyPath
Returns the string path of the transform in the hierarchy, i.g. "GameObject/ChildGameObject".
Public methodStatic memberGlobalToLocalDirection
Converts a global direction of a transform to local direction in its parent's coordinate system.
Public methodStatic memberGlobalToLocalPosition
Converts a global position of a transform to local position in its parent's coordinate system.
Public methodStatic memberGlobalToLocalVector
Converts a global vector of a transform to local vector in its parent's coordinate system. The difference from GlobalToLocalDirection(Transform, Vector3) is that this vector has length.
Top
See Also