Chapter 19
492
blendFunction
List[
index
]
Get and set
Access to the blending function 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 on all of these
options, see blendFunctionList in the Lingo
Dictionary.
#multiply
blendFunction
Get and set
Access to the list of blending functions,
#multiply
,
#replace
,
#blend
, and
#add
, for the first layer.
#multiply
blendFunction
List
Get and set
Access to the list of blending functions,
#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 function 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 function is set
to
#blend
.
Possible values are
#constant
and
#alpha
.
#constant
blendConstant
List[
index
]
Get and set
The blending ratio used for a specific layer
when the blend function is set to
#blend
and
blendSourceList[
index
]
is set to
#constant
. Returns a floating-point value
from
0.0
to
100.0
.
50.0
blendConstant
List
Get and set
The blending ratio used for any layer when the
blend function is set to
#blend
and
blendSourceList[
index
]
is set to
#constant
. Returns a floating-point value
from
0.0
to
100.0
.
50.0
Property Name
Access
Description
Default
Содержание DIRECTOR MX-USING DIRECTOR MX
Страница 1: ...Using Director MX Macromedia Director MX...
Страница 12: ...Contents 12...
Страница 156: ...Chapter 4 156...
Страница 202: ...Chapter 6 202...
Страница 244: ...Chapter 7 244...
Страница 292: ...Chapter 10 292...
Страница 330: ...Chapter 12 330...
Страница 356: ...Chapter 13 356...
Страница 372: ...Chapter 14 372...
Страница 442: ...Chapter 16 442...
Страница 472: ...Chapter 18 472...
Страница 520: ...Chapter 19 520...
Страница 536: ...Chapter 20 536...
Страница 562: ...Chapter 23 562...
Страница 566: ...Chapter 24 566...
Страница 602: ...Chapter 27 602...