Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBrushBuilder
- UEditorBrushBuilder
- UConeBuilder
- UCubeBuilder
- UCurvedStairBuilder
- UCylinderBuilder
- ULinearStairBuilder
- USheetBuilder
- USpiralStairBuilder
- UTetrahedronBuilder
- UVolumetricBuilder
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/BrushBuilder.h |
Include | #include "Engine/BrushBuilder.h" |
Syntax
class UBrushBuilder : public UObject
Remarks
Base class of UnrealEd brush builders.
Tips for writing brush builders:
- Always validate the user-specified and call BadParameters function if anything is wrong, instead of actually building geometry. If you build an invalid brush due to bad user parameters, you'll cause an extraordinary amount of pain for the poor user.
- When generating polygons with more than 3 vertices, BE SURE all the polygon's vertices are coplanar! Out-of-plane polygons will cause geometry to be corrupted.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FString | BitmapFilename | |
![]() |
FName | Layer | |
![]() |
uint32: 1 | MergeCoplanars | |
![]() |
uint32: 1 | NotifyBadParams | If false, disabled the bad param notifications |
![]() |
TArray< struct FBuilderPoly > | Polys | |
![]() |
FString | ToolTip | Localized FString that will be displayed as the name of this brush builder in the editor |
![]() |
TArray< FVector > | Vertices |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UBrushBuilder
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | BadParameters
(
const FText& msg |
|
![]() ![]() |
void | BeginBrush
(
bool InMergeCoplanars, |
@ todo document all below |
![]() ![]() |
bool | Builds the brush shape for the specified ABrush or the builder brush if Brush is nullptr. | |
![]() ![]() |
bool | ||
![]() ![]() ![]() |
int32 | GetPolyCount () |
|
![]() ![]() ![]() |
FVector | GetVertex
(
int32 i |
|
![]() ![]() ![]() |
int32 | ||
![]() ![]() |
void | ||
![]() ![]() |
void | ||
![]() ![]() |
void | ||
![]() ![]() |
void | PolyEnd () |
|
![]() ![]() |
void | Polyi
(
int32 i |
|
![]() ![]() |
int32 | Vertex3f
(
float X, |
|
![]() ![]() |
int32 | Vertexv
(
FVector v |