IMixedRealitySpatialAwarenessSystem.ClearObservations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ClearObservations() |
Clears all registered observers' observations. |
ClearObservations<T>(String) |
Clears the observations of the specified observer. |
ClearObservations()
Clears all registered observers' observations.
public:
void ClearObservations();
public void ClearObservations ();
abstract member ClearObservations : unit -> unit
Public Sub ClearObservations ()
Applies to
ClearObservations<T>(String)
Clears the observations of the specified observer.
public void ClearObservations<T> (string name = default) where T : Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessObserver;
abstract member ClearObservations : string -> unit (requires 'T :> Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessObserver)
Public Sub ClearObservations(Of T As IMixedRealitySpatialAwarenessObserver) (Optional name As String = Nothing)
Type Parameters
- T
The observer type.
Parameters
- name
- String
The name of the observer.