Editar

Compartir a través de


PointerOption Struct

Definition

Defines a pointer option to assign to a controller.

public value class PointerOption
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
UnityEngine.ISerializationCallbackReceiver

Constructors

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

Constructor.

PointerOption(SupportedControllerType, Handedness, GameObject)

Constructor.

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

ISerializationCallbackReceiver.OnAfterDeserialize()
ISerializationCallbackReceiver.OnBeforeSerialize()

Applies to