Modifier

Partager via


IMixedRealitySpatialAwarenessSystem.ResumeObserver<T>(String) Method

Definition

Starts / restarts the spatial observer registered under the specified name matching the specified type.

public:
generic <typename T>
 where T : Microsoft::MixedReality::Toolkit::SpatialAwareness::IMixedRealitySpatialAwarenessObserver void ResumeObserver(System::String ^ name);
public void ResumeObserver<T> (string name) where T : Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessObserver;
abstract member ResumeObserver : string -> unit (requires 'T :> Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessObserver)
Public Sub ResumeObserver(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