Bewerken

Delen via


SimulatedControllerDataProvider Class

Definition

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

public ref class SimulatedControllerDataProvider abstract
public abstract class SimulatedControllerDataProvider
type SimulatedControllerDataProvider = class
Public MustInherit Class SimulatedControllerDataProvider
Inheritance
SimulatedControllerDataProvider
Derived

Constructors

SimulatedControllerDataProvider(MixedRealityInputSimulationProfile)

Fields

cancelRotationKey
IsAlwaysVisibleLeft

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

IsAlwaysVisibleRight

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

lastInputTrackedTimestampGaze
lastInputTrackedTimestampLeft
lastInputTrackedTimestampRight
lastSimulationGaze
lastSimulationLeft
lastSimulationRight
mouseRotation
profile

Properties

IsSimulatingLeft

Left controller is controlled by user input.

IsSimulatingRight

Right controller is controlled by user input.

Methods

ResetInput(Handedness)

Reset the controller to its default state.

SimulateUserInput(MouseDelta)

Update controller state based on keyboard and mouse input

Applies to