/** * Class used to represent a specific level of detail of a mesh * @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/LOD */ export class MeshLODLevel { /** * Creates a new LOD level * @param distanceOrScreenCoverage defines either the distance or the screen coverage where this level should start being displayed * @param mesh defines the mesh to use to render this level */ constructor( /** Either distance from the center of the object to show this level or the screen coverage if `useLODScreenCoverage` is set to `true` on the mesh*/ distanceOrScreenCoverage, /** Defines the mesh to use to render this level */ mesh) { this.distanceOrScreenCoverage = distanceOrScreenCoverage; this.mesh = mesh; } } //# sourceMappingURL=meshLODLevel.js.map