PointerOption Struct
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.
Defines a pointer option to assign to a controller.
C++
public value class PointerOption
C++
public value class PointerOption : UnityEngine::ISerializationCallbackReceiver
[System.Serializable]
public struct PointerOption
[System.Serializable]
public struct PointerOption : UnityEngine.ISerializationCallbackReceiver
[<System.Serializable>]
type PointerOption = struct
[<System.Serializable>]
type PointerOption = struct
interface ISerializationCallbackReceiver
Public Structure PointerOption
Public Structure PointerOption
Implements ISerializationCallbackReceiver
- Inheritance
-
PointerOption
- Attributes
- Implements
-
Unity
Engine. ISerialization Callback Receiver
Pointer |
Constructor. |
Pointer |
Constructor. |
Controller |
The type of Controller this pointer can be attached to at runtime. |
Handedness |
Defines valid hand(s) to create the pointer prefab on. |
Pointer |
The prefab with an IMixedRealityPointer component to create when a valid controller becomes available. |
Prioritized |
The LayerMasks, in prioritized order, which are used to determine the target |
ISerialization |
|
ISerialization |
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 |