Package org.web3d.x3d.sai.lighting
Interface PointLight
- All Superinterfaces:
X3DChildNode,X3DLightNode,X3DNode
- All Known Implementing Classes:
SAIPointLight,SAIPointLight
Defines the requirements of an X3D PointLight node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionvoidgetAttenuation(float[] val) Return the attenuation value in the argument float[]voidgetLocation(float[] val) Return the location value in the argument float[]floatReturn the radius float value.voidsetAttenuation(float[] val) Set the attenuation field.voidsetLocation(float[] val) Set the location field.voidsetRadius(float val) Set the radius 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
-
getAttenuation
void getAttenuation(float[] val) Return the attenuation value in the argument float[]- Parameters:
val- The float[] to initialize.
-
setAttenuation
void setAttenuation(float[] val) Set the attenuation field.- Parameters:
val- The float[] to set.
-
getLocation
void getLocation(float[] val) Return the location value in the argument float[]- Parameters:
val- The float[] to initialize.
-
setLocation
void setLocation(float[] val) Set the location field.- Parameters:
val- The float[] to set.
-
getRadius
float getRadius()Return the radius float value.- Returns:
- The radius float value.
-
setRadius
void setRadius(float val) Set the radius field.- Parameters:
val- The float to set.
-