Click or drag to resize

PosAndRotExtensions Methods

The PosAndRotExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleInverseTransformPosAndRot
Transforms a pos&rot object from the world space to the local space. The opposite to TransformPosAndRot(Transform, PosAndRot).
Public methodStatic memberSetPosAndRot
Sets position and rotation in one call.///
Public methodStatic memberCode exampleTransformPosAndRot
Transforms a pos&rot object from the local space to the world space. The opposite to InverseTransformPosAndRot(Transform, PosAndRot).
Top
See Also