Tanoda
Leap.Unity.Recording.VectorFrameCurves Struct Reference

VectorHand Animation Curve data struct for a Leap frame. More...

Public Member Functions

void AddKeyframes (float keyframeTime, Frame frame)
 Adds keyframe data from the provided frame to this animation data at the time specified in seconds. More...
 
void Sample (float time, Frame intoFrame, Hand intoLeftHand, Hand intoRightHand)
 Samples the data in these VectorFrameCurves at the specified time into the provided frame. More...
 

Public Attributes

VectorHandCurves leftHandCurves
 Hand curve data for the left hand. More...
 
VectorHandCurves rightHandCurves
 Hand curve data for the right hand. More...
 

Detailed Description

VectorHand Animation Curve data struct for a Leap frame.

Definition at line 18 of file VectorFrameCurves.cs.

Member Function Documentation

◆ AddKeyframes()

void Leap.Unity.Recording.VectorFrameCurves.AddKeyframes ( float  keyframeTime,
Frame  frame 
)

Adds keyframe data from the provided frame to this animation data at the time specified in seconds.

Data is only input from the first left and first right hands. If the frame lacks a left or a right hand, that hand is considered untracked.

Definition at line 33 of file VectorFrameCurves.cs.

◆ Sample()

void Leap.Unity.Recording.VectorFrameCurves.Sample ( float  time,
Frame  intoFrame,
Hand  intoLeftHand,
Hand  intoRightHand 
)

Samples the data in these VectorFrameCurves at the specified time into the provided frame.

Definition at line 56 of file VectorFrameCurves.cs.

Member Data Documentation

◆ leftHandCurves

VectorHandCurves Leap.Unity.Recording.VectorFrameCurves.leftHandCurves

Hand curve data for the left hand.

Definition at line 21 of file VectorFrameCurves.cs.

◆ rightHandCurves

VectorHandCurves Leap.Unity.Recording.VectorFrameCurves.rightHandCurves

Hand curve data for the right hand.

Definition at line 24 of file VectorFrameCurves.cs.


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