Tanoda
Leap.Unity.Recording.VectorHandCurves Struct Reference

AnimationCurve data for an animated VectorHand representation. More...

Public Member Functions

void AddKeyframes (float time, Hand hand)
 Adds keyframe data into these VectorHandCurves at the specified time using the provided hand data. More...
 
bool Sample (float time, Hand intoHand, bool isLeft)
 Samples hand curve data into the provided hand object at the specified time. More...
 

Public Attributes

Vector3Curves palmPosCurves
 AnimationCurve data for palm position. More...
 
QuaternionCurves palmRotCurves
 AnimationCurve data for palm rotation. More...
 

Properties

AnimationCurve isTrackedCurve [get, set]
 AnimationCurve for whether the hand is tracked. More...
 
Vector3Curves[] jointPositionCurves [get, set]
 AnimationCurve data for the hand's fingers. More...
 

Detailed Description

AnimationCurve data for an animated VectorHand representation.

Definition at line 16 of file VectorHandCurves.cs.

Member Function Documentation

◆ AddKeyframes()

void Leap.Unity.Recording.VectorHandCurves.AddKeyframes ( float  time,
Hand  hand 
)

Adds keyframe data into these VectorHandCurves at the specified time using the provided hand data.

Definition at line 66 of file VectorHandCurves.cs.

◆ Sample()

bool Leap.Unity.Recording.VectorHandCurves.Sample ( float  time,
Hand  intoHand,
bool  isLeft 
)

Samples hand curve data into the provided hand object at the specified time.

If the hand is not tracked at the specified time, the function returns false, although hand data is still copied (via interpolation).

Definition at line 111 of file VectorHandCurves.cs.

Member Data Documentation

◆ palmPosCurves

Vector3Curves Leap.Unity.Recording.VectorHandCurves.palmPosCurves

AnimationCurve data for palm position.

Definition at line 34 of file VectorHandCurves.cs.

◆ palmRotCurves

QuaternionCurves Leap.Unity.Recording.VectorHandCurves.palmRotCurves

AnimationCurve data for palm rotation.

Definition at line 37 of file VectorHandCurves.cs.

Property Documentation

◆ isTrackedCurve

AnimationCurve Leap.Unity.Recording.VectorHandCurves.isTrackedCurve
getset

AnimationCurve for whether the hand is tracked.

Definition at line 21 of file VectorHandCurves.cs.

◆ jointPositionCurves

Vector3Curves [] Leap.Unity.Recording.VectorHandCurves.jointPositionCurves
getset

AnimationCurve data for the hand's fingers.

Definition at line 42 of file VectorHandCurves.cs.


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