Editar

Compartir a través de


InputAnimation.AddHandStateKey(Single, Handedness, Boolean, Boolean) Method

Definition

Caution

Use FromRecordingBuffer to construct new InputAnimations

Add a keyframe for the tracking state of a hand.

public:
 void AddHandStateKey(float time, Microsoft::MixedReality::Toolkit::Utilities::Handedness handedness, bool isTracked, bool isPinching);
public void AddHandStateKey (float time, Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness, bool isTracked, bool isPinching);
[System.Obsolete("Use FromRecordingBuffer to construct new InputAnimations")]
public void AddHandStateKey (float time, Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness, bool isTracked, bool isPinching);
member this.AddHandStateKey : single * Microsoft.MixedReality.Toolkit.Utilities.Handedness * bool * bool -> unit
[<System.Obsolete("Use FromRecordingBuffer to construct new InputAnimations")>]
member this.AddHandStateKey : single * Microsoft.MixedReality.Toolkit.Utilities.Handedness * bool * bool -> unit
Public Sub AddHandStateKey (time As Single, handedness As Handedness, isTracked As Boolean, isPinching As Boolean)

Parameters

time
Single
handedness
Handedness
isTracked
Boolean
isPinching
Boolean
Attributes

Applies to