FBSPOps

Unreal Engine C++ API Reference > Developer > BSPUtils

References

   
Module BSPUtils
Header /Engine/Source/Developer/BSPUtils/Public/BSPOps.h
Include #include "BSPOps.h"

Syntax

class FBSPOps  

Functions

Type Name Description
int32 bspAddNode ( UModel* Model, int32 iParent, enum ENodePlace ENodePlace, uint32 NodeFlags, FPoly* EdPoly )  
int32 bspAddPoint ( UModel* Model, const FVector* V, bool Exact ) Add a new point to the model, merging near-duplicates, and return its index.
int32 bspAddVector ( UModel* Model, const FVector* V, bool Exact ) Add a new vector to the model, merging near-duplicates, and return its index.
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.
void bspBuildBounds ( UModel* Model )  
void bspRefresh ( UModel* Model, bool NoRemapSurfs ) If the Bsp's point and vector tables are nearly full, reorder them and delete unused ones.
void bspUnlinkPolys ( UModel* Brush )  
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.
FPoly BuildInfiniteFPoly ( UModel* Model, int32 iNode )  
ABrush * csgAddOperation ( ABrush* Actor, uint32 PolyFlags, EBrushType BrushType ) Adds a brush to the list of CSG brushes in the level, using a CSG operation.
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.
void csgPrepMovingBrush ( ABrush* Actor ) Prepare a moving brush.
void HandleVolumeShapeChanged ( AVolume& Volume ) Called when an AVolume shape is changed
void RebuildBrush ( UModel* Brush ) Rebuild some brush internals
void RotateBrushVerts ( ABrush* Brush, const FRotator& Rotation, bool bClearComponents ) Rotates the specified brush's vertices.
void SplitPolyList ( UModel* Model, int32 iParent, ENodePlace NodePlace, int32 NumPolys, FPoly** PolyList, EBspOptimization Opt, int32 Balance, int32 PortalBias, int32 RebuildSimplePolys )  

Enums

Type 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  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library