|
||||||||||
| 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.Imported
public static class Animation.Imported
An imported implementation.
| Field Summary |
|---|
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
Animation.Imported(GlContext ctx,
Scope parentScope,
AnimationConfig.Imported config)
Creates a new imported 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.Imported 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.Imported(GlContext ctx,
Scope parentScope,
AnimationConfig.Imported config)
| Method Detail |
|---|
public void setConfig(AnimationConfig.Imported 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 | |||||||||