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