Editar

Partilhar via


MixedRealityControllerVisualizationSetting Constructor

Definition

Caution

This constructor doesn't need to be called directly.

Constructor.

public MixedRealityControllerVisualizationSetting (string description, Type controllerType, Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness = Microsoft.MixedReality.Toolkit.Utilities.Handedness.None, UnityEngine.GameObject overrideModel = default);
[System.Obsolete("This constructor doesn't need to be called directly.")]
public MixedRealityControllerVisualizationSetting (string description, Type controllerType, Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness = Microsoft.MixedReality.Toolkit.Utilities.Handedness.None, UnityEngine.GameObject overrideModel = default);
new Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerVisualizationSetting : string * Type * Microsoft.MixedReality.Toolkit.Utilities.Handedness * UnityEngine.GameObject -> Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerVisualizationSetting
[<System.Obsolete("This constructor doesn't need to be called directly.")>]
new Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerVisualizationSetting : string * Type * Microsoft.MixedReality.Toolkit.Utilities.Handedness * UnityEngine.GameObject -> Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerVisualizationSetting
Public Sub New (description As String, controllerType As Type, Optional handedness As Handedness = Microsoft.MixedReality.Toolkit.Utilities.Handedness.None, Optional overrideModel As GameObject = Nothing)

Parameters

description
String

Description of the Device.

controllerType
Type

Controller Type to instantiate at runtime.

handedness
Handedness

The designated hand that the device is managing.

overrideModel
UnityEngine.GameObject

The controller model prefab to be rendered.

Attributes

Applies to