InputAnimation.AddCameraPoseKey Method

Definition

Caution

Use FromRecordingBuffer to construct new InputAnimations

Add a keyframe for the camera transform.

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

Parameters

time
Single
cameraPose
MixedRealityPose
positionThreshold
Single
rotationThreshold
Single
Attributes

Applies to