contents.gifindex.gifprev1.gifnext1.gif

pueblo00000000.gif BackgroundColor Info

This node allows you to specify an RGB background color for the scene. The string contains the color components. The color components are in the range 0 to 1, in the order red, green, blue. There must be at most one of these nodes in a VRML scene. If there is also a BackgroundImage node, the BackgroundImage takes precedence.

File format / Defaults

DEF BackgroundColor Info {

string "" # SFString

}

Example

DEF BackgroundColor Info {

string "0.0 .05 1.0" # slightly greenish blue

}

Also see

BackgroundImage Info