AddMeshManualLOD()

Syntax

AddMeshManualLOD(#Mesh, #MeshLOD, Distance.f)
Description
Add a new level of detail (LOD) to the mesh. The #Mesh will be replaced automatically with #MeshLOD (which is often a simplified version of #Mesh, with less details) when displayed above the specified distance from the camera. Several LOD mesh can be used for the same #Mesh depending of the distance.

Parameters

Mesh The mesh to use.
MeshLOD The mesh to use when the distance from the camera has been reached.
Distance The minimum distance from the camera where the #MeshLOD should be used instead of #Mesh.

Return value

None.

See Also

CreateMesh(), BuildMeshLOD()

Supported OS

All

Mesh Index - AddSubMesh() ->