Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
Include |
#include "Editor/EditorEngine.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/EditorBsp.cpp |
Performs any CSG operation between the brush and the world.
0 if nothing happened, 1 if the operation was error-free, or 1+N if N CSG errors occurred.
Parameter |
Description |
---|---|
Actor |
The brush actor to apply. |
Model |
The model to apply the CSG operation to; typically the world's model. |
PolyFlags |
PolyFlags to set on brush's polys. |
BrushType |
The type of brush. |
CSGOper |
The CSG operation to perform. |
bBuildBounds |
If true, updates bounding volumes on Model for CSG_Add or CSG_Subtract operations. |
bMergePolys |
If true, coplanar polygons are merged for CSG_Intersect or CSG_Deintersect operations. |
bReplaceNULLMaterialRefs |
If true, replace NULL material references with a reference to the GB-selected material. |
bShowProgressBar |
If true, display progress bar for complex brushes |