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
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).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfloat[]getKey()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.setMetadata(X3DMetadataObject newValue) 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
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:
getMetadatain interfaceX3DChildNode- Specified by:
getMetadatain interfaceX3DNode- Returns:
- value of metadata field
- See Also:
-
setMetadata
Accessor method to assign org.web3d.x3d.sai.Core.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:
-