Package org.web3d.x3d.sai.shape
Interface TwoSidedMaterial
- All Superinterfaces:
X3DAppearanceChildNode
,X3DMaterialNode
,X3DNode
- All Known Implementing Classes:
SAITwoSidedMaterial
,SAITwoSidedMaterial
Defines the requirements of an X3D TwoSidedMaterial node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionfloat
Return the ambientIntensity float value.float
Return the backAmbientIntensity float value.void
getBackDiffuseColor
(float[] val) Return the backDiffuseColor value in the argument float[]void
getBackEmissiveColor
(float[] val) Return the backEmissiveColor value in the argument float[]float
Return the backShininess float value.void
getBackSpecularColor
(float[] val) Return the backSpecularColor value in the argument float[]float
Return the backTransparency 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[]boolean
Return the separateBackColor boolean value.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
setBackAmbientIntensity
(float val) Set the backAmbientIntensity field.void
setBackDiffuseColor
(float[] val) Set the backDiffuseColor field.void
setBackEmissiveColor
(float[] val) Set the backEmissiveColor field.void
setBackShininess
(float val) Set the backShininess field.void
setBackSpecularColor
(float[] val) Set the backSpecularColor field.void
setBackTransparency
(float val) Set the backTransparency field.void
setDiffuseColor
(float[] val) Set the diffuseColor field.void
setEmissiveColor
(float[] val) Set the emissiveColor field.void
setSeparateBackColor
(boolean val) Set the separateBackColor 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.
-
getBackAmbientIntensity
float getBackAmbientIntensity()Return the backAmbientIntensity float value.- Returns:
- The backAmbientIntensity float value.
-
setBackAmbientIntensity
void setBackAmbientIntensity(float val) Set the backAmbientIntensity 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.
-
getBackDiffuseColor
void getBackDiffuseColor(float[] val) Return the backDiffuseColor value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setBackDiffuseColor
void setBackDiffuseColor(float[] val) Set the backDiffuseColor 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.
-
getBackEmissiveColor
void getBackEmissiveColor(float[] val) Return the backEmissiveColor value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setBackEmissiveColor
void setBackEmissiveColor(float[] val) Set the backEmissiveColor 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.
-
getBackShininess
float getBackShininess()Return the backShininess float value.- Returns:
- The backShininess float value.
-
setBackShininess
void setBackShininess(float val) Set the backShininess 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.
-
getBackSpecularColor
void getBackSpecularColor(float[] val) Return the backSpecularColor value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setBackSpecularColor
void setBackSpecularColor(float[] val) Set the backSpecularColor 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.
-
getBackTransparency
float getBackTransparency()Return the backTransparency float value.- Returns:
- The backTransparency float value.
-
setBackTransparency
void setBackTransparency(float val) Set the backTransparency field.- Parameters:
val
- The float to set.
-
getSeparateBackColor
boolean getSeparateBackColor()Return the separateBackColor boolean value.- Returns:
- The separateBackColor boolean value.
-
setSeparateBackColor
void setSeparateBackColor(boolean val) Set the separateBackColor field.- Parameters:
val
- The boolean to set.
-