Package org.web3d.x3d.sai.texturing
Interface MultiTexture
- All Superinterfaces:
X3DAppearanceChildNode,X3DNode,X3DTextureNode
- All Known Implementing Classes:
SAIMultiTexture,SAIMultiTexture
Defines the requirements of an X3D MultiTexture node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionfloatgetAlpha()Return the alpha float value.voidgetColor(float[] val) Return the color value in the argument float[]voidgetFunction(String[] val) Return the function value in the argument String[]voidReturn the mode value in the argument String[]intReturn the number of MFString items in the function field.intReturn the number of MFString items in the mode field.intReturn the number of MFString items in the source field.intReturn the number of MFNode items in the texture field.voidReturn the source value in the argument String[]voidgetTexture(X3DNode[] val) Return the texture value in the argument X3DNode[]voidsetAlpha(float val) Set the alpha field.voidsetColor(float[] val) Set the color field.voidsetFunction(String[] val) Set the function field.voidSet the mode field.voidSet the source field.voidsetTexture(X3DNode[] val) Set the texture field.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Method Details
-
getNumMode
int getNumMode()Return the number of MFString items in the mode field.- Returns:
- the number of MFString items in the mode field.
-
getMode
Return the mode value in the argument String[]- Parameters:
val- The String[] to initialize.
-
setMode
-
getNumTexture
int getNumTexture()Return the number of MFNode items in the texture field.- Returns:
- the number of MFNode items in the texture field.
-
getTexture
Return the texture value in the argument X3DNode[]- Parameters:
val- The X3DNode[] to initialize.
-
setTexture
-
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.
-
getAlpha
float getAlpha()Return the alpha float value.- Returns:
- The alpha float value.
-
setAlpha
void setAlpha(float val) Set the alpha field.- Parameters:
val- The float to set.
-
getNumFunction
int getNumFunction()Return the number of MFString items in the function field.- Returns:
- the number of MFString items in the function field.
-
getFunction
Return the function value in the argument String[]- Parameters:
val- The String[] to initialize.
-
setFunction
-
getNumSource
int getNumSource()Return the number of MFString items in the source field.- Returns:
- the number of MFString items in the source field.
-
getSource
Return the source value in the argument String[]- Parameters:
val- The String[] to initialize.
-
setSource
-