Edit

Share via


SimulatedMotionControllerDataProvider Class

Definition

Produces simulated data every frame that defines the position and rotation of the simulated controller.

public ref class SimulatedMotionControllerDataProvider : Microsoft::MixedReality::Toolkit::Input::SimulatedControllerDataProvider
public class SimulatedMotionControllerDataProvider : Microsoft.MixedReality.Toolkit.Input.SimulatedControllerDataProvider
type SimulatedMotionControllerDataProvider = class
    inherit SimulatedControllerDataProvider
Public Class SimulatedMotionControllerDataProvider
Inherits SimulatedControllerDataProvider
Inheritance
SimulatedMotionControllerDataProvider

Constructors

SimulatedMotionControllerDataProvider(MixedRealityInputSimulationProfile)

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 controller state based on keyboard and mouse input

(Inherited from SimulatedControllerDataProvider)
UpdateControllerData(SimulatedMotionControllerData, SimulatedMotionControllerData, MouseDelta)

Capture a snapshot of simulated motion controller data based on current state.

Applies to