Class MixedRealityBoundarySystem
The Boundary system controls the presentation and display of the users boundary in a scene.
Inheritance
Implements
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Boundary
Assembly: cs.temp.dll.dll
Syntax
public class MixedRealityBoundarySystem : BaseBoundarySystem, IMixedRealityBoundarySystem, IMixedRealityEventSystem, IMixedRealityService, IDisposable, IMixedRealityEventSource, IEqualityComparer
Constructors
MixedRealityBoundarySystem(MixedRealityBoundaryVisualizationProfile, ExperienceScale)
Constructor.
Declaration
public MixedRealityBoundarySystem(MixedRealityBoundaryVisualizationProfile profile, ExperienceScale scale)
Parameters
Type | Name | Description |
---|---|---|
MixedRealityBoundaryVisualizationProfile | profile | The configuration profile for the service. |
ExperienceScale | scale | The application's configured ExperienceScale. |
MixedRealityBoundarySystem(IMixedRealityServiceRegistrar, MixedRealityBoundaryVisualizationProfile, ExperienceScale)
Constructor.
Declaration
[Obsolete("This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.")]
public MixedRealityBoundarySystem(IMixedRealityServiceRegistrar registrar, MixedRealityBoundaryVisualizationProfile profile, ExperienceScale scale)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityServiceRegistrar | registrar | The IMixedRealityServiceRegistrar instance that loaded the service. |
MixedRealityBoundaryVisualizationProfile | profile | The configuration profile for the service. |
ExperienceScale | scale | The application's configured ExperienceScale. |
Properties
Name
Optional Priority attribute if multiple services of the same type are required, enables targeting a service for action.
Declaration
public override string Name { get; protected set; }
Property Value
Type | Description |
---|---|
String |
Overrides
Methods
GetBoundaryGeometry()
Retrieves the boundary geometry.
Declaration
protected override List<Vector3> GetBoundaryGeometry()
Returns
Type | Description |
---|---|
List<Vector3> | A list of geometry points, or null if geometry was unavailable. |
Overrides
Initialize()
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.
Declaration
public override void Initialize()
Overrides
SetTrackingSpace()
Updates the TrackingSpaceType on the XR device.
Declaration
protected override void SetTrackingSpace()