shout3d.core
Class ScalarInterpolator

java.lang.Object
  |
  +--shout3d.core.Node
        |
        +--shout3d.core.Interpolator
              |
              +--shout3d.core.ScalarInterpolator

public class ScalarInterpolator
extends Interpolator

A ScalarInterpolator


Field Summary
 float[] defaultkeyValue
           
 FloatArrayField key
           
 FloatArrayField keyValue
           
 FloatField value
           
 
Fields inherited from class shout3d.core.Interpolator
fraction
 
Constructor Summary
ScalarInterpolator()
          Constructs a default ScalarInterpolator
 
Method Summary
 void update()
          Call this to update the value field's value based on the time in the current value of the fraction field).
 
Methods inherited from class shout3d.core.Node
getDEFName, getField, getFieldByIndex, getFieldName, getNumFields, getTypeName, isOfType, setDEFName, setViewer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultkeyValue

public final float[] defaultkeyValue

key

public final FloatArrayField key

keyValue

public final FloatArrayField keyValue

value

public final FloatField value
Constructor Detail

ScalarInterpolator

public ScalarInterpolator()
Constructs a default ScalarInterpolator
Method Detail

update

public void update()
Call this to update the value field's value based on the time in the current value of the fraction field). This is automatically called by the viewer, but you can call this at any time to force new output.
Overrides:
update in class Interpolator