mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0releases/2.3.0releases/2.4.0releases/2.5.0releases/2.5.1releases/2.5.2releases/2.5.3
  • Features and Architecture
  • API Documentation

We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

  • API Documentation
Search Results for

    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 can be attached 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 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
    In This Article
    • Constructors
      • PointerOption(SupportedControllerType, Handedness, GameObject)
    • Properties
      • ControllerType
      • Handedness
      • PointerPrefab
    Back to top Generated by DocFX