User Guide

blendFactor 659
The blendConstantList property works only when the blendSource property of the
corresponding texture layer is set to
#constant.
The range of this property is 0 to 100; the default is 50.
Example
In this example, the shader list of the model named MysteryBox contains six shaders. This
statement shows the
blendConstant property of each of the textures used by the second shader.
This property is affected by the settings of the
blendFunction, blendFunctionList,
blendSource, and blendSourceList properties.
put member("Level2").model("MysteryBox").shaderList[2].\
blendConstantList
-- [20.0000, 50.0000, 50.0000, 50.0000, 20.0000, 50.0000, \
50.0000, 50.0000]
See also
blendConstant, blendFunction, blendFunctionList, blendSource, blendSourceList,
useDiffuseWithTexture, diffuse, diffuseColor
blendFactor
Usage
member(whichCastmember).model(whichModel).keyframePlayer.\
blendFactor
member(whichCastmember).model(whichModel).bonesPlayer.blendFactor
Description
3D keyframePlayer and bonesPlayer modifier property; indicates the amount by which a
motion is combined with the motion that preceded it.
The range of this property is 0 to 100, and the default value is 0.
BlendFactor is used only when the autoblend property of the modifier is set to FALSE. If the
value of the
blendFactor property is 100, the current motion will have none of the
characteristics of the motion that preceded it. If the value of
blendFactor is 0, the current
motion will have all of the characteristics of the motion that preceded it and none of its own. If
the value of
blendFactor is 50, the current motion will be a synthesis equally composed of its
own characteristics and those of the motion that preceded it. The value blendFactor can be
varied over time to create transitions unlike the linear transition created when the modifiers
autoblend property is set to TRUE.
Example
This statement sets the blendFactor property of model Alien3 to 50. If the modifiers
autoblend property is FALSE, each motion in the playlist of the keyframePlayer for Alien3 will
be an even mixture of itself and the motion that preceded it.
member("newaliens").model("Alien3").keyframePlayer.blendFactor = 50
See also
autoblend, keyframePlayer (modifier)