3D Lingo Dictionary > C-D > clearValue

 

clearValue

Syntax

member(whichCastmember).camera(whichCamera).colorBuffer.clearValue
sprite(whichSprite).camera{(index)}.colorBuffer.clearValue

Description

3D property; specifies the color used to clear out the color buffer if colorBuffer.clearAtRender is set to TRUE. The default setting for this property is rgb(0, 0, 0).

Example

This statement sets the clearValue property of the camera to rgb(255, 0, 0). Spaces in the 3d world which are not occupied by models will appear red.

sprite(1).camera.colorBuffer.clearValue= rgb(255, 0, 0)

See also

clearAtRender