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

# TopBottom : Material

    TopBottom - superclass: material; super-superclass:MAXWrapper - classID: #(256, 0)

Value > MAXWrapper > Material > TopBottom

| Materials and Maps - Quick Navigation

Constructor

    topBottom ...
    topBottomMat ...

Properties

    <TopBottom>.topMaterial Material default: Standard -- alias: Top______Standard

The top material.

    <TopBottom>.bottomMaterial Material default: Standard -- alias: Bottom______Standard

The bottom material.

    <TopBottom>.map1Enabled Boolean default: true -- alias: Map_1_Enable

Turns on/off the use of the top material in the topbottom material.

    <TopBottom>.map2Enabled Boolean default: true -- alias: Map_2_Enable

Turns on/off the use of the bottom material in the topbottom material.

    <TopBottom>.blend Float default: 0.0 -- animatable

Blends the edge between the top and bottom sub-materials.

This is a percentage that can range from 0 to 100.

At 0, there is a sharp line between the top and bottom sub-materials.

At 100, the top and bottom sub-materials tint each other.

    <TopBottom>.position Float default: 50.0 -- animatable

Determines where the division between the two materials lies on an object.

This is a percentage that can range from 0 to 100.

0 is at the bottom of the object, and displays only the top material.

100 is at the top of the object, and displays only the bottom material.

    <TopBottom>.coordinates Integer default: 0

Choose how the software determines the boundary between top and bottom:

0-World (Faces point up or down according to the scene’s world coordinates. When you rotate the object, the boundary between top and bottom faces remains in place.)

1-Local (Faces point up or down according to the object’s local coordinates. When you rotate the object, the material rotates with it.)

#### See Also

- Material Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods