Bearbeiten

Freigeben über


MixedRealitySpatialAwarenessSystem.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 virtual 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)
override this.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.

Implements

Applies to