Modifier

Partager via


InputAnimation.AddHandJointKey Method

Definition

Caution

Use FromRecordingBuffer to construct new InputAnimations

Add a keyframe for one hand joint.

public:
 void AddHandJointKey(float time, Microsoft::MixedReality::Toolkit::Utilities::Handedness handedness, Microsoft::MixedReality::Toolkit::Utilities::TrackedHandJoint joint, Microsoft::MixedReality::Toolkit::Utilities::MixedRealityPose jointPose, float positionThreshold, float rotationThreshold);
public void AddHandJointKey (float time, Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness, Microsoft.MixedReality.Toolkit.Utilities.TrackedHandJoint joint, Microsoft.MixedReality.Toolkit.Utilities.MixedRealityPose jointPose, float positionThreshold, float rotationThreshold);
[System.Obsolete("Use FromRecordingBuffer to construct new InputAnimations")]
public void AddHandJointKey (float time, Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness, Microsoft.MixedReality.Toolkit.Utilities.TrackedHandJoint joint, Microsoft.MixedReality.Toolkit.Utilities.MixedRealityPose jointPose, float positionThreshold, float rotationThreshold);
member this.AddHandJointKey : single * Microsoft.MixedReality.Toolkit.Utilities.Handedness * Microsoft.MixedReality.Toolkit.Utilities.TrackedHandJoint * Microsoft.MixedReality.Toolkit.Utilities.MixedRealityPose * single * single -> unit
[<System.Obsolete("Use FromRecordingBuffer to construct new InputAnimations")>]
member this.AddHandJointKey : single * Microsoft.MixedReality.Toolkit.Utilities.Handedness * Microsoft.MixedReality.Toolkit.Utilities.TrackedHandJoint * Microsoft.MixedReality.Toolkit.Utilities.MixedRealityPose * single * single -> unit
Public Sub AddHandJointKey (time As Single, handedness As Handedness, joint As TrackedHandJoint, jointPose As MixedRealityPose, positionThreshold As Single, rotationThreshold As Single)

Parameters

time
Single
handedness
Handedness
jointPose
MixedRealityPose
positionThreshold
Single
rotationThreshold
Single
Attributes

Applies to