FBSPOps

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/BSPOps.h

Include

#include "BSPOps.h"

Syntax

class FBSPOps

Functions

Name Description

Public function Static

int32

 

bspAddNode

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

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

void

 

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

void

 

bspBuildBounds

(
    UModel* Model
)

Public function Static

void

 

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

void

 

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
)

Public function Static

ABrush *

 

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

void

 

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

void

 

csgPrepMovingBrush

(
    ABrush* Actor
)

Prepare a moving brush.

Public function Static

void

 

HandleVolumeShapeChanged

(
    AVolume& Volume
)

Called when an AVolume shape is changed

Public function Static

void

 

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
)

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss