BaseSpatialMeshObserver.LookupTriangleDensity Method
Definition
Important
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.
protected:
virtual int LookupTriangleDensity(Microsoft::MixedReality::Toolkit::SpatialAwareness::SpatialAwarenessMeshLevelOfDetail levelOfDetail);
protected virtual int LookupTriangleDensity (Microsoft.MixedReality.Toolkit.SpatialAwareness.SpatialAwarenessMeshLevelOfDetail levelOfDetail);
abstract member LookupTriangleDensity : Microsoft.MixedReality.Toolkit.SpatialAwareness.SpatialAwarenessMeshLevelOfDetail -> int
override this.LookupTriangleDensity : Microsoft.MixedReality.Toolkit.SpatialAwareness.SpatialAwarenessMeshLevelOfDetail -> int
Protected Overridable Function LookupTriangleDensity (levelOfDetail As SpatialAwarenessMeshLevelOfDetail) As Integer
Parameters
- levelOfDetail
- SpatialAwarenessMeshLevelOfDetail
The desired level of density for the spatial mesh.
Returns
The number of triangles per cubic meter that will result in the desired level of density.