User Guide

Chapter 396
blendConstantList
Syntax
member(whichCastmember).shader(whichShader).blendConstantList
member(whichCastmember).model(whichModel).shader.blendConstant\
List{[index]}
member(whichCastmember).model(whichModel).shaderList{[index]}.\
blendConstantList{[index]}
Description
3D #standard shader property; indicates the ratio used for blending a texture layer of the shader
with the texture layer below it.
The shaders texture list and the blend constant list both have eight index positions. Each index
position in the blend constant list controls blending for the texture at the corresponding index
position in the texture list. You can set all index positions of the list to the same value at one time
by not specifying the optional
index parameter. Use the index parameter to set the list one index
position at a time.
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
Syntax
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.