Class Leap::Unity::Space::IdentityTransformer

class Leap.Unity.Space.IdentityTransformer : public Leap.Unity.Space.ITransformer

Public Functions

Vector3 TransformPoint (Vector3 localRectPos)

Transform a point from rect space to warped space.

Vector3 InverseTransformPoint (Vector3 localWarpedSpace)

Transform a point from warped space to rect space.

Quaternion TransformRotation (Vector3 localRectPos, Quaternion localRectRot)

Transform a rotation from rect space to warped space.

Quaternion InverseTransformRotation (Vector3 localWarpedPos, Quaternion localWarpedRot)

Transform a rotation from warped space to rect space.

Vector3 TransformDirection (Vector3 localRectPos, Vector3 localRectDirection)

Transform a direction from rect space to warped space.

Vector3 InverseTransformDirection (Vector3 localWarpedSpace, Vector3 localWarpedDirection)

Transform a direction from warped space to rect space.

Matrix4x4 GetTransformationMatrix (Vector3 localRectPos)

Get a transformation matrix that maps a position in rect space to a position in warped space.