Package org.xj3d.sai.external.node.shape
Class SAITwoSidedMaterial
java.lang.Object
org.web3d.vrml.scripting.external.sai.SAINode
org.xj3d.sai.external.node.shape.SAITwoSidedMaterial
- All Implemented Interfaces:
TwoSidedMaterial,X3DAppearanceChildNode,X3DMaterialNode,X3DNode
A concrete implementation of the TwoSidedMaterial node interface
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Constructor Summary
ConstructorsConstructorDescriptionSAITwoSidedMaterial(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor -
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 class org.web3d.vrml.scripting.external.sai.SAINode
dispose, equals, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, hashCode, isRealized, realize, setMetadataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Constructor Details
-
SAITwoSidedMaterial
public SAITwoSidedMaterial(VRMLNodeType node, SAINodeFactory nodeFactory, SAIFieldFactory fieldFactory, ExternalEventQueue queue) Constructor- Parameters:
node-nodeFactory-fieldFactory-queue-
-
-
Method Details
-
getAmbientIntensity
public float getAmbientIntensity()Return the ambientIntensity float value.- Specified by:
getAmbientIntensityin interfaceTwoSidedMaterial- Returns:
- The ambientIntensity float value.
-
setAmbientIntensity
public void setAmbientIntensity(float val) Set the ambientIntensity field.- Specified by:
setAmbientIntensityin interfaceTwoSidedMaterial- Parameters:
val- The float to set.
-
getBackAmbientIntensity
public float getBackAmbientIntensity()Return the backAmbientIntensity float value.- Specified by:
getBackAmbientIntensityin interfaceTwoSidedMaterial- Returns:
- The backAmbientIntensity float value.
-
setBackAmbientIntensity
public void setBackAmbientIntensity(float val) Set the backAmbientIntensity field.- Specified by:
setBackAmbientIntensityin interfaceTwoSidedMaterial- Parameters:
val- The float to set.
-
getDiffuseColor
public void getDiffuseColor(float[] val) Return the diffuseColor value in the argument float[]- Specified by:
getDiffuseColorin interfaceTwoSidedMaterial- Parameters:
val- The float[] to initialize.
-
setDiffuseColor
public void setDiffuseColor(float[] val) Set the diffuseColor field.- Specified by:
setDiffuseColorin interfaceTwoSidedMaterial- Parameters:
val- The float[] to set.
-
getBackDiffuseColor
public void getBackDiffuseColor(float[] val) Return the backDiffuseColor value in the argument float[]- Specified by:
getBackDiffuseColorin interfaceTwoSidedMaterial- Parameters:
val- The float[] to initialize.
-
setBackDiffuseColor
public void setBackDiffuseColor(float[] val) Set the backDiffuseColor field.- Specified by:
setBackDiffuseColorin interfaceTwoSidedMaterial- Parameters:
val- The float[] to set.
-
getEmissiveColor
public void getEmissiveColor(float[] val) Return the emissiveColor value in the argument float[]- Specified by:
getEmissiveColorin interfaceTwoSidedMaterial- Parameters:
val- The float[] to initialize.
-
setEmissiveColor
public void setEmissiveColor(float[] val) Set the emissiveColor field.- Specified by:
setEmissiveColorin interfaceTwoSidedMaterial- Parameters:
val- The float[] to set.
-
getBackEmissiveColor
public void getBackEmissiveColor(float[] val) Return the backEmissiveColor value in the argument float[]- Specified by:
getBackEmissiveColorin interfaceTwoSidedMaterial- Parameters:
val- The float[] to initialize.
-
setBackEmissiveColor
public void setBackEmissiveColor(float[] val) Set the backEmissiveColor field.- Specified by:
setBackEmissiveColorin interfaceTwoSidedMaterial- Parameters:
val- The float[] to set.
-
getShininess
public float getShininess()Return the shininess float value.- Specified by:
getShininessin interfaceTwoSidedMaterial- Returns:
- The shininess float value.
-
setShininess
public void setShininess(float val) Set the shininess field.- Specified by:
setShininessin interfaceTwoSidedMaterial- Parameters:
val- The float to set.
-
getBackShininess
public float getBackShininess()Return the backShininess float value.- Specified by:
getBackShininessin interfaceTwoSidedMaterial- Returns:
- The backShininess float value.
-
setBackShininess
public void setBackShininess(float val) Set the backShininess field.- Specified by:
setBackShininessin interfaceTwoSidedMaterial- Parameters:
val- The float to set.
-
getSpecularColor
public void getSpecularColor(float[] val) Return the specularColor value in the argument float[]- Specified by:
getSpecularColorin interfaceTwoSidedMaterial- Parameters:
val- The float[] to initialize.
-
setSpecularColor
public void setSpecularColor(float[] val) Set the specularColor field.- Specified by:
setSpecularColorin interfaceTwoSidedMaterial- Parameters:
val- The float[] to set.
-
getBackSpecularColor
public void getBackSpecularColor(float[] val) Return the backSpecularColor value in the argument float[]- Specified by:
getBackSpecularColorin interfaceTwoSidedMaterial- Parameters:
val- The float[] to initialize.
-
setBackSpecularColor
public void setBackSpecularColor(float[] val) Set the backSpecularColor field.- Specified by:
setBackSpecularColorin interfaceTwoSidedMaterial- Parameters:
val- The float[] to set.
-
getTransparency
public float getTransparency()Return the transparency float value.- Specified by:
getTransparencyin interfaceTwoSidedMaterial- Returns:
- The transparency float value.
-
setTransparency
public void setTransparency(float val) Set the transparency field.- Specified by:
setTransparencyin interfaceTwoSidedMaterial- Parameters:
val- The float to set.
-
getBackTransparency
public float getBackTransparency()Return the backTransparency float value.- Specified by:
getBackTransparencyin interfaceTwoSidedMaterial- Returns:
- The backTransparency float value.
-
setBackTransparency
public void setBackTransparency(float val) Set the backTransparency field.- Specified by:
setBackTransparencyin interfaceTwoSidedMaterial- Parameters:
val- The float to set.
-
getSeparateBackColor
public boolean getSeparateBackColor()Return the separateBackColor boolean value.- Specified by:
getSeparateBackColorin interfaceTwoSidedMaterial- Returns:
- The separateBackColor boolean value.
-
setSeparateBackColor
public void setSeparateBackColor(boolean val) Set the separateBackColor field.- Specified by:
setSeparateBackColorin interfaceTwoSidedMaterial- Parameters:
val- The boolean to set.
-