Package xj3d.replica
Class ConfigureBackground
java.lang.Object
xj3d.replica.ConfigureBackground
- All Implemented Interfaces:
ScenePreprocessor
A ScenePreprocessor implementation that configures the background
skyColor to a predetermined RGB value. This module functions by
inserting a new Background node as the first node in the scene root.
It presumes that this node will therefore be the initial bound
Background node.
- Version:
- $Revision: 1.3 $
- Author:
- Rex Melton
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
preprocess
(VRMLScene scene, Construct construct) Modify the VRMLScene
-
Constructor Details
-
ConfigureBackground
Constructor- Parameters:
color
- The background color to set.
-
-
Method Details
-
preprocess
Description copied from interface:ScenePreprocessor
Modify the VRMLScene- Specified by:
preprocess
in interfaceScenePreprocessor
- Parameters:
scene
- The VRMLScene instanceconstruct
- The browser construct
-