|
override void | LoadFrames (List< Frame > frames) |
| Loads the provided sequential frame data into this recording representation. More...
|
|
override bool | Sample (float time, Frame toFill, bool clampTimeToValid=true) |
| Samples the recording at the given time. Caller must provide a frame object that will be filled with the sampled frame data. Returns true if the frame was filled with recording data, and false if it was not. More...
|
|
abstract void | LoadFrames (List< Frame > frames) |
| Loads this recording with data from the provided TEMPORARY list of frames. These frames reflect raw recorded Leap data. The actual frame storage scheme utilized is up to the implementation, but if the implementation wishes to store data from these frames, that data must be copied! More...
|
|
abstract bool | Sample (float time, Frame toFill, bool clampTimeToValid=true) |
| Samples the recording at the given time. Caller must provide a frame object that will be filled with the sampled frame data. Returns true if the frame was filled with recording data, and false if it was not. More...
|
|
|
const double | NS_TO_S = 1e-6 |
| Converts nanoseconds to seconds. Leap frames store timestamps in nanoseconds. More...
|
|
const double | S_TO_NS = 1e6 |
| Converts seconds to nanoseconds. Leap frames store timestamps in nanoseconds. More...
|
|
Definition at line 17 of file VectorHandRecording.cs.
◆ LoadFrames()
override void Leap.Unity.Recording.VectorHandRecording.LoadFrames |
( |
List< Frame > |
frames | ) |
|
|
virtual |
◆ Sample()
override bool Leap.Unity.Recording.VectorHandRecording.Sample |
( |
float |
time, |
|
|
Frame |
toFill, |
|
|
bool |
clampTimeToValid = true |
|
) |
| |
|
virtual |
Samples the recording at the given time. Caller must provide a frame object that will be filled with the sampled frame data. Returns true if the frame was filled with recording data, and false if it was not.
The user can also optionally configure if the input time is allowed to be clamped to a valid timestamp. When true, even if the requested time does not exist, the recording will still fill the frame with data taken from the closest valid timestamp.
Implements Leap.Unity.Recording.LeapRecording.
Definition at line 73 of file VectorHandRecording.cs.
◆ length
override float Leap.Unity.Recording.VectorHandRecording.length |
|
get |
◆ maxKeyframeTime
float Leap.Unity.Recording.VectorHandRecording.maxKeyframeTime |
|
get |
◆ minKeyframeTime
float Leap.Unity.Recording.VectorHandRecording.minKeyframeTime |
|
get |
The documentation for this class was generated from the following file: