BasicLostTrackingVisual Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.MonoBehaviourBasicLostTrackingVisual
- 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. |