Navigation
Unreal Engine C++ API Reference > Runtime > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Model.h |
Include | #include "Model.h" |
Syntax
struct FBspNode
Remarks
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.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
union FBspNode::@1245 | @1246 | IBack: 4 Index to node in front (in direction of Normal). |
![]() |
int32 | ComponentElementIndex | The index of the element in the UModelComponent's Element array. |
![]() |
uint16 | ComponentIndex | The index in ULevel::ModelComponents of the UModelComponent containing this node. |
![]() |
uint16 | ComponentNodeIndex | The index of the node in the UModelComponent's Nodes array. |
![]() |
int32 | iBack | |
![]() |
int32[1] | iChild | |
![]() |
int32 | iCollisionBound | |
![]() |
int32 | iFront | |
![]() |
int32[2] | iLeaf | |
![]() |
int32 | iPlane | |
![]() |
int32 | iSurf | |
![]() |
int32 | iVertexIndex | The index of the node's first vertex in the UModel's vertex buffer. |
![]() |
int32 | iVertPool | |
![]() |
uint8[2] | iZone | |
![]() |
uint8 | NodeFlags | |
![]() |
uint8 | NumVertices | |
![]() |
FPlane4f | Plane | Persistent information. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | ChildOutside
(
int32 IniChild, |
|
![]() ![]() |
bool | IsCsg
(
uint32 ExtraFlags |
Functions. |
Constants
Name | Description |
---|---|
MAX_NODE_VERTICES | |
MAX_ZONES |