Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Model.h |
| Include | #include "Model.h" |
Syntax
class FModelElement
Remarks
A set of BSP nodes which have the same material and relevant lights.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FBox | BoundingBox | The bounding box of the vertices in the element. | |
| TObjectPtr< class UModelComponent > | Component | The model component containing this element. | |
| uint32 | FirstIndex | The first index in the component index buffer used by this element. | |
| FRawIndexBuffer16or32 * | IndexBuffer | A pointer to the index buffer holding this element's indices. | |
| FMeshMapBuildData * | LegacyMapBuildData | ||
| FGuid | MapBuildDataId | Uniquely identifies this component's built map data. | |
| TObjectPtr< class UMaterialInterface > | Material | The material used by the nodes in this element. | |
| uint32 | MaxVertexIndex | The highest vertex index used by this element. | |
| uint32 | MinVertexIndex | The lowest vertex index used by this element. | |
| TArray< uint16 > | Nodes | The nodes in the element. | |
| uint32 | NumTriangles | The number of triangles contained by the component index buffer for this element. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FModelElement
(
UModelComponent* InComponent, |
Minimal initialization constructor. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FMeshMapBuildData * |