Bearbeiten

Freigeben über


PointerOption Constructors

Definition

Overloads

PointerOption(SupportedControllerType, Handedness, GameObject)

Constructor.

PointerOption(SupportedControllerType, Handedness, GameObject, LayerMask[])

Constructor.

PointerOption(SupportedControllerType, Handedness, GameObject)

Constructor.

public:
 PointerOption(Microsoft::MixedReality::Toolkit::Input::SupportedControllerType controllerType, Microsoft::MixedReality::Toolkit::Utilities::Handedness handedness, UnityEngine::GameObject ^ pointerPrefab);
public PointerOption (Microsoft.MixedReality.Toolkit.Input.SupportedControllerType controllerType, Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness, UnityEngine.GameObject pointerPrefab);
new Microsoft.MixedReality.Toolkit.Input.PointerOption : Microsoft.MixedReality.Toolkit.Input.SupportedControllerType * Microsoft.MixedReality.Toolkit.Utilities.Handedness * UnityEngine.GameObject -> Microsoft.MixedReality.Toolkit.Input.PointerOption
Public Sub New (controllerType As SupportedControllerType, handedness As Handedness, pointerPrefab As GameObject)

Parameters

controllerType
SupportedControllerType
handedness
Handedness
pointerPrefab
UnityEngine.GameObject

Applies to

PointerOption(SupportedControllerType, Handedness, GameObject, LayerMask[])

Constructor.

public PointerOption (Microsoft.MixedReality.Toolkit.Input.SupportedControllerType controllerType, Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness, UnityEngine.GameObject pointerPrefab, UnityEngine.LayerMask[] prioritizedLayerMasks = default);
new Microsoft.MixedReality.Toolkit.Input.PointerOption : Microsoft.MixedReality.Toolkit.Input.SupportedControllerType * Microsoft.MixedReality.Toolkit.Utilities.Handedness * UnityEngine.GameObject * UnityEngine.LayerMask[] -> Microsoft.MixedReality.Toolkit.Input.PointerOption
Public Sub New (controllerType As SupportedControllerType, handedness As Handedness, pointerPrefab As GameObject, Optional prioritizedLayerMasks As LayerMask() = Nothing)

Parameters

controllerType
SupportedControllerType
handedness
Handedness
pointerPrefab
UnityEngine.GameObject
prioritizedLayerMasks
UnityEngine.LayerMask[]

Applies to