Struct ModelLodData
Data container for LOD metadata and sub meshes.
Assembly: FlaxEngine.dll
File: Engine/Graphics/Models/ModelData.h
Syntax
public struct ModelLodData
Constructors
~ModelLodData()
Fields
Meshes
The meshes array.
Declaration
public Array<MeshData* > Meshes
Field Value
Array<MeshData >
|
ScreenSize
The screen size to switch LODs. Bottom limit of the model screen size to render this LOD.
Declaration
public float ScreenSize = 1.0f
Field Value
float
|
Methods
GetBox()
Gets the bounding box combined for all meshes in this model LOD.
Declaration
public BoundingBox GetBox() const
Returns
BoundingBox
|