Reality Spatial Awareness Observer Interface
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.
public interface class IMixedRealitySpatialAwarenessObserver : IDisposable, Microsoft::MixedReality::Toolkit::IMixedRealityDataProvider, Microsoft::MixedReality::Toolkit::IMixedRealityEventSource, System::Collections::IEqualityComparer
public interface IMixedRealitySpatialAwarenessObserver : IDisposable, Microsoft.MixedReality.Toolkit.IMixedRealityDataProvider, Microsoft.MixedReality.Toolkit.IMixedRealityEventSource, System.Collections.IEqualityComparer
type IMixedRealitySpatialAwarenessObserver = interface interface IMixedRealityDataProvider interface IMixedRealityService interface IDisposable interface IMixedRealityEventSource interface IEqualityComparer
Public Interface IMixedRealitySpatialAwarenessObserver Implements IDisposable, IEqualityComparer, IMixedRealityDataProvider, IMixedRealityEventSource
The configuration profile for the service.(Inherited from IMixedRealityService)
Get or sets the default Unity Physics Layer on which to set the spatial object.
Is the observer running (actively accumulating spatial data)?
Should the observer remain stationary in the scene?
Optional Priority attribute if multiple services of the same type are required, enables targeting a service for action.(Inherited from IMixedRealityService)
Gets or sets the extents (1/2 size) of the volume, in meters per axis, from which individual observations will be made.
Gets or sets the origin, in world space, of the observer.
Gets or sets the orientation of the volume in world space.
Gets or sets the type of volume the observer should operate in.
Optional Priority to reorder registered managers based on their respective priority, reduces the risk of race conditions by prioritizing the order in which managers are evaluated.(Inherited from IMixedRealityService)
The unique source id of this event source.(Inherited from IMixedRealityEventSource)
The name of this event source.(Inherited from IMixedRealityEventSource)
Indicates the developer's intended startup behavior.
Gets or sets the frequency, in seconds, at which the spatial observer should update.
Clears the observer's collection of observations.
Optional Destroy function to perform cleanup of the service before the Mixed Reality Toolkit is destroyed.(Inherited from IMixedRealityService)
Optional Disable function to pause the service.(Inherited from IMixedRealityService)
Optional Enable function to enable / re-enable the service.(Inherited from IMixedRealityService)
The initialize function is used to setup the service once created. This method is called once all services have been registered in the Mixed Reality Toolkit.(Inherited from IMixedRealityService)
Optional LateUpdate function to that is called after Update has been called on all services.(Inherited from IMixedRealityService)
Optional Reset function to perform that will Reset the service, for example, whenever there is a profile change.(Inherited from IMixedRealityService)
Start | resume the observer.
Stop | pause the observer
Optional Update function to perform per-frame updates of the service.(Inherited from IMixedRealityService)