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)
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...