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 TypeMethodDescriptionfloatReturn the ambientIntensity float value.floatReturn the backAmbientIntensity float value.voidgetBackDiffuseColor(float[] val) Return the backDiffuseColor value in the argument float[]voidgetBackEmissiveColor(float[] val) Return the backEmissiveColor value in the argument float[]floatReturn the backShininess float value.voidgetBackSpecularColor(float[] val) Return the backSpecularColor value in the argument float[]floatReturn the backTransparency float value.voidgetDiffuseColor(float[] val) Return the diffuseColor value in the argument float[]voidgetEmissiveColor(float[] val) Return the emissiveColor value in the argument float[]booleanReturn the separateBackColor boolean value.floatReturn the shininess float value.voidgetSpecularColor(float[] val) Return the specularColor value in the argument float[]floatReturn the transparency float value.voidsetAmbientIntensity(float val) Set the ambientIntensity field.voidsetBackAmbientIntensity(float val) Set the backAmbientIntensity field.voidsetBackDiffuseColor(float[] val) Set the backDiffuseColor field.voidsetBackEmissiveColor(float[] val) Set the backEmissiveColor field.voidsetBackShininess(float val) Set the backShininess field.voidsetBackSpecularColor(float[] val) Set the backSpecularColor field.voidsetBackTransparency(float val) Set the backTransparency field.voidsetDiffuseColor(float[] val) Set the diffuseColor field.voidsetEmissiveColor(float[] val) Set the emissiveColor field.voidsetSeparateBackColor(boolean val) Set the separateBackColor field.voidsetShininess(float val) Set the shininess field.voidsetSpecularColor(float[] val) Set the specularColor field.voidsetTransparency(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.
-