3D Lingo Dictionary > A-B > blend

 

blend

Syntax

sprite(whichSprite).camera{(index)}.backdrop[index].blend
member(whichCastmember).camera(whichCamera).backdrop[index].blend
sprite(whichSprite).camera{(index)}.overlay[index].blend
member(whichCastmember).camera(whichCamera).overlay[index].blend
member(whichCastmember).shader(whichShader).blend
member(whichCastmember).model(whichModel).shader.blend
member(whichCastmember).model(whichModel).shaderList{[index]}.blend

Description

3D backdrop, overlay, and #standard shader property; indicates the opacity of the backdrop, overlay, or shader.

Setting the blend property of a shader will have no effect unless the shader's transparent property is set to TRUE.

The range of this property is 0 to 100, and the default value is 100.

Examples

This statement sets the blend property of the shader for the model named Window to 80. If the transparent property of Window's shader is set to TRUE, the model will be slightly transparent.

member("House").model("Window").shader.blend = 80

See also

backdrop, overlay, shader, transparent