MixedRealitySpatialAwarenessSystem.ResumeObserver<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.
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.