Interface IMixedRealityOnDemandObserver
The interface for defining an on-demand spatial observer which enables on demand updating
Namespace: Microsoft.MixedReality.Toolkit.Experimental.SpatialAwareness
Assembly: cs.temp.dll.dll
Syntax
public interface IMixedRealityOnDemandObserver : IMixedRealitySpatialAwarenessObserver
Properties
AutoUpdate
Whether the observer updates its observations automatically on interval.
Declaration
bool AutoUpdate { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
When false, call UpdateOnDemand() to manually update an observer when needed.
FirstAutoUpdateDelay
Delay in seconds before the observer starts to update automatically for the first time after initialization
Declaration
float FirstAutoUpdateDelay { get; set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Only applies when AutoUpdate is set to true.
UpdateOnceInitialized
Whether the observer updates once after initialization (regardless whether AutoUpdate is true).
Declaration
bool UpdateOnceInitialized { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
UpdateOnDemand()
Tells the observer to update the observations.
Declaration
void UpdateOnDemand()
Remarks
Regardless of AutoUpdate, calling this method will force the observer to update.