Language:
Discover
By Skill Level
By Category

FBSPOps

Choose your OS:

Syntax

class FBSPOps

Functions

Name Description

Public function Static

int32

 

bspAddNode

(
    UModel * Model,
    int32 iParent,
    enum ENodePlace ENodePlace,
    uint32 NodeFlags,
    FPoly * EdPoly
)

Add an editor polygon to the Bsp, and also stick a reference to it in the editor polygon's BspNodes list.

Public function Static

int32

 

bspAddPoint

(
    UModel * Model,
    FVector * V,
    bool Exact
)

Add a new point to the model, merging near-duplicates, and return its index.

Public function Static

int32

 

bspAddVector

(
    UModel * Model,
    FVector * V,
    bool Exact
)

Add a new vector to the model, merging near-duplicates, and return its index.

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

bspBuild

(
    UModel * Model,
    enum EBspOptimization Opt,
    int32 Balance,
    int32 PortalBias,
    int32 RebuildSimplePolys,
    int32 iNode
)

Builds Bsp from the editor polygon set (EdPolys) of a model.

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

bspBuildBounds

(
    UModel * Model
)

Build bounding volumes for all Bsp nodes.

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

bspRefresh

(
    UModel * Model,
    bool NoRemapSurfs
)

If the Bsp's point and vector tables are nearly full, reorder them and delete unused ones.

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

bspUnlinkPolys

(
    UModel * Brush
)

Public function Static

void

 

bspValidateBrush

(
    UModel * Brush,
    bool ForceValidate,
    bool DoStatusUpdate
)

Validate a brush, and set iLinks on all EdPolys to index of the first identical EdPoly in the list, or its index if it's the first.

Public function Static

FPoly

 

BuildInfiniteFPoly

(
    UModel * Model,
    int32 iNode
)

Build an FPoly representing an "infinite" plane (which exceeds the maximum dimensions of the world in all directions) for a particular Bsp node.

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

csgAddOperation

(
    ABrush * Actor,
    uint32 PolyFlags,
    EBrushType BrushType
)

Adds a brush to the list of CSG brushes in the level, using a CSG operation.

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

csgCopyBrush

(
    ABrush * Dest,
    ABrush * Src,
    uint32 PolyFlags,
    EObjectFlags ResFlags,
    bool bNeedsPrep,
    bool bCopyPosRotScale,
    bool bAllowEmpty
)

Duplicates the specified brush and makes it into a CSG-able level brush.

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

csgPrepMovingBrush

(
    ABrush * Actor
)

Prepare a moving brush.

Public function Static

void

 

HandleVolumeShapeChanged

(
    AVolume & Volume
)

Called when an AVolume shape is changed

Public function Static

[UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)...

 

RebuildBrush

(
    UModel * Brush
)

Rebuild some brush internals

Public function Static

void

 

RotateBrushVerts

(
    ABrush * Brush,
    const FRotator & Rotation,
    bool bClearComponents
)

Rotates the specified brush's vertices.

Protected function Static

void

 

SplitPolyList

(
    UModel * Model,
    int32 iParent,
    ENodePlace NodePlace,
    int32 NumPolys,
    FPoly ** PolyList,
    EBspOptimization Opt,
    int32 Balance,
    int32 PortalBias,
    int32 RebuildSimplePolys
)

Pick a splitter poly then split a pool of polygons into front and back polygons and recurse.

Enums

Name

Description

Public enum

EBspOptimization

Quality level for rebuilding Bsp.

Public enum

ENodePlace

Possible positions of a child Bsp node relative to its parent (for BspAddToNode)

Constants

Name

Description

GErrors

Errors encountered in Csg operation.

GFastRebuild

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/BSPOps.h