|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.expr.SimpleScope
com.threerings.opengl.model.Animation.Implementation
com.threerings.opengl.model.Animation.Sequential
public static class Animation.Sequential
A sequential implementation.
| Field Summary |
|---|
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
Animation.Sequential(GlContext ctx,
Scope parentScope,
AnimationConfig.Sequential config)
Creates a new sequential implementation. |
|
| Method Summary | |
|---|---|
void |
blendTransforms(int update)
Blends in the influence of this animation. |
boolean |
hasCompleted()
Checks whether this animation has completed. |
boolean |
isPlaying()
Determines whether the animation is currently playing. |
void |
setConfig(AnimationConfig.Sequential config)
(Re)configures the implementation. |
void |
start()
Starts the animation. |
boolean |
tick(float elapsed)
Updates this animation based on the elapsed time in seconds. |
void |
updateTransforms()
Updates the transforms directly from this animation. |
| Methods inherited from class com.threerings.opengl.model.Animation.Implementation |
|---|
getPriority, getScopeName, stop, stop |
| Methods inherited from class com.threerings.expr.SimpleScope |
|---|
addListener, dispose, get, getParentScope, removeListener, scopeUpdated |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Animation.Sequential(GlContext ctx,
Scope parentScope,
AnimationConfig.Sequential config)
| Method Detail |
|---|
public void setConfig(AnimationConfig.Sequential config)
public void start()
Animation.Implementation
start in class Animation.Implementationpublic boolean isPlaying()
Animation.Implementation
isPlaying in class Animation.Implementationpublic boolean tick(float elapsed)
Animation.Implementation
tick in class Animation.Implementationpublic boolean hasCompleted()
Animation.Implementation
hasCompleted in class Animation.Implementationpublic void updateTransforms()
Animation.Implementation
updateTransforms in class Animation.Implementationpublic void blendTransforms(int update)
Animation.Implementation
blendTransforms in class Animation.Implementationupdate - the current value of the update counter (used to determine which nodes
have been touched on this update).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||