User Guide

388 Chapter 16: Working with Models and Model Resources
colorBuffer.
clearAtRender
Get and set TRUE (1) or FALSE (0)
value indicating whether color buffer
is or isn’t cleared out after each frame.
If value is set to
FALSE (2), the effect
is similar to the trails ink effect,
although it requires a semi-
transparent model behind the whole
scene.
TRUE (1)
colorBuffer.
clearValue
Get and set Color object defining color used to
clear out buffer if
colorBuffer.clearAtRender is TRUE
(1)
.
color(0,0,0)
fog.enabled
Get and set TRUE (1) or FALSE (0) value
indicating whether camera adds fog
to the scene.
FALSE (0)
fog.near
Get and set Distance to start of fog.
0.0
fog.far
Get and set Distance to maximum fog intensity.
1000.0
fog.color
Get and set Color object describing fog color.
color(0,0,0)
fog.decayMode
Get and set How fog varies between near and far,
with the following possible values:
#linear: density is linearly
interpolated between
fog.near and
fog.far.
#exponential: fog.far is saturation
point; fog.near is ignored.
#exponential2: fog.near is saturation
point;
fog.far is ignored.
#exponential
projection
Get and set Method of determining the vertical
field of view, which must be of type
#perspective or #orthographic.
#perspective
fieldOfView
Get and set A floating-point value specifying the
vertical projection angle in degrees.
30.0
orthoheight
Get and set The number of perpendicular world
units that fit vertically into the sprite.
200.0
rootNode
Get and set Property controlling which objects are
visible in a particular camera’s view.
Its default value is the world, so all
cameras you create show all nodes
within the world. If, however, you
change
rootNode to be a particular
node within the world, a sprite of the
cast member will show only the root
node and its children.
group
("world")
Property Name Access Description Default