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 TypeMethodDescriptionvoidgetAttenuation(float[] val) Return the attenuation value in the argument float[]floatReturn the beamWidth float value.floatReturn the cutOffAngle float value.voidgetDirection(float[] val) Return the direction 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.voidsetBeamWidth(float val) Set the beamWidth field.voidsetCutOffAngle(float val) Set the cutOffAngle field.voidsetDirection(float[] val) Set the direction 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.
-
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.
-