BasicLostTrackingVisual Class

Definition

A basic lost tracking visual for HoloLens devices.

C++
public ref class BasicLostTrackingVisual : UnityEngine::MonoBehaviour, Microsoft::MixedReality::Toolkit::Extensions::Tracking::ILostTrackingVisual
Inheritance
UnityEngine.MonoBehaviour
BasicLostTrackingVisual
Attributes
UnityEngine.AddComponentMenuAttribute
Implements

Constructors

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

產品 版本
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0