mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Struct PointerOption

    Defines a pointer option to assign to a controller.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public struct PointerOption

    Constructors

    PointerOption(SupportedControllerType, Handedness, GameObject)

    Constructor.

    Declaration
    public PointerOption(SupportedControllerType controllerType, Handedness handedness, GameObject pointerPrefab)
    Parameters
    Type Name Description
    SupportedControllerType controllerType
    Handedness handedness
    GameObject pointerPrefab

    PointerOption(SupportedControllerType, Handedness, GameObject)

    Constructor.

    Declaration
    public PointerOption(SupportedControllerType controllerType, Handedness handedness, GameObject pointerPrefab)
    Parameters
    Type Name Description
    SupportedControllerType controllerType
    Handedness handedness
    GameObject pointerPrefab

    Properties

    ControllerType

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

    Declaration
    public SupportedControllerType ControllerType { get; }
    Property Value
    Type Description
    SupportedControllerType
    Remarks

    If is selected, then it will attach to any controller type

    ControllerType

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

    Declaration
    public SupportedControllerType ControllerType { get; }
    Property Value
    Type Description
    SupportedControllerType
    Remarks

    If is selected, then it will attach to any controller type

    Handedness

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

    Declaration
    public Handedness Handedness { get; }
    Property Value
    Type Description
    Handedness

    Handedness

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

    Declaration
    public Handedness Handedness { get; }
    Property Value
    Type Description
    Handedness

    PointerPrefab

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

    Declaration
    public GameObject PointerPrefab { get; }
    Property Value
    Type Description
    GameObject

    PointerPrefab

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

    Declaration
    public GameObject PointerPrefab { get; }
    Property Value
    Type Description
    GameObject
    In This Article
    • Constructors
      • PointerOption(SupportedControllerType, Handedness, GameObject)
      • PointerOption(SupportedControllerType, Handedness, GameObject)
    • Properties
      • ControllerType
      • ControllerType
      • Handedness
      • Handedness
      • PointerPrefab
      • PointerPrefab
    Back to top Generated by DocFX