Class BrushBuilder
Base class of UnrealEd brush builders.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class BrushBuilder : UObject
Remarks
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.
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static BrushBuilder DefaultObject { get; }
Property Value
Type | Description |
---|---|
BrushBuilder |
Layer
Layer
Declaration
public Name Layer { get; set; }
Property Value
Type | Description |
---|---|
Name |
MergeCoplanars
Declaration
public bool MergeCoplanars { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
NotifyBadParams
Declaration
public bool NotifyBadParams { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static BrushBuilder New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
BrushBuilder |
Operators
| Improve this Doc View SourceImplicit(IntPtr to BrushBuilder)
Convert from IntPtr to UObject
Declaration
public static implicit operator BrushBuilder(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
BrushBuilder |