Interface IMixedRealitySpatialAwarenessMeshObserver
The interface for defining an IMixed
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.SpatialAwareness
Assembly: cs.temp.dll.dll
Syntax
public interface IMixedRealitySpatialAwarenessMeshObserver : IMixedRealitySpatialAwarenessObserver, IMixedRealityDataProvider, IMixedRealityService, IDisposable, IMixedRealityEventSource, IEqualityComparer
Properties
DisplayOption
Gets or sets a value indicating how the mesh subsystem is to display surface meshes within the application.
Declaration
SpatialAwarenessMeshDisplayOptions DisplayOption { get; set; }
Property Value
Type | Description |
---|---|
Spatial |
Remarks
Applications that wish to process the Meshes should set this value to None.
LevelOfDetail
Gets or sets the level of detail, as a MixedRealitySpatialAwarenessMeshLevelOfDetail value, for the returned spatial mesh. Setting this value to Custom, implies that the developer is specifying a custom value for MeshTrianglesPerCubicMeter.
Declaration
SpatialAwarenessMeshLevelOfDetail LevelOfDetail { get; set; }
Property Value
Type | Description |
---|---|
Spatial |
Remarks
Specifying any other value will cause Triangles
Meshes
Gets the collection of Spatial
Declaration
IReadOnlyDictionary<int, SpatialAwarenessMeshObject> Meshes { get; }
Property Value
Type | Description |
---|---|
IRead |
MeshPhysicsLayer
Get or sets the desired Unity Physics Layer on which to set the spatial mesh.
Declaration
int MeshPhysicsLayer { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Remarks
If not explicitly set, it is recommended that implementations return Default
MeshPhysicsLayerMask
Gets the bit mask that corresponds to the value specified in Mesh
Declaration
int MeshPhysicsLayerMask { get; }
Property Value
Type | Description |
---|---|
Int32 |
OcclusionMaterial
Declaration
Material OcclusionMaterial { get; set; }
Property Value
Type | Description |
---|---|
Material |
RecalculateNormals
Indicates whether or not mesh normals should be recalculated by the observer.
Declaration
bool RecalculateNormals { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
TrianglesPerCubicMeter
Gets or sets the level of detail, in triangles per cubic meter, for the returned spatial mesh.
Declaration
int TrianglesPerCubicMeter { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Remarks
When specifying a Level
VisibleMaterial
Declaration
Material VisibleMaterial { get; set; }
Property Value
Type | Description |
---|---|
Material |