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.

Search Results for

    Show / Hide Table of Contents

    Class BasicLostTrackingVisual

    A basic lost tracking visual for HoloLens devices.

    Inheritance
    Object
    BasicLostTrackingVisual
    Implements
    ILostTrackingVisual
    Namespace: Microsoft.MixedReality.Toolkit.Extensions.Tracking
    Assembly: cs.temp.dll.dll
    Syntax
    public class BasicLostTrackingVisual : MonoBehaviour, ILostTrackingVisual

    Properties

    Enabled

    Completely enables or disables the visual. Should probably be linked to the root game object's active value.

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

    Methods

    ResetVisual()

    Resets the visual state to default.

    Declaration
    public void ResetVisual()

    SetLayer(Int32)

    Sets all visual components to the layer provided.

    Declaration
    public void SetLayer(int layer)
    Parameters
    Type Name Description
    Int32 layer

    The layer to set for the visual components.

    Implements

    ILostTrackingVisual
    In This Article
    Back to top Generated by DocFX