Cogito, ergo sum

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, U2, U2XMP, UE2Runtime, UT2004, UDK, UT3

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

Properties[edit]

Property group 'CubeBuilder'[edit]

Breadth[edit]

Type: float

Size of the brush in X direction.

Default value: 256.0

GroupName[edit]

Type: name

A group name for the created brush.

Default value: 'Cube'

Height[edit]

Type: float

Size of the brush in Z direction.

Default value: 256.0

Hollow[edit]

Type: bool

Whether the brush should be made hollow.

Tessellated[edit]

Type: bool

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

WallThickness[edit]

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[edit]

Type: float

Size of the brush in Y direction.

Default value: 256.0

Default values[edit]

Property Value
BitmapFilename "BBCube"
ToolTip "Cube"

Functions[edit]

Events[edit]

Build[edit]

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[edit]

BuildCube[edit]

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.