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.

    Show / Hide Table of Contents

    Class MixedRealityPointerProfile

    Configuration profile settings for setting up controller pointers.

    Inheritance
    Object
    BaseMixedRealityProfile
    MixedRealityPointerProfile
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public class MixedRealityPointerProfile : BaseMixedRealityProfile

    Properties

    DebugDrawPointingRayColors

    The colors to use when debugging pointer rays.

    Declaration
    public Color[] DebugDrawPointingRayColors { get; }
    Property Value
    Type Description
    Color[]

    DebugDrawPointingRays

    Toggle to enable or disable debug pointing rays.

    Declaration
    public bool DebugDrawPointingRays { get; }
    Property Value
    Type Description
    Boolean

    GazeCursorPrefab

    The gaze cursor prefab to use on the Gaze pointer.

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

    GazeProviderType

    The concrete type of IMixedRealityGazeProvider to use.

    Declaration
    public SystemType GazeProviderType { get; }
    Property Value
    Type Description
    SystemType

    PointerMediator

    The concrete Pointer Mediator component to use. This is a component that mediates all pointers in system, disabling / enabling them based on the state of other pointers.

    Declaration
    public SystemType PointerMediator { get; }
    Property Value
    Type Description
    SystemType

    PointerOptions

    The Pointer options for this profile.

    Declaration
    public PointerOption[] PointerOptions { get; }
    Property Value
    Type Description
    PointerOption[]

    PointingExtent

    Maximum distance at which all pointers can collide with a GameObject, unless it has an override extent.

    Declaration
    public float PointingExtent { get; }
    Property Value
    Type Description
    Single

    PointingRaycastLayerMasks

    The LayerMasks, in prioritized order, that are used to determine the GazeTarget when raycasting.

    Declaration
    public LayerMask[] PointingRaycastLayerMasks { get; }
    Property Value
    Type Description
    LayerMask[]

    PrimaryPointerSelector

    Primary pointer selector implementation to use. This is used by the focus provider to choose the primary pointer.

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