Package org.web3d.x3d.sai
Interface X3DColorNode
- All Superinterfaces:
X3DGeometricPropertyNode
,X3DNode
- All Known Implementing Classes:
SAIColor
,SAIColor
,SAIColorRGBA
,SAIColorRGBA
Defines the requirements of an X3DColorNode abstract node type
- Version:
- $Revision: 1.4 $
- Author:
- Rex Melton
-
Method Summary
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Method Details
-
getNumColor
int getNumColor()Return the number of MFColor items in the color field.- Returns:
- the number of MFColor items in the color field.
-
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.
-