![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Model.h>
Public Member Functions | |
| ENGINE_API | FModelElement (UModelComponent *InComponent, UMaterialInterface *InMaterial) |
| ENGINE_API | FModelElement () |
| virtual ENGINE_API | ~FModelElement () |
| ENGINE_API const FMeshMapBuildData * | GetMeshMapBuildData () const |
Public Attributes | |
| TObjectPtr< class UModelComponent > | Component |
| TObjectPtr< class UMaterialInterface > | Material |
| TArray< uint16 > | Nodes |
| FMeshMapBuildData * | LegacyMapBuildData |
| FGuid | MapBuildDataId |
| FRawIndexBuffer16or32 * | IndexBuffer |
| uint32 | FirstIndex |
| uint32 | NumTriangles |
| uint32 | MinVertexIndex |
| uint32 | MaxVertexIndex |
| FBox | BoundingBox |
Friends | |
| FArchive & | operator<< (FArchive &Ar, FModelElement &Element) |
A set of BSP nodes which have the same material and relevant lights.
| FModelElement::FModelElement | ( | UModelComponent * | InComponent, |
| UMaterialInterface * | InMaterial | ||
| ) |
Minimal initialization constructor.
| FModelElement::FModelElement | ( | ) |
|
virtual |
| const FMeshMapBuildData * FModelElement::GetMeshMapBuildData | ( | ) | const |
|
friend |
Serializer.
| FBox FModelElement::BoundingBox |
The bounding box of the vertices in the element.
| TObjectPtr<class UModelComponent> FModelElement::Component |
The model component containing this element.
| uint32 FModelElement::FirstIndex |
The first index in the component index buffer used by this element.
| FRawIndexBuffer16or32* FModelElement::IndexBuffer |
A pointer to the index buffer holding this element's indices.
| FMeshMapBuildData* FModelElement::LegacyMapBuildData |
| FGuid FModelElement::MapBuildDataId |
Uniquely identifies this component's built map data.
| TObjectPtr<class UMaterialInterface> FModelElement::Material |
The material used by the nodes in this element.
| uint32 FModelElement::MaxVertexIndex |
The highest vertex index used by this element.
| uint32 FModelElement::MinVertexIndex |
The lowest vertex index used by this element.
| uint32 FModelElement::NumTriangles |
The number of triangles contained by the component index buffer for this element.