MAXScript Language Reference > 3ds Max Objects > Atmospheric : MAXWrapper > Atmospheric Effect Types >

# Fire_Effect : Atmospheric

    Fire_Effect - superclass: atmospheric; super-superclass:MAXWrapper - classID: #(682623303, 58464731)

Value > MAXWrapper > Atmospheric Effect > Fire_Effect

| Atmospheric and Render Effects - Quick Navigation

Constructor:

    Fire_Effect ...

Properties:

    <Fire_Effect>.Inner_Color Color default: (color 252 202 0) -- animatable

Sets the color of the densest part of the effect. For a typical fire, this color represents the hottest part of the flame.

    <Fire_Effect>.Outer_Color Color default: (color 225 30 30) -- animatable

Sets the color of the sparsest part of the effect. For a typical fire, this color represents the cooler, dissipating edge of the flame. The fire effect is colored using a gradient between the inner and outer colors. The dense areas of the effect use the inner color and gradually blend to the outer color near the edges of the effect.

    <Fire_Effect>.Smoke_Color Color default: (color 25.5 25.5 25.5) -- animatable

Sets the color of smoke for use with the Explosion option.

    <Fire_Effect>.Flame_Type Integer default: 0

Sets the flame type:

0- Fire Ball (Creates round puffy flames. Fireballs are well suited for explosions.)

1- Tendril (Creates directional pointed flames with veins along their center. The flames orient along the local Z axis of the fire apparatus. Tendril creates campfire-like flames.)

    <Fire_Effect>.Stretch Float default: 1.0 -- animatable

Scales flames along the Z axis of the apparatus. Stretch works best with Tendril flames, but you can use it to give Fireballs an oval shape. Values less than 1.0 compress flames, making them shorter and thicker. Values greater than 1.0 stretch flames, making them long and skinny.

    <Fire_Effect>.Regularity Float default: 0.2 -- animatable

Modifies how the flames fill the apparatus. A value of 1.0 completely fills the apparatus. The effect fades near the edges of the apparatus, but the overall shape is still very noticeable. A value of 0.0 produces a very irregular effect that might occasionally reach the boundary of the apparatus, but usually gets trimmed back and is smaller.

    <Fire_Effect>.Flame_Size Float default: 35.0 -- animatable

Sets the size of individual flames inside the apparatus. The size of the apparatus affects the flame size. A larger apparatus requires a larger flame size. Use a range from 15.0 to 30.0 for the best results. Large values work best for Fireballs. Small values work best for Tendrils.

    <Fire_Effect>.Flame_Detail Float default: 3.0 -- animatable

Controls the amount of color change and edge sharpness seen within each flame. Low values produce smooth, fuzzy flames and render faster. High values produce patterned, sharp flames and render slower.

    <Fire_Effect>.Density Float default: 15.0 -- animatable

Sets the opacity and brightness of the fire effect. The size of the apparatus affects the density. A large apparatus with the same density as a small apparatus appears more opaque and brighter because of its larger size. Low values make the effect less opaque and use more of the outer color. High values make the effect more opaque and brighten the effect by gradually replacing the inner color with white. The higher the value, the more white the center of the effect is.

    <Fire_Effect>.Samples Integer default: 15 -- animatable

Sets the rate at which the effect is sampled. Higher values produce more accurate results but take longer to render.

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

Controls the rate of change for the fire effect.

    <Fire_Effect>.Drift Float default: 0.0 -- animatable

Sets how flames are rendered along the Z-axis of the fire apparatus. The value is the amount of rise in units.

    <Fire_Effect>.Explosion Integer default: 0

When on, animates size, density, and color automatically based on the animation of the phase value.

0- Off

1- On

    <Fire_Effect>.Smoke Integer default: 1

Controls whether or not the explosion creates smoke.

0- Off

1- On

    <Fire_Effect>.Fury Float default: 1.0

Varies the churning effect of the Phase parameter. Values greater than 1.0 cause faster churning. Values less than 1.0 cause slower churning.

#### See Also

- Setting explosion start and end times for Fire_Effect

- Atmospheric Effects Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods