InputAnimation.AddHandJointKey Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- joint
- TrackedHandJoint
- jointPose
- MixedRealityPose
- positionThreshold
- Single
- rotationThreshold
- Single
- Attributes