Class MixedRealityBoundarySystem
The Boundary system controls the presentation and display of the users boundary in a scene.
Inheritance
MixedRealityBoundarySystem
Implements
IEqualityComparer
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
IsXRDevicePresent
Whether any XR device is present.
Declaration
protected override bool IsXRDevicePresent { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
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
SetTrackingSpace()
Updates the TrackingSpaceType on the XR device.
Declaration
protected override void SetTrackingSpace()
Overrides
Implements
IEqualityComparer