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

# Water : TextureMap

    Waves - superclass: textureMap; super-superclass:material - classID: #(1997693774, 0)

Value > MAXWrapper > Material > TextureMap > Water

| Materials and Maps - Quick Navigation

All properties of this class have been exposed in 3ds Max 6.

Constructors:

    Water ...
    Waves...

Properties:

    <Water>.numWaveSets Integer default: 10 -- animatable, alias: Num_Wave_Sets

Specifies how many wave sets are used in the pattern.

Wave sets are groups of radially symmetrical waves that originate from randomly computed points along the surface of an imaginary sphere inside the object (a circle, in the case of 2D wave distribution).

For calm water, set this to a low number.

Use a high number for choppy water.

    <Water>.waveRadius Float default:1000.0-- animatable, alias: Wave_Radius

Specifies the radius, in 3ds Max units, of the imaginary sphere (3D distribution) or circle (2D distribution) whose surface is the origin of each wave set.

A large radius produces large circular wave patterns, while a small radius produces dense, smaller waves.

    <Water>.waveLenMax Float default: 50.0 -- animatable <Water>.waveLenMin Float default: 50.0 -- animatable

Define the interval used to randomly chose each wave center.

If these two values are close together, the water appears more regular. If they’re farther apart, the water is less regular.

    <Water>.amplitude Float default: 1.0 -- animatable

Adjusts the strength and the depth of the waves by increasing the contrast between the two colors.

    <Water>.phase Float default: 0.0 -- animatable

Shifts the wave pattern. Animate this parameter to animate the motion of the pattern.

    <Water>.distribution Integer default: 0

3D distributes the wave centers on the surface of an imaginary sphere, affecting all sides of a 3D object.

2D distributes the wave in circles centered on the XY plane, which is more appropriate for flat water surfaces such as oceans and lakes.

0- 3D

1- 2D

    <Water>.randomSeed Integer default: 30159

Provides a seed number to generate the water pattern.

The pattern changes with each seed, but all other settings are maintained.

    <Water>.color1 Color default: (color 198.9 198.9 239.7) -- animatable, alias: Color_1

Sets the wave trough color.

    <Water>.map1 TextureMap default: undefined

Sets a map as the wave trough color.

    <Water>.map1On Boolean default: true -- alias: Map1_On

Enables associated map.

    <Water>.color2 Color default: (color 25.5 25.5 198.9) -- animatable, alias: Color_2

The color of wave peaks.

    <Water>.map2 TextureMap default: undefined

Sets a map as the color of wave peaks.

    <Water>.map2On Boolean default: true -- alias: Map2_On

Enables associated map.

    <Water>.coords StandardXYZGen -- alias: Coordinates

See StandardXYZGen for the StandardXYZGen 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