Class ModelLODBase
Base class for mesh LOD objects. Contains a collection of the meshes.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public abstract class ModelLODBase : Object
Constructors
ModelLODBase()
Properties
Box
Gets the bounding box combined for all meshes in this model LOD.
Declaration
[Unmanaged]
public BoundingBox Box { get; }
Property Value
|
BoundingBox
|
LODIndex
Gets the model LOD index.
Declaration
[Unmanaged]
public int LODIndex { get; }
Property Value
|
System.Int32
|
ScreenSize
The screen size to switch LODs. Bottom limit of the model screen size to render this LOD.
Declaration
[Unmanaged]
public float ScreenSize { get; set; }
Property Value
|
System.Single
|
Methods
GetMesh(Int32)
Gets the specific mesh in this LOD.
Declaration
[Unmanaged]
public MeshBase GetMesh(int index)
Parameters
|
System.Int32
index
|
Returns
|
MeshBase
|
GetMeshes(out MeshBase[])
Gets the meshes in this LOD.
Declaration
[Unmanaged]
public void GetMeshes(out MeshBase[] meshes)
Parameters
|
MeshBase[]
meshes
|