Tanoda
Leap.Unity.Space.IdentityTransformer Class Reference
Inheritance diagram for Leap.Unity.Space.IdentityTransformer:
Leap.Unity.Space.ITransformer

Public Member Functions

Vector3 TransformPoint (Vector3 localRectPos)
 Transform a point from rect space to warped space. More...
 
Vector3 InverseTransformPoint (Vector3 localWarpedSpace)
 Transform a point from warped space to rect space. More...
 
Quaternion TransformRotation (Vector3 localRectPos, Quaternion localRectRot)
 Transform a rotation from rect space to warped space. More...
 
Quaternion InverseTransformRotation (Vector3 localWarpedPos, Quaternion localWarpedRot)
 Transform a rotation from warped space to rect space. More...
 
Vector3 TransformDirection (Vector3 localRectPos, Vector3 localRectDirection)
 Transform a direction from rect space to warped space. More...
 
Vector3 InverseTransformDirection (Vector3 localWarpedSpace, Vector3 localWarpedDirection)
 Transform a direction from warped space to rect space. More...
 
Matrix4x4 GetTransformationMatrix (Vector3 localRectPos)
 Get a transformation matrix that maps a position in rect space to a position in warped space. More...
 
Vector3 TransformPoint (Vector3 localRectPos)
 Transform a point from rect space to warped space. More...
 
Vector3 InverseTransformPoint (Vector3 localWarpedSpace)
 Transform a point from warped space to rect space. More...
 
Quaternion TransformRotation (Vector3 localRectPos, Quaternion localRectRot)
 Transform a rotation from rect space to warped space. More...
 
Quaternion InverseTransformRotation (Vector3 localWarpedPos, Quaternion localWarpedRot)
 Transform a rotation from warped space to rect space. More...
 
Vector3 TransformDirection (Vector3 localRectPos, Vector3 localRectDirection)
 Transform a direction from rect space to warped space. More...
 
Vector3 InverseTransformDirection (Vector3 localWarpedSpace, Vector3 localWarpedDirection)
 Transform a direction from warped space to rect space. More...
 
Matrix4x4 GetTransformationMatrix (Vector3 localRectPos)
 Get a transformation matrix that maps a position in rect space to a position in warped space. More...
 

Static Public Attributes

static readonly IdentityTransformer single = new IdentityTransformer()
 

Properties

LeapSpaceAnchor anchor [get]
 
- Properties inherited from Leap.Unity.Space.ITransformer
LeapSpaceAnchor anchor [get]
 

Detailed Description

Definition at line 54 of file ITransformer.cs.

Member Function Documentation

◆ GetTransformationMatrix()

Matrix4x4 Leap.Unity.Space.IdentityTransformer.GetTransformationMatrix ( Vector3  localRectPos)

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

Implements Leap.Unity.Space.ITransformer.

Definition at line 87 of file ITransformer.cs.

◆ InverseTransformDirection()

Vector3 Leap.Unity.Space.IdentityTransformer.InverseTransformDirection ( Vector3  localWarpedSpace,
Vector3  localWarpedDirection 
)

Transform a direction from warped space to rect space.

Implements Leap.Unity.Space.ITransformer.

Definition at line 83 of file ITransformer.cs.

◆ InverseTransformPoint()

Vector3 Leap.Unity.Space.IdentityTransformer.InverseTransformPoint ( Vector3  localWarpedSpace)

Transform a point from warped space to rect space.

Implements Leap.Unity.Space.ITransformer.

Definition at line 67 of file ITransformer.cs.

◆ InverseTransformRotation()

Quaternion Leap.Unity.Space.IdentityTransformer.InverseTransformRotation ( Vector3  localWarpedPos,
Quaternion  localWarpedRot 
)

Transform a rotation from warped space to rect space.

Implements Leap.Unity.Space.ITransformer.

Definition at line 75 of file ITransformer.cs.

◆ TransformDirection()

Vector3 Leap.Unity.Space.IdentityTransformer.TransformDirection ( Vector3  localRectPos,
Vector3  localRectDirection 
)

Transform a direction from rect space to warped space.

Implements Leap.Unity.Space.ITransformer.

Definition at line 79 of file ITransformer.cs.

◆ TransformPoint()

Vector3 Leap.Unity.Space.IdentityTransformer.TransformPoint ( Vector3  localRectPos)

Transform a point from rect space to warped space.

Implements Leap.Unity.Space.ITransformer.

Definition at line 63 of file ITransformer.cs.

◆ TransformRotation()

Quaternion Leap.Unity.Space.IdentityTransformer.TransformRotation ( Vector3  localRectPos,
Quaternion  localRectRot 
)

Transform a rotation from rect space to warped space.

Implements Leap.Unity.Space.ITransformer.

Definition at line 71 of file ITransformer.cs.

Member Data Documentation

◆ single

readonly IdentityTransformer Leap.Unity.Space.IdentityTransformer.single = new IdentityTransformer()
static

Definition at line 55 of file ITransformer.cs.

Property Documentation

◆ anchor

LeapSpaceAnchor Leap.Unity.Space.IdentityTransformer.anchor
get

Implements Leap.Unity.Space.ITransformer.

Definition at line 57 of file ITransformer.cs.


The documentation for this class was generated from the following file: