Package org.web3d.x3d.sai
Interface X3DInterpolatorNode
- All Superinterfaces:
X3DChildNode
,X3DNode
- All Known Subinterfaces:
ColorInterpolator
,CoordinateInterpolator
,CoordinateInterpolator2D
,GeoPositionInterpolator
,NormalInterpolator
,OrientationInterpolator
,PositionInterpolator
,PositionInterpolator2D
,ScalarInterpolator
- All Known Implementing Classes:
SAIColorInterpolator
,SAIColorInterpolator
,SAICoordinateInterpolator
,SAICoordinateInterpolator
,SAICoordinateInterpolator2D
,SAICoordinateInterpolator2D
,SAIGeoPositionInterpolator
,SAIGeoPositionInterpolator
,SAINormalInterpolator
,SAINormalInterpolator
,SAIOrientationInterpolator
,SAIOrientationInterpolator
,SAIPositionInterpolator
,SAIPositionInterpolator
,SAIPositionInterpolator2D
,SAIPositionInterpolator2D
,SAIScalarInterpolator
,SAIScalarInterpolator
Defines the requirements of an X3DInterpolatorNode abstract node type
- Version:
- $Revision: 1.5 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getKey
(float[] val) Return the key value in the argument float[]int
Return the number of MFFloat items in the key field.void
setFraction
(float val) Set the fraction field.void
setKey
(float[] val) Set the key field.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
-
Method Details
-
getNumKey
int getNumKey()Return the number of MFFloat items in the key field.- Returns:
- the number of MFFloat items in the key field.
-
getKey
void getKey(float[] val) Return the key value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setKey
void setKey(float[] val) Set the key field.- Parameters:
val
- The float[] to set.
-
setFraction
void setFraction(float val) Set the fraction field.- Parameters:
val
- The float to set.
-