Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > Editor > UEditorEngine
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
Include | #include "Editor/EditorEngine.h" |
Source | /Engine/Source/Editor/UnrealEd/Private/EditorBsp.cpp |
virtual int32 bspBrushCSG
&40;
ABrush &42; Actor,
UModel &42; Model,
uint32 PolyFlags,
EBrushType BrushType,
ECsgOper CSGOper,
bool bBuildBounds,
bool bMergePolys,
bool bReplaceNULLMaterialRefs,
bool bShowProgressBar
&41;
Remarks
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.
Parameters
Name | 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 |