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
    [Serializable]
    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

    Properties

    ControllerType

    The type of Controller this pointer will attach itself to at runtime.

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

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

    Handedness

    Defines which hand to create the pointer prefab on.

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

    PointerPrefab

    Declaration
    public GameObject PointerPrefab { get; }
    Property Value
    Type Description
    GameObject
    Back to top Generated by DocFX