|
||||||||||
| 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.Procedural
public static class Animation.Procedural
A procedural implementation.
| Field Summary |
|---|
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
Animation.Procedural(GlContext ctx,
Scope parentScope,
AnimationConfig.Procedural config)
Creates a new procedural 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 |
scopeUpdated(ScopeEvent event)
Called when the scope has been updated. |
void |
setConfig(AnimationConfig.Procedural 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Animation.Procedural(GlContext ctx,
Scope parentScope,
AnimationConfig.Procedural config)
| Method Detail |
|---|
public void setConfig(AnimationConfig.Procedural 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).public void scopeUpdated(ScopeEvent event)
ScopeUpdateListener
scopeUpdated in interface ScopeUpdateListenerscopeUpdated in class SimpleScope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||