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:
ColorInterpolator, CoordinateInterpolator, CoordinateInterpolator2D, GeoPositionInterpolator, NormalInterpolator, OrientationInterpolator, PositionInterpolator, PositionInterpolator2D, ScalarInterpolator, SplinePositionInterpolator, SplinePositionInterpolator2D, SplineScalarInterpolator, SquadOrientationInterpolator

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.

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    float[]
    Provide array of float results from inputOutput MFFloat field named key.
    Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
    setKey(float[] newValue)
    Accessor method to assign float array to inputOutput MFFloat field named key.
    Accessor method to assign org.web3d.x3d.sai.Core.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

      X3DInterpolatorNode setKey(float[] newValue)
      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 org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
      Specified by:
      getMetadata in interface X3DChildNode
      Specified by:
      getMetadata in interface X3DNode
      Returns:
      value of metadata field
      See Also:
    • setMetadata

      X3DInterpolatorNode setMetadata(X3DMetadataObject newValue)
      Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
      Specified by:
      setMetadata in interface X3DChildNode
      Specified by:
      setMetadata in interface X3DNode
      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: