Class LostTrackingServiceProfile
The profile definition for an ILostTrackingService.
Namespace: Microsoft.MixedReality.Toolkit.Extensions.Tracking
Assembly: cs.temp.dll.dll
Syntax
public class LostTrackingServiceProfile : BaseMixedRealityProfile
Properties
HaltAudioOnTrackingLost
If true, the service will pause audio while tracking is lost.
Declaration
public bool HaltAudioOnTrackingLost { get; }
Property Value
Type | Description |
---|---|
Boolean |
HaltTimeWhileTrackingLost
If true, the service will set timescale to 0 while tracking is lost.
Declaration
public bool HaltTimeWhileTrackingLost { get; }
Property Value
Type | Description |
---|---|
Boolean |
TrackingLostCullingMask
The culling mask to use when tracking is lost. The tracking lost visual layer is automatically included.
Declaration
public LayerMask TrackingLostCullingMask { get; }
Property Value
Type | Description |
---|---|
LayerMask |
TrackingLostVisualLayer
The layer used to display the lost tracking visual.
Declaration
public int TrackingLostVisualLayer { get; }
Property Value
Type | Description |
---|---|
Int32 |
TrackingLostVisualPrefab
Prefab for the lost tracking visual. Must include a component that implements ILostTrackingVisual. A radial solver or tagalong script is recommended as well.
Declaration
public GameObject TrackingLostVisualPrefab { get; }
Property Value
Type | Description |
---|---|
GameObject |