mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class LostTrackingService

    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.

    Inheritance
    Object
    BaseService
    BaseExtensionService
    LostTrackingService
    Implements
    ILostTrackingService
    IMixedRealityExtensionService
    IMixedRealityService
    IDisposable
    Inherited Members
    BaseExtensionService.Registrar
    BaseService.DefaultPriority
    BaseService.Name
    BaseService.Priority
    BaseService.ConfigurationProfile
    BaseService.Reset()
    BaseService.Enable()
    BaseService.Update()
    BaseService.LateUpdate()
    BaseService.Disable()
    BaseService.Destroy()
    BaseService.disposed
    BaseService.Dispose()
    BaseService.Dispose(Boolean)
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Extensions.Tracking
    Assembly: cs.temp.dll.dll
    Syntax
    public class LostTrackingService : BaseExtensionService, ILostTrackingService, IMixedRealityExtensionService, IMixedRealityService, IDisposable

    Constructors

    LostTrackingService(IMixedRealityServiceRegistrar, String, UInt32, BaseMixedRealityProfile)

    Constructor.

    Declaration
    public LostTrackingService(IMixedRealityServiceRegistrar registrar, string name, uint priority, BaseMixedRealityProfile profile)
    Parameters
    Type Name Description
    IMixedRealityServiceRegistrar registrar

    The IMixedRealityServiceRegistrar instance that loaded the service.

    String name

    Friendly name of the service.

    UInt32 priority

    Service priority. Used to determine order of instantiation.

    BaseMixedRealityProfile profile

    The service's configuration profile.

    LostTrackingService(IMixedRealityServiceRegistrar, String, UInt32, BaseMixedRealityProfile)

    Constructor.

    Declaration
    public LostTrackingService(IMixedRealityServiceRegistrar registrar, string name, uint priority, BaseMixedRealityProfile profile)
    Parameters
    Type Name Description
    IMixedRealityServiceRegistrar registrar

    The IMixedRealityServiceRegistrar instance that loaded the service.

    String name

    Friendly name of the service.

    UInt32 priority

    Service priority. Used to determine order of instantiation.

    BaseMixedRealityProfile profile

    The service's configuration profile.

    LostTrackingService(String, UInt32, BaseMixedRealityProfile)

    Constructor.

    Declaration
    public LostTrackingService(string name, uint priority, BaseMixedRealityProfile profile)
    Parameters
    Type Name Description
    String name

    Friendly name of the service.

    UInt32 priority

    Service priority. Used to determine order of instantiation.

    BaseMixedRealityProfile profile

    The service's configuration profile.

    LostTrackingService(String, UInt32, BaseMixedRealityProfile)

    Constructor.

    Declaration
    public LostTrackingService(string name, uint priority, BaseMixedRealityProfile profile)
    Parameters
    Type Name Description
    String name

    Friendly name of the service.

    UInt32 priority

    Service priority. Used to determine order of instantiation.

    BaseMixedRealityProfile profile

    The service's configuration profile.

    Properties

    OnTrackingLost

    Declaration
    public Action OnTrackingLost { get; set; }
    Property Value
    Type Description
    Action

    OnTrackingLost

    Declaration
    public Action OnTrackingLost { get; set; }
    Property Value
    Type Description
    Action

    OnTrackingRestored

    Declaration
    public Action OnTrackingRestored { get; set; }
    Property Value
    Type Description
    Action

    OnTrackingRestored

    Declaration
    public Action OnTrackingRestored { get; set; }
    Property Value
    Type Description
    Action

    TrackingLost

    Declaration
    public bool TrackingLost { get; }
    Property Value
    Type Description
    Boolean

    TrackingLost

    Declaration
    public bool TrackingLost { get; }
    Property Value
    Type Description
    Boolean

    Methods

    Initialize()

    Declaration
    public override void Initialize()
    Overrides
    BaseService.Initialize()

    Initialize()

    Declaration
    public override void Initialize()
    Overrides
    BaseService.Initialize()

    Implements

    ILostTrackingService
    IMixedRealityExtensionService
    IMixedRealityService
    IDisposable
    In This Article
    • Constructors
      • LostTrackingService(IMixedRealityServiceRegistrar, String, UInt32, BaseMixedRealityProfile)
      • LostTrackingService(IMixedRealityServiceRegistrar, String, UInt32, BaseMixedRealityProfile)
      • LostTrackingService(String, UInt32, BaseMixedRealityProfile)
      • LostTrackingService(String, UInt32, BaseMixedRealityProfile)
    • Properties
      • OnTrackingLost
      • OnTrackingLost
      • OnTrackingRestored
      • OnTrackingRestored
      • TrackingLost
      • TrackingLost
    • Methods
      • Initialize()
      • Initialize()
    • Implements
    Back to top Generated by DocFX