Package org.web3d.x3d.sai.Interpolation
Interface X3DInterpolatorNode
- All Superinterfaces:
X3DChildNode,X3DNode
- All Known Subinterfaces:
ColorInterpolator,CoordinateInterpolator,CoordinateInterpolator2D,GeoPositionInterpolator,NormalInterpolator,OrientationInterpolator,PositionInterpolator,PositionInterpolator2D,ScalarInterpolator,SplinePositionInterpolator,SplinePositionInterpolator2D,SplineScalarInterpolator,SquadOrientationInterpolator
- All Known Implementing Classes:
ColorInterpolatorObject,CoordinateInterpolator2DObject,CoordinateInterpolatorObject,GeoPositionInterpolatorObject,NormalInterpolatorObject,OrientationInterpolatorObject,PositionInterpolator2DObject,PositionInterpolatorObject,ScalarInterpolatorObject,SplinePositionInterpolator2DObject,SplinePositionInterpolatorObject,SplineScalarInterpolatorObject,SquadOrientationInterpolatorObject
public interface X3DInterpolatorNode extends X3DChildNode
Interpolator nodes are designed for linear keyframed animation. Interpolators are driven by an input key ranging [0..1] and produce corresponding piecewise-linear output functions.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
-
Method Summary
Modifier and Type Method Description float[]getKey()Provide array of float results from inputOutput MFFloat field named key.X3DMetadataObjectgetMetadata()Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.X3DInterpolatorNodesetKey(float[] newValue)Accessor method to assign float array to inputOutput MFFloat field named key.X3DInterpolatorNodesetMetadata(X3DMetadataObject newValue)Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
-
Method Details
-
getKey
float[] getKey()Provide array of float results from inputOutput MFFloat field named key.- Returns:
- value of key field
-
setKey
Accessor method to assign float array to inputOutput MFFloat field named key.- Parameters:
newValue- is new value for the key field.- Returns:
X3DInterpolatorNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getMetadata
X3DMetadataObject getMetadata()Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadatain interfaceX3DChildNode- Specified by:
getMetadatain interfaceX3DNode- Returns:
- value of metadata field
- See Also:
- X3D Scene Authoring Hints: Metadata Nodes
-
setMetadata
Accessor method to assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadatain interfaceX3DChildNode- Specified by:
setMetadatain interfaceX3DNode- Parameters:
newValue- is new value for the metadata field.- Returns:
X3DInterpolatorNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
- X3D Scene Authoring Hints: Metadata Nodes
-