Package org.web3d.x3d.sai.shape
Interface Material
- All Superinterfaces:
X3DAppearanceChildNode
,X3DMaterialNode
,X3DNode
- All Known Implementing Classes:
SAIMaterial
,SAIMaterial
Defines the requirements of an X3D Material node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionfloat
Return the ambientIntensity float value.void
getDiffuseColor
(float[] val) Return the diffuseColor value in the argument float[]void
getEmissiveColor
(float[] val) Return the emissiveColor value in the argument float[]float
Return the shininess float value.void
getSpecularColor
(float[] val) Return the specularColor value in the argument float[]float
Return the transparency float value.void
setAmbientIntensity
(float val) Set the ambientIntensity field.void
setDiffuseColor
(float[] val) Set the diffuseColor field.void
setEmissiveColor
(float[] val) Set the emissiveColor field.void
setShininess
(float val) Set the shininess field.void
setSpecularColor
(float[] val) Set the specularColor field.void
setTransparency
(float val) Set the transparency 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.
-
getDiffuseColor
void getDiffuseColor(float[] val) Return the diffuseColor value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setDiffuseColor
void setDiffuseColor(float[] val) Set the diffuseColor field.- Parameters:
val
- The float[] to set.
-
getEmissiveColor
void getEmissiveColor(float[] val) Return the emissiveColor value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setEmissiveColor
void setEmissiveColor(float[] val) Set the emissiveColor field.- Parameters:
val
- The float[] to set.
-
getShininess
float getShininess()Return the shininess float value.- Returns:
- The shininess float value.
-
setShininess
void setShininess(float val) Set the shininess field.- Parameters:
val
- The float to set.
-
getSpecularColor
void getSpecularColor(float[] val) Return the specularColor value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setSpecularColor
void setSpecularColor(float[] val) Set the specularColor field.- Parameters:
val
- The float[] to set.
-
getTransparency
float getTransparency()Return the transparency float value.- Returns:
- The transparency float value.
-
setTransparency
void setTransparency(float val) Set the transparency field.- Parameters:
val
- The float to set.
-