Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai
Interface X3DInterpolatorNode

All Superinterfaces:
X3DChildNode, X3DNode
All Known Subinterfaces:
ColorInterpolator, CoordinateInterpolator, CoordinateInterpolator2D, GeoPositionInterpolator, NormalInterpolator, OrientationInterpolator, PositionInterpolator, PositionInterpolator2D, ScalarInterpolator

public interface X3DInterpolatorNode
extends X3DChildNode

Defines the requirements of an X3DInterpolatorNode abstract node type

Version:
$Revision: 1.5 $
Author:
Rex Melton

Method Summary
 void getKey(float[] val)
          Return the key value in the argument float[]
 int getNumKey()
          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 Detail

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.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium