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
|
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.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 |
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 inangle - 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 inangle - The array to return the angle values in
Copyright © 2001 - 2005 Web3D Consortium