FBspNode

[FBspNode](API\Runtime\Engine\FBspNode) defines one node in the Bsp, including the front and back pointers and the polygon data itself.

Windows
MacOS
Linux

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

Name Description

Public variable

union FBspNode:...

 

@750

IBack: 4 Index to node in front (in direction of Normal).

Public variable

int32

 

ComponentElementIndex

The index of the element in the UModelComponent's Element array.

Public variable

uint16

 

ComponentIndex

The index in ULevel::ModelComponents of the UModelComponent containing this node.

Public variable

uint16

 

ComponentNodeIndex

The index of the node in the UModelComponent's Nodes array.

Public variable

int32

 

iBack

Public variable

int32[1]

 

iChild

Public variable

int32

 

iCollisionBound

Public variable

int32

 

iFront

Public variable

int32[2]

 

iLeaf

Public variable

int32

 

iPlane

Public variable

int32

 

iSurf

Public variable

int32

 

iVertexIndex

The index of the node's first vertex in the UModel's vertex buffer.

Public variable

int32

 

iVertPool

Public variable

uint8[2]

 

iZone

Public variable

uint8

 

NodeFlags

Public variable

uint8

 

NumVertices

Public variable

FPlane

 

Plane

Persistent information.

Functions

Name Description

Public function Const

bool

 

ChildOutside

(
    int32 IniChild,
    bool Outside,
    uint32 ExtraFlags
)

Public function Const

bool

 

IsCsg

(
    uint32 ExtraFlags
)

Functions.

Constants

Name

Description

MAX_NODE_VERTICES

MAX_ZONES

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