Mostly Harmless
UE2:CubeBuilder (UE2Runtime)
Object >> BrushBuilder >> CubeBuilder |
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
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
Builds a single cube from rectangles or triangles, depending on whether it should be tesselated.