IMixedRealitySpatialAwarenessSystem.SuspendObserver<T>(String) 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.
Stops / pauses the spatial observer registered under the specified name matching the specified type.
public:
generic <typename T>
where T : Microsoft::MixedReality::Toolkit::SpatialAwareness::IMixedRealitySpatialAwarenessObserver void SuspendObserver(System::String ^ name);
public void SuspendObserver<T> (string name) where T : Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessObserver;
abstract member SuspendObserver : string -> unit (requires 'T :> Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessObserver)
Public Sub SuspendObserver(Of T As IMixedRealitySpatialAwarenessObserver) (name As String)
Type Parameters
- T
The desired spatial awareness observer type (ex: IMixedRealitySpatialAwarenessMeshObserver)
Parameters
- name
- String
The friendly name of the observer.