name, properties| Constructor and Description |
|---|
KeyframeSequence()
Initializes a new instance of the
KeyframeSequence class. |
KeyframeSequence(java.lang.String name)
Initializes a new instance of the
KeyframeSequence class. |
| Modifier and Type | Method and Description |
|---|---|
void |
add(double time,
float value)
Create a new key frame with specified value
|
void |
add(double time,
float value,
Interpolation interpolation)
Create a new key frame with specified value
|
BindPoint |
getBindPoint()
Gets the property bind point which owns this curve
|
java.util.List<KeyFrame> |
getKeyFrames()
Gets the key frames of this curve.
|
Extrapolation |
getPostBehavior()
Gets the post behavior indicates what the sampled value should be after the last key frame.
|
Extrapolation |
getPreBehavior()
Gets the pre behavior indicates what the sampled value should be before the first key.
|
java.util.Iterator<KeyFrame> |
iterator()
Gets the enumerator to traverse all key frames.
|
void |
reset()
Removes all key frames and reset the post/pre behaviors.
|
findProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setPropertypublic KeyframeSequence(java.lang.String name)
KeyframeSequence class.name - Namepublic KeyframeSequence()
KeyframeSequence class.public BindPoint getBindPoint()
public java.util.List<KeyFrame> getKeyFrames()
public Extrapolation getPostBehavior()
public Extrapolation getPreBehavior()
public void add(double time,
float value)
time - Time position(measured in seconds)value - The value at this time positionpublic void add(double time,
float value,
Interpolation interpolation)
time - Time position(measured in seconds)value - The value at this time positioninterpolation - The interpolation type of this key framepublic void reset()