SimulatedHandDataProvider Class

Definition

Produces simulated data every frame that defines joint positions.

C++
public ref class SimulatedHandDataProvider : Microsoft::MixedReality::Toolkit::Input::SimulatedControllerDataProvider
Inheritance
SimulatedHandDataProvider

Constructors

Fields

IsAlwaysVisibleLeft

If true then the left controller is always visible, regardless of simulating.

(Inherited from SimulatedControllerDataProvider)
IsAlwaysVisibleRight

If true then the right controller is always visible, regardless of simulating.

(Inherited from SimulatedControllerDataProvider)
lastInputTrackedTimestampGaze (Inherited from SimulatedControllerDataProvider)
lastInputTrackedTimestampLeft (Inherited from SimulatedControllerDataProvider)
lastInputTrackedTimestampRight (Inherited from SimulatedControllerDataProvider)
lastSimulationGaze (Inherited from SimulatedControllerDataProvider)
lastSimulationLeft (Inherited from SimulatedControllerDataProvider)
lastSimulationRight (Inherited from SimulatedControllerDataProvider)
mouseRotation (Inherited from SimulatedControllerDataProvider)
profile (Inherited from SimulatedControllerDataProvider)

Properties

IsSimulatingLeft

Left controller is controlled by user input.

(Inherited from SimulatedControllerDataProvider)
IsSimulatingRight

Right controller is controlled by user input.

(Inherited from SimulatedControllerDataProvider)

Methods

ResetInput(Handedness)

Reset the controller to its default state.

(Inherited from SimulatedControllerDataProvider)
SimulateUserInput(MouseDelta)

Update hand state based on keyboard and mouse input

UpdateHandData(SimulatedHandData, SimulatedHandData, SimulatedHandData, MouseDelta)

Capture a snapshot of simulated hand data based on current state.

Applies to

Produkt Versioner
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0