Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Model.h |
Include |
#include "Model.h" |
struct FBspNode
FBspNode defines one node in the Bsp, including the front and back pointers and the polygon data itself. A node may have 0 or 3 to (MAX_NODE_VERTICES-1) vertices. If the node has zero vertices, it's only used for splitting and doesn't contain a polygon (this happens in the editor).
vNormal, vTextureU, vTextureV, and others are indices into the level's vector table. iFront,iBack should be INDEX_NONE to indicate no children.
If iPlane==INDEX_NONE, a node has no coplanars. Otherwise iPlane is an index to a coplanar polygon in the Bsp. All polygons that are iPlane children can only have iPlane children themselves, not fronts or backs.
Name | Description | ||
---|---|---|---|
|
union FBspNode:... |
@854 |
IBack: 4 Index to node in front (in direction of Normal). |
|
ComponentElementIndex |
The index of the element in the UModelComponent's Element array. |
|
|
ComponentIndex |
The index in ULevel::ModelComponents of the UModelComponent containing this node. |
|
|
ComponentNodeIndex |
The index of the node in the UModelComponent's Nodes array. |
|
|
iBack |
||
|
int32[1] |
iChild |
|
|
iCollisionBound |
||
|
iFront |
||
|
int32[2] |
iLeaf |
|
|
iPlane |
||
|
iSurf |
||
|
iVertexIndex |
The index of the node's first vertex in the UModel's vertex buffer. |
|
|
iVertPool |
||
|
uint8[2] |
iZone |
|
|
NodeFlags |
||
|
NumVertices |
||
|
Plane |
Persistent information. |
Name |
Description |
---|---|
MAX_NODE_VERTICES |
|
MAX_ZONES |