Lingo Dictionary
99
blendLevel
Syntax
sprite(
whichSpriteNumber
).blendLevel
the blendLevel of sprite
whichSpriteNumber
Description
Sprite property; allows the current blending value of a sprite to be set or accessed. The possible
range of values is from 0 to 255. This differs from the Sprite Inspector, which shows values in the
range 0 to 100. The results are the same, the scales simply differ.
This property is the equivalent of the
blend
sprite property.
Example
sprite(3).blendlevel = 99
See also
blend
blendRange
Syntax
member(
whichCastmember
).modelResource(
whichModelResource
)\
.blendRange.start
modelResourceObjectReference
.blendRange.end
member(
whichCastmember
).modelResource(
whichModelResource
)\
.blendRange.start
modelResourceObjectReference
.blendRange.end
Description
3D property; when used with a model resource whose type is
#particle
, allows you to get or set
the start and end of the model resource’s blend range.
The opacity of particles in the system is interpolated linearly between
blendRange.start
and
blendRange.end
over the lifetime of each particle.
This property’s value must be greater than or equal to 0.0 and less than or equal to 100.0. The
default value for this property is 100.0.
Example
This statement sets the
blendRange
properties of model resource ThermoSystem, which is of the
type #particle.
The first line sets the start value to 100, and the second line sets the end value to 0. The effect of
this statement is that the particles of ThermoSystem are fully opaque when they first appear, and
then gradually fade to transparent during their lifetime.
member("Heater").modelResource("ThermoSystem").blendRange.\
start = 100.0
member("Heater").modelResource("ThermoSystem").blendRange.\
end = 0.0
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...