편집

다음을 통해 공유


SimulatedHandDataProvider Class

Definition

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
SimulatedHandDataProvider

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.

Applies to