MAXScript Language Reference > 3ds Max Objects > TextureMap : Material > TextureMap Types >

# Bricks : TextureMap

    Bricks - superclass: textureMap; super-superclass:material - classID: #(1677942713, 1768312028)

Value > MAXWrapper > Material > TextureMap > Bricks

| Materials and Maps - Quick Navigation

Constructors:

    bricks ...
    tiles...

Properties:

    <Bricks>.Brick_Type Integer default: 1

The brick_type values define a set of predefined values for the Stacking and Row and Column Editing properties.

Possible values are:

0 - Custom Bricks;

1 - Running Bond;

2 - Common Flemish Bond;

3 - English Bond;

4 - ½ Running Bond;

5 - Stack Bond;

6 - Fine Running Bond;

7 - Fine Stack Bond

Changing brick_type only updates these properties if Material Editor is displayed and the material is in the active slot.

    <Bricks>.Show_Texture_Swatches Integer default: 1

When on, updates to show the texture assigned by a map for Bricks or Mortar.

0- Off

1- On

    <Bricks>.Brick_Color Color default: (color 165.75 76.5 51) -- animatable

The color of the bricks.

    <Bricks>.Horizontal_Count Float default: 3.0 -- animatable

The number of bricks in a row.

    <Bricks>.Vertical_Count Float default: 8.0 -- animatable

The number of bricks in a column.

    <Bricks>.Color_Variance Float default: 0.4 -- animatable

The color variation among the bricks.

    <Bricks>.Fade_Variance Float default: 0.2 -- animatable

The fading variation among the bricks.

    <Bricks>.Mortar_Color Color default: (color 211.65 196.35 183.6) -- animatable

The color of the mortar.

    <Bricks>.Horizontal_Gap Float default: 1.0 -- animatable

The horizontal size of the mortar between the bricks.

    <Bricks>.Vertical_Gap Float default: 1.0 -- animatable

The vertical size of the mortar between the bricks.

    <Bricks>.Lock_Gap_Symmetry Integer default: 1

When on, the vertical_gap and horizontal_gap values are locked to one another.

0- Off

1- On

    <Bricks>.Holes Integer default: 0 -- animatable

The percentage of holes in the bricked surface caused by missing bricks. The mortar shows through the holes.

    <Bricks>.Edge_Roughness Float default: 0.0 -- animatable

Controls the roughness of the edges of the mortar.

    <Bricks>.Random_Seed Integer default: 43304 -- animatable

Randomly applies patterns of color variation to the bricks. Does not require any other setting to generate completely different patterns.

    <Bricks>.Line_Shift Float default: 0.0 -- animatable

Shifts every second row of bricks a distance of one unit.

    <Bricks>.Random_Shift Float default: 0.0 -- animatable

Randomly shifts all rows of bricks a distance of one unit.

    <Bricks>.Use_Row_Edit Integer default: 0

Turn on/off row edit:

0- Off

1- On

    <Bricks>.Per_Row Integer default: 2

The amount of bricks per row.

    <Bricks>.Change_Row Float default: 1.0

For every row you specify in the Per_Row value, the software stores the amount of bricks that you specify in the Change_row value.

    <Bricks>.Use_Column_Edit Integer default: 0

Turn on/off column edit:

0- Off

1- On

    <Bricks>.Per_Column Float default: 1.0

The amount of bricks per column.

    <Bricks>.Change_Column Float default: 1.0

For every row you specify in the Per_Column value, the software stores the amount of bricks that you specify in the Change_column value.

    <Bricks>.coords SubAnim

See UVGenClass for the StandardUVGen properties.

#### See Also

- TextureMap Common Properties, Operators, and Methods

- Material Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods