PointerOption Struct

Definition

Defines a pointer option to assign to a controller.

C++
public value class PointerOption
C++
public value class PointerOption : UnityEngine::ISerializationCallbackReceiver
Inheritance
PointerOption
Attributes
Implements
UnityEngine.ISerializationCallbackReceiver

Constructors

Properties

ControllerType

The type of Controller this pointer can be attached to at runtime.

Handedness

Defines valid hand(s) to create the pointer prefab on.

PointerPrefab

The prefab with an IMixedRealityPointer component to create when a valid controller becomes available.

PrioritizedLayerMasks

The LayerMasks, in prioritized order, which are used to determine the target

Explicit Interface Implementations

Applies to

Produkt Verzie
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0