Editar

Partilhar via


MixedRealityControllerAttribute Constructors

Definition

Overloads

MixedRealityControllerAttribute(SupportedControllerType, Handedness[], String, MixedRealityControllerConfigurationFlags)
MixedRealityControllerAttribute(SupportedControllerType, Handedness[], String, MixedRealityControllerConfigurationFlags, SupportedUnityXRPipelines)

Constructor.

MixedRealityControllerAttribute(SupportedControllerType, Handedness[], String, MixedRealityControllerConfigurationFlags)

public MixedRealityControllerAttribute (Microsoft.MixedReality.Toolkit.Input.SupportedControllerType supportedControllerType, Microsoft.MixedReality.Toolkit.Utilities.Handedness[] supportedHandedness, string texturePath = "", Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerConfigurationFlags flags = (Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerConfigurationFlags) 0);
new Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerAttribute : Microsoft.MixedReality.Toolkit.Input.SupportedControllerType * Microsoft.MixedReality.Toolkit.Utilities.Handedness[] * string * Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerConfigurationFlags -> Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerAttribute
Public Sub New (supportedControllerType As SupportedControllerType, supportedHandedness As Handedness(), Optional texturePath As String = "", Optional flags As MixedRealityControllerConfigurationFlags = (Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerConfigurationFlags) 0)

Parameters

supportedControllerType
SupportedControllerType
supportedHandedness
Handedness[]
texturePath
String

Applies to

MixedRealityControllerAttribute(SupportedControllerType, Handedness[], String, MixedRealityControllerConfigurationFlags, SupportedUnityXRPipelines)

Constructor.

public MixedRealityControllerAttribute (Microsoft.MixedReality.Toolkit.Input.SupportedControllerType supportedControllerType, Microsoft.MixedReality.Toolkit.Utilities.Handedness[] supportedHandedness, string texturePath = "", Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerConfigurationFlags flags = (Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerConfigurationFlags) 0, Microsoft.MixedReality.Toolkit.Utilities.SupportedUnityXRPipelines supportedUnityXRPipelines = Microsoft.MixedReality.Toolkit.Utilities.SupportedUnityXRPipelines.LegacyXR | Microsoft.MixedReality.Toolkit.Utilities.SupportedUnityXRPipelines.XRSDK);
new Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerAttribute : Microsoft.MixedReality.Toolkit.Input.SupportedControllerType * Microsoft.MixedReality.Toolkit.Utilities.Handedness[] * string * Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerConfigurationFlags * Microsoft.MixedReality.Toolkit.Utilities.SupportedUnityXRPipelines -> Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerAttribute
Public Sub New (supportedControllerType As SupportedControllerType, supportedHandedness As Handedness(), Optional texturePath As String = "", Optional flags As MixedRealityControllerConfigurationFlags = (Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerConfigurationFlags) 0, Optional supportedUnityXRPipelines As SupportedUnityXRPipelines = Microsoft.MixedReality.Toolkit.Utilities.SupportedUnityXRPipelines.LegacyXR | Microsoft.MixedReality.Toolkit.Utilities.SupportedUnityXRPipelines.XRSDK)

Parameters

supportedControllerType
SupportedControllerType
supportedHandedness
Handedness[]
texturePath
String
supportedUnityXRPipelines
SupportedUnityXRPipelines

Applies to