Package org.web3d.x3d.sai.lighting
Interface DirectionalLight
- All Superinterfaces:
X3DChildNode,X3DLightNode,X3DNode
- All Known Implementing Classes:
SAIDirectionalLight,SAIDirectionalLight
Defines the requirements of an X3D DirectionalLight node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionvoidgetDirection(float[] val) Return the direction value in the argument float[]voidsetDirection(float[] val) Set the direction field.Methods inherited from interface org.web3d.x3d.sai.X3DLightNode
getAmbientIntensity, getColor, getGlobal, getIntensity, getOn, setAmbientIntensity, setColor, setGlobal, setIntensity, setOnMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Method Details
-
getDirection
void getDirection(float[] val) Return the direction value in the argument float[]- Parameters:
val- The float[] to initialize.
-
setDirection
void setDirection(float[] val) Set the direction field.- Parameters:
val- The float[] to set.
-