FModelElement

A set of BSP nodes which have the same material and relevant lights.

Windows
MacOS
Linux

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

Name Description

Public variable

FBox

 

BoundingBox

The bounding box of the vertices in the element.

Public variable

UModelComponent...

 

Component

The model component containing this element.

Public variable

uint32

 

FirstIndex

The first index in the component index buffer used by this element.

Public variable

FRawIndexBuffer...

 

IndexBuffer

A pointer to the index buffer holding this element's indices.

Public variable

FMeshMapBuildDa...

 

LegacyMapBuildData

Public variable

FGuid

 

MapBuildDataId

Uniquely identifies this component's built map data.

Public variable

UMaterialInterf...

 

Material

The material used by the nodes in this element.

Public variable

uint32

 

MaxVertexIndex

The highest vertex index used by this element.

Public variable

uint32

 

MinVertexIndex

The lowest vertex index used by this element.

Public variable

TArray< uint16 ...

 

Nodes

The nodes in the element.

Public variable

uint32

 

NumTriangles

The number of triangles contained by the component index buffer for this element.

Constructors

Name Description

Public function

FModelElement()

Public function

FModelElement

(
    UModelComponent* InComponent,
    UMaterialInterface* InMaterial
)

Minimal initialization constructor.

Destructors

Name Description

Public function Virtual

~FModelElement()

Functions

Name Description

Public function Const

const FMeshM...

 

GetMeshMapBuildData()

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback