PointerOption Constructors 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.PointerOptionPublic 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.PointerOptionPublic 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[]