Interface ILostTrackingService
A service that detects when tracking is lost on WSA devices. When tracking is lost, the service displays a visual indicator and sets the main camera's culling mask to hide all other objects. When tracking is restored, the camera mask is restored and the visual indicator is hidden.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Extensions.Tracking
Assembly: cs.temp.dll.dll
Syntax
public interface ILostTrackingService : IMixedRealityExtensionService, IMixedRealityService, IDisposable
Properties
OnTrackingLost
Called when tracking is lost. (When UnityEngine.VR.WSA.PositionalLocatorState is Inhibited.)
Declaration
Action OnTrackingLost { get; set; }
Property Value
Type | Description |
---|---|
Action |
OnTrackingRestored
Called when tracking is stored (UnityEngine.VR.WSA.PositionalLocatorState is anything other than Inhibited.)
Declaration
Action OnTrackingRestored { get; set; }
Property Value
Type | Description |
---|---|
Action |
TrackingLost
True if tracking is lost, false if tracking is present.
Declaration
bool TrackingLost { get; }
Property Value
Type | Description |
---|---|
Boolean |