|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Keyframe
This interface represents any object which can be used to represent a keyframe on an animation track.
Every Keyframe class should also provide a constructor of the following form, which reconstructs the keyframe from its serialized representation. public KeyframeClass(DataInputStream in, Object parent) throws IOException, InvalidObjectException
Method Summary | |
---|---|
Keyframe |
blend(Keyframe o2,
double weight1,
double weight2)
Return a new Keyframe which is a weighted average of this one and one other. |
Keyframe |
blend(Keyframe o2,
Keyframe o3,
double weight1,
double weight2,
double weight3)
Return a new Keyframe which is a weighted average of this one and two others. |
Keyframe |
blend(Keyframe o2,
Keyframe o3,
Keyframe o4,
double weight1,
double weight2,
double weight3,
double weight4)
Return a new Keyframe which is a weighted average of this one and three others. |
Keyframe |
duplicate()
Create a duplicate of this keyframe. |
Keyframe |
duplicate(java.lang.Object owner)
Create a duplicate of this keyframe for a (possibly different) object. |
boolean |
equals(Keyframe k)
Determine whether this keyframe is identical to another one. |
double[] |
getGraphValues()
Get the list of graphable values for this keyframe. |
void |
setGraphValues(double[] values)
Set the list of graphable values for this keyframe. |
void |
writeToStream(java.io.DataOutputStream out)
Write out a representation of this keyframe to a stream. |
Method Detail |
---|
Keyframe duplicate()
Keyframe duplicate(java.lang.Object owner)
double[] getGraphValues()
void setGraphValues(double[] values)
Keyframe blend(Keyframe o2, double weight1, double weight2)
Keyframe blend(Keyframe o2, Keyframe o3, double weight1, double weight2, double weight3)
Keyframe blend(Keyframe o2, Keyframe o3, Keyframe o4, double weight1, double weight2, double weight3, double weight4)
boolean equals(Keyframe k)
void writeToStream(java.io.DataOutputStream out) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |