WindowsMixedRealitySpatialMeshObserver.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:
override int LookupTriangleDensity(Microsoft::MixedReality::Toolkit::SpatialAwareness::SpatialAwarenessMeshLevelOfDetail levelOfDetail);
protected override int LookupTriangleDensity (Microsoft.MixedReality.Toolkit.SpatialAwareness.SpatialAwarenessMeshLevelOfDetail levelOfDetail);
override this.LookupTriangleDensity : Microsoft.MixedReality.Toolkit.SpatialAwareness.SpatialAwarenessMeshLevelOfDetail -> int
Protected Overrides 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.