mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    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
    IMixedRealityService.Name
    IMixedRealityService.Priority
    IMixedRealityService.ConfigurationProfile
    IMixedRealityService.Initialize()
    IMixedRealityService.Reset()
    IMixedRealityService.Enable()
    IMixedRealityService.Update()
    IMixedRealityService.LateUpdate()
    IMixedRealityService.Disable()
    IMixedRealityService.Destroy()
    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

    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

    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

    TrackingLost

    True if tracking is lost, false if tracking is present.

    Declaration
    bool TrackingLost { get; }
    Property Value
    Type Description
    Boolean
    In This Article
    • Properties
      • OnTrackingLost
      • OnTrackingLost
      • OnTrackingRestored
      • OnTrackingRestored
      • TrackingLost
      • TrackingLost
    Back to top Generated by DocFX