Class SimulatedControllerDataProvider
Produces simulated data every frame that defines the position and rotation of the simulated controller.
Inheritance
SimulatedControllerDataProvider
Assembly: cs.temp.dll.dll
public abstract class SimulatedControllerDataProvider
Constructors
Declaration
public SimulatedControllerDataProvider(MixedRealityInputSimulationProfile _profile)
Parameters
Fields
Declaration
protected static readonly KeyBinding cancelRotationKey
Field Value
If true then the left controller is always visible, regardless of simulating.
Declaration
public bool IsAlwaysVisibleLeft
Field Value
If true then the right controller is always visible, regardless of simulating.
Declaration
public bool IsAlwaysVisibleRight
Field Value
Declaration
protected long lastInputTrackedTimestampGaze
Field Value
Declaration
protected long lastInputTrackedTimestampLeft
Field Value
Declaration
protected long lastInputTrackedTimestampRight
Field Value
Declaration
protected float lastSimulationGaze
Field Value
Declaration
protected float lastSimulationLeft
Field Value
Declaration
protected float lastSimulationRight
Field Value
Declaration
protected readonly MouseRotationProvider mouseRotation
Field Value
Declaration
protected MixedRealityInputSimulationProfile profile
Field Value
Properties
Left controller is controlled by user input.
Declaration
public bool IsSimulatingLeft { get; }
Property Value
Right controller is controlled by user input.
Declaration
public bool IsSimulatingRight { get; }
Property Value
Methods
Reset the controller to its default state.
Declaration
public void ResetInput(Handedness handedness)
Parameters
Type |
Name |
Description |
Handedness |
handedness |
|
Update controller state based on keyboard and mouse input
Declaration
protected virtual void SimulateUserInput(MouseDelta mouseDelta)
Parameters