Bearbeiten

Freigeben über


LostTrackingServiceProfile Class

Definition

The profile definition for an ILostTrackingService.

public ref class LostTrackingServiceProfile : Microsoft::MixedReality::Toolkit::BaseMixedRealityProfile
[Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Extensions.Tracking.ILostTrackingService), null)]
[UnityEngine.CreateAssetMenu(fileName="LostTrackingServiceProfile", menuName="Mixed Reality Toolkit/Extensions/Lost Tracking Service/Mixed Reality Lost Tracking Service Profile")]
public class LostTrackingServiceProfile : Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile
[Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Extensions.Tracking.ILostTrackingService), null)]
[UnityEngine.CreateAssetMenu(fileName="LostTrackingServiceProfile", menuName="Mixed Reality/Toolkit/Extensions/Lost Tracking Service/Mixed Reality Lost Tracking Service Profile")]
public class LostTrackingServiceProfile : Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile
[<Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Extensions.Tracking.ILostTrackingService), null)>]
[<UnityEngine.CreateAssetMenu(fileName="LostTrackingServiceProfile", menuName="Mixed Reality Toolkit/Extensions/Lost Tracking Service/Mixed Reality Lost Tracking Service Profile")>]
type LostTrackingServiceProfile = class
    inherit BaseMixedRealityProfile
[<Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Extensions.Tracking.ILostTrackingService), null)>]
[<UnityEngine.CreateAssetMenu(fileName="LostTrackingServiceProfile", menuName="Mixed Reality/Toolkit/Extensions/Lost Tracking Service/Mixed Reality Lost Tracking Service Profile")>]
type LostTrackingServiceProfile = class
    inherit BaseMixedRealityProfile
Public Class LostTrackingServiceProfile
Inherits BaseMixedRealityProfile
Inheritance
UnityEngine.ScriptableObject
LostTrackingServiceProfile
Attributes
MixedRealityServiceProfileAttribute UnityEngine.CreateAssetMenuAttribute

Constructors

LostTrackingServiceProfile()

Properties

HaltAudioOnTrackingLost

If true, the service will pause audio while tracking is lost.

HaltTimeWhileTrackingLost

If true, the service will set timescale to 0 while tracking is lost.

TrackingLostCullingMask

The culling mask to use when tracking is lost. The tracking lost visual layer is automatically included.

TrackingLostVisualLayer

The layer used to display the lost tracking visual.

TrackingLostVisualPrefab

Prefab for the lost tracking visual. Must include a component that implements ILostTrackingVisual. A radial solver or tagalong script is recommended as well.

Applies to