User Guide

Lingo Dictionary 97
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 modifier’s
autoblend property is set to TRUE.
Example
This statement sets the blendFactor property of model Alien3 to 50. If the modifier’s
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)
blendFunction
Syntax
member(whichCastmember).shader(whichShader).blendFunction
member(whichCastmember).model(whichModel).shader.blendFunction
member(whichCastmember).model(whichModel).shaderList{[index]}.\
blendFunction
Description
3D #standard shader property; indicates the type of blending used by the first texture layer of
the shader.
If the shaders
useDiffuseWithTexture property is set to TRUE, the texture blends with the color set
by the shader’s
diffuse property. If useDiffuseWithTexture is FALSE, white is used for blending.
Each of the other texture layers blends with the texture layer below it. Use the
blendFunctionList property to control blending in those texture layers.
The blendFunction property can have the following values:
#multiply multiplies the RGB values of the texture layer by the color being used for blending
(see above).
#add adds the RGB values of the texture layer to the color being used for blending, and then
clamps to 255.
#replace prevents the texture from being blended with the color set by the shaders
diffuse property.
#blend combines the colors of the texture layer with the color being used for blending in the ratio
set by the
blendConstant property.
The default value of this property is
#multiply.