Package org.web3d.x3d.sai
Interface X3DLightNode
- All Superinterfaces:
X3DChildNode
,X3DNode
- All Known Subinterfaces:
DirectionalLight
,PointLight
,SpotLight
- All Known Implementing Classes:
SAIDirectionalLight
,SAIDirectionalLight
,SAIPointLight
,SAIPointLight
,SAISpotLight
,SAISpotLight
Defines the requirements of an X3DLightNode abstract node type
- Version:
- $Revision: 1.5 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionfloat
Return the ambientIntensity float value.void
getColor
(float[] val) Return the color value in the argument float[]boolean
Return the global boolean value.float
Return the intensity float value.boolean
getOn()
Return the on boolean value.void
setAmbientIntensity
(float val) Set the ambientIntensity field.void
setColor
(float[] val) Set the color field.void
setGlobal
(boolean val) Set the global field.void
setIntensity
(float val) Set the intensity field.void
setOn
(boolean val) Set the on field.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Method Details
-
getAmbientIntensity
float getAmbientIntensity()Return the ambientIntensity float value.- Returns:
- The ambientIntensity float value.
-
setAmbientIntensity
void setAmbientIntensity(float val) Set the ambientIntensity field.- Parameters:
val
- The float to set.
-
getColor
void getColor(float[] val) Return the color value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setColor
void setColor(float[] val) Set the color field.- Parameters:
val
- The float[] to set.
-
getIntensity
float getIntensity()Return the intensity float value.- Returns:
- The intensity float value.
-
setIntensity
void setIntensity(float val) Set the intensity field.- Parameters:
val
- The float to set.
-
getOn
boolean getOn()Return the on boolean value.- Returns:
- The on boolean value.
-
setOn
void setOn(boolean val) Set the on field.- Parameters:
val
- The boolean to set.
-
getGlobal
boolean getGlobal()Return the global boolean value.- Returns:
- The global boolean value.
-
setGlobal
void setGlobal(boolean val) Set the global field.- Parameters:
val
- The boolean to set.
-