Package org.web3d.x3d.sai.lighting
Interface SpotLight
- All Superinterfaces:
X3DChildNode
,X3DLightNode
,X3DNode
- All Known Implementing Classes:
SAISpotLight
,SAISpotLight
Defines the requirements of an X3D SpotLight node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getAttenuation
(float[] val) Return the attenuation value in the argument float[]float
Return the beamWidth float value.float
Return the cutOffAngle float value.void
getDirection
(float[] val) Return the direction 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
setBeamWidth
(float val) Set the beamWidth field.void
setCutOffAngle
(float val) Set the cutOffAngle field.void
setDirection
(float[] val) Set the direction 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.
-
getBeamWidth
float getBeamWidth()Return the beamWidth float value.- Returns:
- The beamWidth float value.
-
setBeamWidth
void setBeamWidth(float val) Set the beamWidth field.- Parameters:
val
- The float to set.
-
getCutOffAngle
float getCutOffAngle()Return the cutOffAngle float value.- Returns:
- The cutOffAngle float value.
-
setCutOffAngle
void setCutOffAngle(float val) Set the cutOffAngle field.- Parameters:
val
- The float to set.
-
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.
-
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.
-