MAXScript Language Reference > 3ds Max Objects > Node : MAXWrapper > Node Subclasses > GeometryClass : Node > Geometry - Particle Systems >

# Spray : GeometryClass

    Spray - superclass: GeometryClass; super-superclass:node - classID: #(-1680467296, 0)

Value > MAXWrapper > Node > GeometryClass > Particle Systems > Spray

| Geometry Objects - Quick Navigation

Constructor:

    spray...

Properties:

    <Spray>.viewportcount Integer default: 100

Maximum number of particles displayed in viewports at any given frame.

    <Spray>.rendercount Integer default: 100

Maximum number of particles that can appear in a single frame when you render it.

    <Spray>.dropsize Float default: 2.0 -- animatable, alias: Drop_Size

Size of a particle in the active units.

    <Spray>.speed Float default: 10.0 -- animatable

Initial velocity of each particle as it leaves the emitter. Particles travel at this speed unless they are affected by a particle system space warp.

    <Spray>.variation Float default: 2.0 -- animatable

Varies the initial speed and direction of particles. The greater the Variation, the broader the area of snowfall.

    <Spray>.display Integer default: 0

Set how particles are displayed in viewports:

0-Drops (streaks)

1-Dots

2-Ticks

    <Spray>.render Integer default: 0

Set how particles are rendered:

0-Tetrahedron (Particles are rendered as long tetrahedrons, with the length you specify in the Drop Size parameter. Tetrahedron is the default setting for rendering. It provides a basic simulation of water drops.)

1-Facing (Particles are rendered as square faces whose width and height equal Drop Size. Facing particles are provided especially for use with material maps.)

    <Spray>.start Time default: 0f -- alias: starttime

Number of the first frame where particles appear.

    <Spray>.lifetime Time default: 30f -- animatable, alias: life

The lifetime of a particle, in number of frames.

    <Spray>.birthrate Time default: 0f -- animatable, alias: Birth_Rate

The number of new particles born per frame. If this is less than or equal to the maximum sustainable rate, the particle system generates an even flow of particles. If it is greater than the maximum rate, the particle system generates particles in bursts.

    <Spray>.constant Boolean default: true

When on, Birth Rate is unavailable and the birth rate used equals the maximum sustainable rate. When off, Birth Rate is available. Turning Constant off does not mean that the birth rate varies automatically; the birth rate remains constant unless you animate the Birth Rate parameter.

    <Spray>.emitterheight Float default: 25.0 -- animatable, alias: length

The height of the emitter.

    <Spray>.emitterwidth Float default: 25.0 -- animatable, alias: width

The width of the emitter.

    <Spray>.hideemitter Boolean default: false

When on, the emitter is hidden in the viewports.

Note

The emitter is never rendered.

#### See Also

- Particle System Common Properties, Operators, and Methods

- Node Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods