Xj3D VRML/X3D Code API

org.web3d.vrml.nodes
Interface VRMLBackgroundNodeType

All Superinterfaces:
FrameStateListener, VRMLBindableNodeType, VRMLChildNodeType, VRMLExternalNodeType, VRMLMultiExternalNodeType, VRMLNode, VRMLNodeType
All Known Subinterfaces:
J3DBackgroundNodeType, OGLBackgroundNodeType

public interface VRMLBackgroundNodeType
extends VRMLBindableNodeType, VRMLMultiExternalNodeType

Representation of a node that could form a background to the scene.

Version:
$Revision: 1.7 $
Author:
Justin Couch

Field Summary
 
Fields inherited from interface org.web3d.vrml.nodes.VRMLExternalNodeType
LOAD_COMPLETE, LOAD_FAILED, LOADING, NOT_LOADED
 
Method Summary
 void getGroundValues(float[] color, float[] angle)
          Fetch the color and angles for the ground values.
 int getNumGroundColors()
          Get the number of valid ground color values that are currently defined.
 int getNumSkyColors()
          Get the number of valid sky color values that are currently defined.
 void getSkyValues(float[] color, float[] angle)
          Fetch the color and angles for the sky values.
 
Methods inherited from interface org.web3d.vrml.nodes.VRMLBindableNodeType
addBindableNodeListener, getBindTime, getIsBound, removeBindableNodeListener, setBind, setOnStack
 
Methods inherited from interface org.web3d.vrml.nodes.VRMLNodeType
addNodeListener, getFieldValue, getMetadataObject, getRefCount, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount
 
Methods inherited from interface org.web3d.vrml.lang.VRMLNode
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersion
 
Methods inherited from interface org.web3d.vrml.nodes.FrameStateListener
allEventsComplete
 
Methods inherited from interface org.web3d.vrml.nodes.VRMLMultiExternalNodeType
checkValidContentType, getLoadState, getPreferredClassTypes, getUrl, getUrlFieldIndexes, setContent, setLoadedURI, setLoadState
 
Methods inherited from interface org.web3d.vrml.nodes.VRMLExternalNodeType
addContentStateListener, addUrlListener, getWorldUrl, removeContentStateListener, removeUrlListener, setWorldUrl
 

Method Detail

getNumSkyColors

public int getNumSkyColors()
Get the number of valid sky color values that are currently defined.

Returns:
The number of values

getNumGroundColors

public int getNumGroundColors()
Get the number of valid ground color values that are currently defined.

Returns:
The number of values

getSkyValues

public void getSkyValues(float[] color,
                         float[] angle)
Fetch the color and angles for the sky values.

Parameters:
color - The array to return the color values in
angle - The array to return the angle values in

getGroundValues

public void getGroundValues(float[] color,
                            float[] angle)
Fetch the color and angles for the ground values.

Parameters:
color - The array to return the color values in
angle - The array to return the angle values in

Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium