EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR - Page 357

MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR
500 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...
Shaders 357
blendFunction
List[index]
Get and set Access to the blending method
associated with a texture layer at the
position indicated by
index, which must
be a positive integer smaller than or
equal to 8.
Possible values are as follows:
#replace
#multiply
#add
#blend
#alpha
#constant
For detailed information about all of
these options, see the Scripting
Reference topics in the Director Help
Panel.
#multiply
blendFunction Get and set Access to the list of blending methods,
#multiply, #replace, #blend, and #add,
for the first layer.
#multiply
blendFunction
List
Get and set Access to the list of blending methods,
#multiply, #replace, #blend, and #add,
for all layers.
#multiply
blendSource
List[index]
Get and set Access to the blending source
associated with a specified layer.
When the
blendFunction property is set
to
#blend for the <index>th layer, this
results in the <index>th texture being
combined with the result of the previous
layers for the entire texture using a
single blending ratio. The blending ratio,
in this case, is the value of
blendConstant for layer <index>. For
example, if the layer at that index
position’s
blendConstant value is 0.9,
the resultant texture will be 90% of the
texture at that index position and 10%
of the result of the previous texture
layers
Possible values are
#constant and
#alpha.
#constant
blendSource
List
Get and set Access to the blending sources for each
layer, providing that the blend method is
set to
#blend.
Possible values are
#constant and
#alpha.
#constant
blendSource Get and set Access to the blending sources for the
first layer, providing that the blend
method is set to
#blend.
Possible values are
#constant and
#alpha.
#constant
Property Name Access Description Default

Table of Contents

Related product manuals