Class MeshBase
Base class for model resources meshes.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public abstract class MeshBase : Object
Constructors
MeshBase()
Properties
Box
Index
Gets the mesh index.
Declaration
[Unmanaged]
public int Index { get; }
Property Value
System.Int32
|
LODIndex
Gets the mesh parent LOD index.
Declaration
[Unmanaged]
public int LODIndex { get; }
Property Value
System.Int32
|
MaterialSlotIndex
Gets or sets the index of the material slot to use during this mesh rendering.
Declaration
[Unmanaged]
public int MaterialSlotIndex { get; set; }
Property Value
System.Int32
|
ModelBase
Gets the model owning this mesh.
Declaration
[Unmanaged]
public ModelBase ModelBase { get; }
Property Value
ModelBase
|
Sphere
Gets the sphere.
Declaration
[Unmanaged]
public BoundingSphere Sphere { get; }
Property Value
BoundingSphere
|
TriangleCount
Gets the triangle count.
Declaration
[Unmanaged]
public int TriangleCount { get; }
Property Value
System.Int32
|
Use16BitIndexBuffer
Determines whether this mesh is using 16 bit index buffer, otherwise it's 32 bit.
Declaration
[Unmanaged]
public bool Use16BitIndexBuffer { get; }
Property Value
System.Boolean
|
VertexCount
Gets the vertex count.
Declaration
[Unmanaged]
public int VertexCount { get; }
Property Value
System.Int32
|