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 TypeMethodDescriptionfloat
getAlpha()
Return the alpha float value.void
getColor
(float[] val) Return the color value in the argument float[]void
getFunction
(String[] val) Return the function value in the argument String[]void
Return the mode value in the argument String[]int
Return the number of MFString items in the function field.int
Return the number of MFString items in the mode field.int
Return the number of MFString items in the source field.int
Return the number of MFNode items in the texture field.void
Return the source value in the argument String[]void
getTexture
(X3DNode[] val) Return the texture value in the argument X3DNode[]void
setAlpha
(float val) Set the alpha field.void
setColor
(float[] val) Set the color field.void
setFunction
(String[] val) Set the function field.void
Set the mode field.void
Set the source field.void
setTexture
(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
-