Class MicrosoftMotionController
Open XR + XR SDK implementation of interaction_profiles/microsoft/motion_controller.
Namespace: Microsoft.MixedReality.Toolkit.XRSDK.OpenXR
Assembly: cs.temp.dll.dll
Syntax
public class MicrosoftMotionController : GenericXRSDKController
Constructors
MicrosoftMotionController(TrackingState, Handedness, IMixedRealityInputSource, MixedRealityInteractionMapping[])
Constructor.
Declaration
public MicrosoftMotionController(TrackingState trackingState, Handedness controllerHandedness, IMixedRealityInputSource inputSource = null, MixedRealityInteractionMapping[] interactions = null)
Parameters
Type | Name | Description |
---|---|---|
TrackingState | trackingState | |
Handedness | controllerHandedness | |
IMixedRealityInputSource | inputSource | |
MixedRealityInteractionMapping[] | interactions |
Properties
DefaultInteractions
Declaration
public override MixedRealityInteractionMapping[] DefaultInteractions { get; }
Property Value
Type | Description |
---|---|
MixedRealityInteractionMapping[] |
Methods
UpdatePoseData(MixedRealityInteractionMapping, InputDevice)
Update spatial pointer and spatial grip data.
Declaration
protected override void UpdatePoseData(MixedRealityInteractionMapping interactionMapping, InputDevice inputDevice)
Parameters
Type | Name | Description |
---|---|---|
MixedRealityInteractionMapping | interactionMapping | |
InputDevice | inputDevice |