編集

次の方法で共有


GenericXRSDKSpatialMeshObserver.LookupTriangleDensity Method

Definition

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.

Applies to