Class MixedRealitySpatialAwarenessMeshObserverProfile
Configuration profile settings for spatial awareness mesh observers.
Inheritance
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.SpatialAwareness
Assembly: cs.temp.dll.dll
Syntax
public class MixedRealitySpatialAwarenessMeshObserverProfile : BaseSpatialAwarenessObserverProfile
Properties
DisplayOption
Indicates how the mesh subsystem is to display surface meshes within the application.
Declaration
public SpatialAwarenessMeshDisplayOptions DisplayOption { get; }
Property Value
Type | Description |
---|---|
SpatialAwarenessMeshDisplayOptions |
LevelOfDetail
The level of detail used when creating the mesh.
Declaration
public SpatialAwarenessMeshLevelOfDetail LevelOfDetail { get; }
Property Value
Type | Description |
---|---|
SpatialAwarenessMeshLevelOfDetail |
MeshPhysicsLayer
The Unity Physics Layer on which to set observed meshes.
Declaration
public int MeshPhysicsLayer { get; }
Property Value
Type | Description |
---|---|
Int32 |
OcclusionMaterial
The material to be used when observed meshes should occlude other objects.
Declaration
public Material OcclusionMaterial { get; }
Property Value
Type | Description |
---|---|
Material |
RecalculateNormals
Indicates if the spatial awareness system to generate normal for the returned meshes as some platforms may not support returning normal along with the spatial mesh.
Declaration
public bool RecalculateNormals { get; }
Property Value
Type | Description |
---|---|
Boolean |
TrianglesPerCubicMeter
The level of detail, in triangles per cubic meter, for the returned spatial mesh.
Declaration
public int TrianglesPerCubicMeter { get; }
Property Value
Type | Description |
---|---|
Int32 |
Remarks
This value is ignored, unless LevelOfDetail is set to Custom.
VisibleMaterial
The material to be used when displaying observed meshes.
Declaration
public Material VisibleMaterial { get; }
Property Value
Type | Description |
---|---|
Material |