편집

다음을 통해 공유


IMixedRealitySpatialAwarenessSystem.SuspendObserver<T>(String) Method

Definition

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.

Applies to