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