
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
Summary of Contents for DIRECTOR MX 2004-USING DIRECTOR
Page 1: ...DIRECTOR MX 2004 Using Director...
Page 16: ...16 Chapter 1 Introduction...
Page 82: ...82 Chapter 3 Sprites...
Page 98: ...98 Chapter 4 Animation...
Page 134: ...134 Chapter 5 Bitmaps...
Page 242: ...242 Chapter 10 Sound and Synchronization...
Page 274: ...274 Chapter 11 Using Digital Video...
Page 290: ...290 Chapter 12 Behaviors...
Page 302: ...302 Chapter 13 Navigation and User Interaction...
Page 334: ...334 Chapter 15 The 3D Cast Member 3D Text and 3D Behaviors...
Page 392: ...392 Chapter 16 Working with Models and Model Resources...
Page 418: ...418 Chapter 18 Movies in a Window...
Page 446: ...446 Chapter 22 Managing and Testing Director Projects...