SimulatedHandDataProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Produces simulated data every frame that defines joint positions.
public ref class SimulatedHandDataProvider : Microsoft::MixedReality::Toolkit::Input::SimulatedControllerDataProvider
public class SimulatedHandDataProvider : Microsoft.MixedReality.Toolkit.Input.SimulatedControllerDataProvider
type SimulatedHandDataProvider = class
inherit SimulatedControllerDataProvider
Public Class SimulatedHandDataProvider
Inherits SimulatedControllerDataProvider
- Inheritance
Constructors
SimulatedHandDataProvider(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 hand state based on keyboard and mouse input |
UpdateHandData(SimulatedHandData, SimulatedHandData, SimulatedHandData, MouseDelta) |
Capture a snapshot of simulated hand data based on current state. |