Modifier

Partager via


BasicLostTrackingVisual Class

Definition

A basic lost tracking visual for HoloLens devices.

public ref class BasicLostTrackingVisual : UnityEngine::MonoBehaviour, Microsoft::MixedReality::Toolkit::Extensions::Tracking::ILostTrackingVisual
[UnityEngine.AddComponentMenu("Scripts/MRTK/Extensions/BasicLostTrackingVisual")]
public class BasicLostTrackingVisual : UnityEngine.MonoBehaviour, Microsoft.MixedReality.Toolkit.Extensions.Tracking.ILostTrackingVisual
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Extensions/BasicLostTrackingVisual")>]
type BasicLostTrackingVisual = class
    inherit MonoBehaviour
    interface ILostTrackingVisual
Public Class BasicLostTrackingVisual
Inherits MonoBehaviour
Implements ILostTrackingVisual
Inheritance
UnityEngine.MonoBehaviour
BasicLostTrackingVisual
Attributes
UnityEngine.AddComponentMenuAttribute
Implements

Constructors

BasicLostTrackingVisual()

Properties

Enabled

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

Methods

ResetVisual()

Resets the visual state to default.

SetLayer(Int32)

Sets all visual components to the layer provided.

Applies to