API reference

JointDeltaProvider Class

Extends MonoBehaviour, IJointDeltaProvider

Properties

int PrevDataIndex[Get]

Protected Fields

bool _started[Get]

Member Functions

bool GetPositionDelta
( HandJointId joint,
out Vector3 delta )
Get the delta position between the previous pose and current pose.
Parameters
joint
The joint for which to retrieve data
delta
The position delta between poses in world space
Returns
True if data available
bool GetRotationDelta
( HandJointId joint,
out Quaternion delta )
Get the delta rotation between the previous pose and current pose.
Parameters
joint
The joint for which to retrieve data
delta
The rotation delta between poses in world space
Returns
True if data available
bool GetPrevJointPose
( HandJointId joint,
out Pose pose )
Get the previous frame's pose.
Parameters
joint
The joint for which to retrieve data
pose
The previous pose
Returns
True if data available
void RegisterConfig
( JointDeltaConfig config )
void UnRegisterConfig
( JointDeltaConfig config )

Protected Functions

virtual void Awake ( )
virtual void Start ( )
virtual void OnEnable ( )
virtual void OnDisable ( )