Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE2:CubeBuilder (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> BrushBuilder >> CubeBuilder
Package: 
Editor
This class in other games:
UT, U2XMP, UE2Runtime, U2, UT2004, UDK, UT3

Builds a 3D cube or rectangular cuboid brush, that can optionally be either hollow or tesselated.

Properties

Property group 'CubeBuilder'

Breadth

Type: float

Size of the brush in X direction.

Default value: 256.0

GroupName

Type: name

A group name for the created brush.

Default value: 'Cube'

Height

Type: float

Size of the brush in Z direction.

Default value: 256.0

Hollow

Type: bool

Whether the brush should be made hollow.

Tessellated

Type: bool

Whether each side of the cube should be subdivided into two triangles.

WallThickness

Type: float

The wall thickness for hollow brushes. The value specified here actually is twice the wall thickness. It is just subtracted from the original breadth, width and height to get the dimensions of the inner cube shape.

Default value: 16.0

Width

Type: float

Size of the brush in Y direction.

Default value: 256.0

Default values

Property Value
BitmapFilename "BBCube"
ToolTip "Cube"

Functions

Events

Build

event bool Build ()

Overrides: BrushBuilder.Build

Calls BuildCube() to build the outer cube. If the brush is supposed to be hollow, that function is called again to build the smaller, inner cube.

Other instance functions

BuildCube

function BuildCube (int Direction, float dx, float dy, float dz, bool _tessellated)

Builds a single cube from rectangles or triangles, depending on whether it should be tesselated.