Tanoda
Leap.Unity.Space.LeapSphericalSpace.Transformer Class Reference
Inheritance diagram for Leap.Unity.Space.LeapSphericalSpace.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 angleXOffset
 
float angleYOffset
 
float radiusOffset
 
float radiansPerMeter
 

Properties

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

Detailed Description

Definition at line 44 of file LeapSphericalSpace.cs.

Member Function Documentation

◆ GetTransformationMatrix()

Matrix4x4 Leap.Unity.Space.LeapSphericalSpace.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 168 of file LeapSphericalSpace.cs.

◆ GetVectorRepresentation()

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

Implements Leap.Unity.Space.IRadialTransformer.

Definition at line 195 of file LeapSphericalSpace.cs.

◆ InverseTransformDirection()

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

Transform a direction from warped space to rect space.

Implements Leap.Unity.Space.ITransformer.

Definition at line 150 of file LeapSphericalSpace.cs.

◆ InverseTransformPoint()

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

Transform a point from warped space to rect space.

Implements Leap.Unity.Space.ITransformer.

Definition at line 76 of file LeapSphericalSpace.cs.

◆ InverseTransformRotation()

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

Transform a rotation from warped space to rect space.

Implements Leap.Unity.Space.ITransformer.

Definition at line 115 of file LeapSphericalSpace.cs.

◆ TransformDirection()

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

Transform a direction from rect space to warped space.

Implements Leap.Unity.Space.ITransformer.

Definition at line 134 of file LeapSphericalSpace.cs.

◆ TransformPoint()

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

Transform a point from rect space to warped space.

Implements Leap.Unity.Space.ITransformer.

Definition at line 53 of file LeapSphericalSpace.cs.

◆ TransformRotation()

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

Transform a rotation from rect space to warped space.

Implements Leap.Unity.Space.ITransformer.

Definition at line 99 of file LeapSphericalSpace.cs.

Member Data Documentation

◆ angleXOffset

float Leap.Unity.Space.LeapSphericalSpace.Transformer.angleXOffset

Definition at line 48 of file LeapSphericalSpace.cs.

◆ angleYOffset

float Leap.Unity.Space.LeapSphericalSpace.Transformer.angleYOffset

Definition at line 49 of file LeapSphericalSpace.cs.

◆ radiansPerMeter

float Leap.Unity.Space.LeapSphericalSpace.Transformer.radiansPerMeter

Definition at line 51 of file LeapSphericalSpace.cs.

◆ radiusOffset

float Leap.Unity.Space.LeapSphericalSpace.Transformer.radiusOffset

Definition at line 50 of file LeapSphericalSpace.cs.

Property Documentation

◆ anchor

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

Implements Leap.Unity.Space.ITransformer.

Definition at line 46 of file LeapSphericalSpace.cs.

◆ space

LeapSphericalSpace Leap.Unity.Space.LeapSphericalSpace.Transformer.space
getset

Definition at line 45 of file LeapSphericalSpace.cs.


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