Tanoda
Leap.Unity.TransformHistory.TransformData Struct Reference

Static Public Member Functions

static TransformData Lerp (TransformData from, TransformData to, long time)
 
static TransformData GetTransformAtTime (RingBuffer< TransformData > history, long desiredTime)
 

Public Attributes

long time
 
Vector3 position
 
Quaternion rotation
 

Detailed Description

Definition at line 39 of file TransformHistory.cs.

Member Function Documentation

◆ GetTransformAtTime()

static TransformData Leap.Unity.TransformHistory.TransformData.GetTransformAtTime ( RingBuffer< TransformData history,
long  desiredTime 
)
static

Definition at line 56 of file TransformHistory.cs.

◆ Lerp()

static TransformData Leap.Unity.TransformHistory.TransformData.Lerp ( TransformData  from,
TransformData  to,
long  time 
)
static

Definition at line 44 of file TransformHistory.cs.

Member Data Documentation

◆ position

Vector3 Leap.Unity.TransformHistory.TransformData.position

Definition at line 41 of file TransformHistory.cs.

◆ rotation

Quaternion Leap.Unity.TransformHistory.TransformData.rotation

Definition at line 42 of file TransformHistory.cs.

◆ time

long Leap.Unity.TransformHistory.TransformData.time

Definition at line 40 of file TransformHistory.cs.


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