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 TypeMethodDescriptionvoid
getAttenuation
(float[] val) Return the attenuation value in the argument float[]void
getLocation
(float[] val) Return the location value in the argument float[]float
Return the radius float value.void
setAttenuation
(float[] val) Set the attenuation field.void
setLocation
(float[] val) Set the location field.void
setRadius
(float val) Set the radius field.Methods inherited from interface org.web3d.x3d.sai.X3DLightNode
getAmbientIntensity, getColor, getGlobal, getIntensity, getOn, setAmbientIntensity, setColor, setGlobal, setIntensity, setOn
Methods 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.
-