| 1234567891011121314151617181920 |
- import { Mesh } from './mesh';
- import { Nullable } from '../types';
- /**
- * Class used to represent a specific level of detail of a mesh
- * @see https://doc.babylonjs.com/how_to/how_to_use_lod
- */
- export class MeshLODLevel {
- /**
- * Creates a new LOD level
- * @param distance defines the distance where this level should star being displayed
- * @param mesh defines the mesh to use to render this level
- */
- constructor(
- /** Defines the distance where this level should start being displayed */
- public distance: number,
- /** Defines the mesh to use to render this level */
- public mesh: Nullable<Mesh>) {
- }
- }
|