EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 741

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
dither 741
distribution
Usage
member(whichCastmember).modelResource(whichModelResource).\
emitter.distribution
Description
3D emitter property; indicates how the particles of a particle system are distributed across the
emitter’s region at their creation. The possible values of this property are
#gaussian or #linear.
The default value is
#linear.
Example
In this example, ThermoSystem is a model resource whose type is #particle. This statement sets
the
distribution property of ThermoSystem’s emitter to #linear, which causes the particles of
ThermoSystem to be evenly distributed across their origin region at their birth.
member("Fires").modelResource("ThermoSystem").emitter.\
distribution = #linear
See also
emitter, region
dither
Usage
-- Lingo syntax
memberObjRef.dither
// JavaScript syntax
memberObjRef.dither;
Description
Bitmap cast member property; dithers the cast member when it is displayed at a color depth of 8
bits or less (256 colors) if the display must show a color gradation not in the cast member (
TRUE),
or tells Director to choose the nearest color out of those available in the current palette (
FALSE).
For both performance and quality reasons, you should set
dither to TRUE only when higher
display quality is necessary. Dithering is slower than remapping, and artifacts may be more
apparent when animating over a dithered image.
If the color depth is greater than 8 bits, this property has no effect.
See also
depth (Bitmap)