int32 |
bspBrushCSG ( ABrush* Actor, UModel* Model, UModel* TempModel, UMaterialInterface* SelectedMa..., uint32 PolyFlags, EBrushType BrushType, ECsgOper CSGOper, bool bBuildBounds, bool bMergePolys, bool bReplaceNULLMaterialRefs, bool bShowProgressBar ) |
Performs any CSG operation between the brush and the world. |
void |
bspBuildFPolys ( UModel* Model, bool SurfLinks, int32 iNode, TArray< FPoly >* DestArray ) |
Build EdPoly list from a model's Bsp. Not transactional. |
void |
bspCleanup ( UModel* Model ) |
Clean up all nodes after a CSG operation. |
void |
bspMergeCoplanars ( UModel* Model, bool RemapLinks, bool MergeDisparateTextures ) |
|
int32 |
bspNodeToFPoly ( UModel* Model, int32 iNode, FPoly* EdPoly ) |
Convert a Bsp node to an EdPoly. Returns number of vertices in Bsp node. |
void |
bspOptGeom ( UModel* Model ) |
Optimize a level's Bsp, eliminating T-joints where possible, and building side links. |
void |
bspRepartition ( UWorld* InWorld, int32 iNode ) |
Repartition Bsp tree |
bool |
polyFindBrush ( UModel* InModel, int32 iSurf, FPoly& Poly ) |
Find the Brush EdPoly corresponding to a given Bsp surface.returns true if poly not available |
void |
polyGetLinkedPolys ( ABrush* InBrush, FPoly* InPoly, TArray< FPoly >* InPolyList ) |
Populates a list with all polys that are linked to the specified poly. |
void |
polyGetOuterEdgeList ( TArray< FPoly >* InPolyList, TArray< FEdge >* InEdgeList ) |
Takes a list of polygons and returns a list of the outside edges (edges which are not shared by other polys in the list). |
void |
polySetAndClearPolyFlags ( UModel* Model, uint32 SetBits, uint32 ClearBits, bool SelectedOnly, bool UpdateBrush ) |
Sets and clears all Bsp node flags. Affects all nodes, even ones that don't really exist. |
void |
polySplitOverlappingEdges ( TArray< FPoly >* InPolyList, TArray< FPoly >* InResult ) |
Takes a list of polygons and creates a new list of polys which have no overlapping edges. |
void |
polyUpdateBrush ( UModel* Model, int32 iSurf, bool bUpdateTexCoords, bool bOnlyRefreshSurfaceMaterials ) |
Update the brush EdPoly corresponding to a newly-changed poly to reflect its new properties. |