The Background leaf node defines either a solid background color
or a background image that is used to fill the window at the
beginning of each new frame. It also specifies an application
region in which this background is active.
The locale of this Background node since we don't have mirror object
when clearLive is called
locale is set to null, we still want locale to have a
non-null value, since renderingEnv structure may be using the
locale
Initializes the background color to the specified color.
This color is used
if the image is null.
Parameters: color - the new background color
initColor
final void initColor(float r, float g, float b)(Code)
Initializes the background color to the specified color.
This color is used
if the image is null.
Parameters: r - the red component of the background color Parameters: g - the green component of the background color Parameters: b - the blue component of the background color
Sets the background color to the specified color. This color is used
if the image is null.
Parameters: color - the new background color
setColor
final void setColor(float r, float g, float b)(Code)
Sets the background color to the specified color. This color is used
if the image is null.
Parameters: r - the red component of the background color Parameters: g - the green component of the background color Parameters: b - the blue component of the background color