Difference between revisions of "CoordinateInterpolator"

From Web3D.org
Jump to: navigation, search
 
Line 4: Line 4:
 
<pre>
 
<pre>
 
CoordinateInterpolator : X3DInterpolatorNode {
 
CoordinateInterpolator : X3DInterpolatorNode {
   SFFloat [in]    set_fraction      (-∞,∞)
+
   SFFloat [in]    set_fraction      ()
�MFFloat [in,out] key          []  (-∞,∞)
+
  MFFloat [in,out] key          []  ()
�MFVec3f [in,out] keyValue      []  (-∞,∞)
+
  MFVec3f [in,out] keyValue      []  ()
�SFNode [in,out] metadata      NULL [X3DMetadataObject]
+
  SFNode [in,out] metadata      NULL [X3DMetadataObject]
 
   MFVec3f [out]    value_changed
 
   MFVec3f [out]    value_changed
 
}
 
}

Latest revision as of 23:13, 1 February 2006

CoordinateInterpolator

CoordinateInterpolator : X3DInterpolatorNode {
  SFFloat [in]     set_fraction       ()
  MFFloat [in,out] key           []   ()
  MFVec3f [in,out] keyValue      []   ()
  SFNode  [in,out] metadata      NULL [X3DMetadataObject]
  MFVec3f [out]    value_changed
}

This node linearly interpolates among a list of MFVec3f values to produce an MFVec3f value_changed event. The number of coordinates in the keyValue field shall be an integer multiple of the number of key frames in the key field. That integer multiple defines how many coordinates will be contained in the value_changed events.