import { Scene } from "@babylonjs/core/scene"; import { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh"; import { PhysicsAggregate } from "@babylonjs/core/Physics/v2/physicsAggregate"; import { SceneLoaderQualitySelector } from "../loading/loader"; declare module "@babylonjs/core/Meshes/abstractMesh" { interface AbstractMesh { physicsAggregate?: PhysicsAggregate | null; } } declare module "@babylonjs/core/Meshes/mesh" { interface Mesh { originalDistanceOrScreenCoverage?: number; } } export declare function configureMeshDistanceOrScreenCoverage(scene: Scene): void; /** * Updates the distance or screen coverage of the LOD levels of the meshes in the scene to match the given quality when possible. * @param quality defines the quality to apply to the meshes LOD levels. * @param scene defines the scene to update the meshes LOD levels in. * @see `SceneLoaderQualitySelector` for more information on the available quality levels. */ export declare function applyMeshesLODQuality(quality: SceneLoaderQualitySelector, scene: Scene): void; /** * Returns wether or not the given mesh is a decal mesh created in the editor. * @param mesh defines the reference to the mesh to check the nature of. */ export declare function isDecalMesh(mesh: AbstractMesh): boolean; /** * Sets wether or not the decal meshes created in the editor and belonging to a static group are enabled in the given scene. * @param enabled defines wether or not the decal meshes should be enabled. * @param scene defines the scene to update the decal meshes in. */ export declare function setStaticDecalsEnabled(enabled: boolean, scene: Scene): void;