Class SimulatedMotionControllerDataProvider
Produces simulated data every frame that defines the position and rotation of the simulated controller.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class SimulatedMotionControllerDataProvider : SimulatedControllerDataProvider
Constructors
SimulatedMotionControllerDataProvider(MixedRealityInputSimulationProfile)
Declaration
public SimulatedMotionControllerDataProvider(MixedRealityInputSimulationProfile _profile)
Parameters
Type | Name | Description |
---|---|---|
MixedRealityInputSimulationProfile | _profile |
Methods
UpdateControllerData(SimulatedMotionControllerData, SimulatedMotionControllerData, MouseDelta)
Capture a snapshot of simulated motion controller data based on current state.
Declaration
public void UpdateControllerData(SimulatedMotionControllerData motionControllerDataLeft, SimulatedMotionControllerData motionControllerDataRight, MouseDelta mouseDelta)
Parameters
Type | Name | Description |
---|---|---|
SimulatedMotionControllerData | motionControllerDataLeft | |
SimulatedMotionControllerData | motionControllerDataRight | |
MouseDelta | mouseDelta |