MixedRealitySpatialAwarenessSystem.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:
virtual void ClearObservations();
public void ClearObservations ();
abstract member ClearObservations : unit -> unit
override this.ClearObservations : unit -> unit
Public Sub ClearObservations ()
Implements
Applies to
ClearObservations<T>(String)
Clears the observations of the specified observer.
public:
generic <typename T>
where T : Microsoft::MixedReality::Toolkit::SpatialAwareness::IMixedRealitySpatialAwarenessObserver virtual void ClearObservations(System::String ^ name);
public void ClearObservations<T> (string name) where T : Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessObserver;
abstract member ClearObservations : string -> unit (requires 'T :> Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessObserver)
override this.ClearObservations : string -> unit (requires 'T :> Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessObserver)
Public Sub ClearObservations(Of T As IMixedRealitySpatialAwarenessObserver) (name As String)
Type Parameters
- T
The observer type.
Parameters
- name
- String
The name of the observer.