Editar

Compartilhar via


BaseSpatialMeshObserver.LookupTriangleDensity Method

Definition

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.

Applies to