編輯

共用方式為


GenericOpenVRController Constructors

Definition

Overloads

GenericOpenVRController(TrackingState, Handedness, IMixedRealityInputSource, MixedRealityInteractionMapping[])
GenericOpenVRController(TrackingState, Handedness, IMixedRealityInputSourceDefinition, IMixedRealityInputSource, MixedRealityInteractionMapping[])

GenericOpenVRController(TrackingState, Handedness, IMixedRealityInputSource, MixedRealityInteractionMapping[])

public GenericOpenVRController (Microsoft.MixedReality.Toolkit.TrackingState trackingState, Microsoft.MixedReality.Toolkit.Utilities.Handedness controllerHandedness, Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource inputSource = default, Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping[] interactions = default);
new Microsoft.MixedReality.Toolkit.OpenVR.Input.GenericOpenVRController : Microsoft.MixedReality.Toolkit.TrackingState * Microsoft.MixedReality.Toolkit.Utilities.Handedness * Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource * Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping[] -> Microsoft.MixedReality.Toolkit.OpenVR.Input.GenericOpenVRController
Public Sub New (trackingState As TrackingState, controllerHandedness As Handedness, Optional inputSource As IMixedRealityInputSource = Nothing, Optional interactions As MixedRealityInteractionMapping() = Nothing)

Parameters

trackingState
TrackingState
controllerHandedness
Handedness

Applies to

GenericOpenVRController(TrackingState, Handedness, IMixedRealityInputSourceDefinition, IMixedRealityInputSource, MixedRealityInteractionMapping[])

public GenericOpenVRController (Microsoft.MixedReality.Toolkit.TrackingState trackingState, Microsoft.MixedReality.Toolkit.Utilities.Handedness controllerHandedness, Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSourceDefinition definition, Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource inputSource = default, Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping[] interactions = default);
new Microsoft.MixedReality.Toolkit.OpenVR.Input.GenericOpenVRController : Microsoft.MixedReality.Toolkit.TrackingState * Microsoft.MixedReality.Toolkit.Utilities.Handedness * Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSourceDefinition * Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource * Microsoft.MixedReality.Toolkit.Input.MixedRealityInteractionMapping[] -> Microsoft.MixedReality.Toolkit.OpenVR.Input.GenericOpenVRController
Public Sub New (trackingState As TrackingState, controllerHandedness As Handedness, definition As IMixedRealityInputSourceDefinition, Optional inputSource As IMixedRealityInputSource = Nothing, Optional interactions As MixedRealityInteractionMapping() = Nothing)

Parameters

trackingState
TrackingState
controllerHandedness
Handedness

Applies to