Tanoda
Leap.Unity.Space.LeapCylindricalSpace.Transformer Class Reference
Inheritance diagram for Leap.Unity.Space.LeapCylindricalSpace.Transformer:
Leap.Unity.Space.IRadialTransformer Leap.Unity.Space.ITransformer

Public Member Functions

Vector3 TransformPoint (Vector3 localRectPos)
 Transform a point from rect space to warped space. More...
 
Vector3 InverseTransformPoint (Vector3 localWarpedPos)
 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 localWarpedPos, 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...
 
Vector4 GetVectorRepresentation (Transform element)
 
Vector4 GetVectorRepresentation (Transform element)
 
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...
 

Public Attributes

float angleOffset
 
float heightOffset
 
float radiusOffset
 
float radiansPerMeter
 

Properties

LeapCylindricalSpace space [get, set]
 
LeapSpaceAnchor anchor [get, set]
 
- Properties inherited from Leap.Unity.Space.ITransformer
LeapSpaceAnchor anchor [get]
 

Detailed Description

Definition at line 43 of file LeapCylindricalSpace.cs.

Member Function Documentation

◆ GetTransformationMatrix()

Matrix4x4 Leap.Unity.Space.LeapCylindricalSpace.Transformer.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 129 of file LeapCylindricalSpace.cs.

◆ GetVectorRepresentation()

Vector4 Leap.Unity.Space.LeapCylindricalSpace.Transformer.GetVectorRepresentation ( Transform  element)

Implements Leap.Unity.Space.IRadialTransformer.

Definition at line 149 of file LeapCylindricalSpace.cs.

◆ InverseTransformDirection()

Vector3 Leap.Unity.Space.LeapCylindricalSpace.Transformer.InverseTransformDirection ( Vector3  localWarpedSpace,
Vector3  localWarpedDirection 
)

Transform a direction from warped space to rect space.

Implements Leap.Unity.Space.ITransformer.

Definition at line 121 of file LeapCylindricalSpace.cs.

◆ InverseTransformPoint()

Vector3 Leap.Unity.Space.LeapCylindricalSpace.Transformer.InverseTransformPoint ( Vector3  localWarpedSpace)

Transform a point from warped space to rect space.

Implements Leap.Unity.Space.ITransformer.

Definition at line 69 of file LeapCylindricalSpace.cs.

◆ InverseTransformRotation()

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

Transform a rotation from warped space to rect space.

Implements Leap.Unity.Space.ITransformer.

Definition at line 100 of file LeapCylindricalSpace.cs.

◆ TransformDirection()

Vector3 Leap.Unity.Space.LeapCylindricalSpace.Transformer.TransformDirection ( Vector3  localRectPos,
Vector3  localRectDirection 
)

Transform a direction from rect space to warped space.

Implements Leap.Unity.Space.ITransformer.

Definition at line 108 of file LeapCylindricalSpace.cs.

◆ TransformPoint()

Vector3 Leap.Unity.Space.LeapCylindricalSpace.Transformer.TransformPoint ( Vector3  localRectPos)

Transform a point from rect space to warped space.

Implements Leap.Unity.Space.ITransformer.

Definition at line 52 of file LeapCylindricalSpace.cs.

◆ TransformRotation()

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

Transform a rotation from rect space to warped space.

Implements Leap.Unity.Space.ITransformer.

Definition at line 87 of file LeapCylindricalSpace.cs.

Member Data Documentation

◆ angleOffset

float Leap.Unity.Space.LeapCylindricalSpace.Transformer.angleOffset

Definition at line 47 of file LeapCylindricalSpace.cs.

◆ heightOffset

float Leap.Unity.Space.LeapCylindricalSpace.Transformer.heightOffset

Definition at line 48 of file LeapCylindricalSpace.cs.

◆ radiansPerMeter

float Leap.Unity.Space.LeapCylindricalSpace.Transformer.radiansPerMeter

Definition at line 50 of file LeapCylindricalSpace.cs.

◆ radiusOffset

float Leap.Unity.Space.LeapCylindricalSpace.Transformer.radiusOffset

Definition at line 49 of file LeapCylindricalSpace.cs.

Property Documentation

◆ anchor

LeapSpaceAnchor Leap.Unity.Space.LeapCylindricalSpace.Transformer.anchor
getset

Implements Leap.Unity.Space.ITransformer.

Definition at line 45 of file LeapCylindricalSpace.cs.

◆ space

LeapCylindricalSpace Leap.Unity.Space.LeapCylindricalSpace.Transformer.space
getset

Definition at line 44 of file LeapCylindricalSpace.cs.


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