import type { Mesh } from "./mesh"; import type { Nullable } from "../types"; /** * Class used to represent a specific level of detail of a mesh * @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/LOD */ export declare class MeshLODLevel { /** 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: number; /** Defines the mesh to use to render this level */ mesh: Nullable; /** * 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: number, /** Defines the mesh to use to render this level */ mesh: Nullable); }