|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.expr.DynamicScope
com.threerings.opengl.model.Model
com.threerings.opengl.scene.Scene.Transient
public static class Scene.Transient
Extends the normal model class to include an optional pre-tick updater.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.threerings.opengl.model.Model |
|---|
Model.Implementation |
| Nested classes/interfaces inherited from interface com.threerings.opengl.scene.SceneElement |
|---|
SceneElement.TickPolicy |
| Field Summary |
|---|
| Fields inherited from class com.threerings.opengl.model.Model |
|---|
DEFINITION_INFLUENCE, FOG_INFLUENCE, LIGHT_INFLUENCE, PROJECTION_INFLUENCE |
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
Scene.Transient(GlContext ctx,
ConfigReference<ModelConfig> ref)
Creates a new transient model. |
|
| Method Summary | |
|---|---|
void |
setUpdater(Updater updater)
Installs an updater that will be called before each tick. |
void |
tick(float elapsed)
Updates the state of this object based on the elapsed time in seconds. |
| Methods inherited from class com.threerings.expr.DynamicScope |
|---|
addListener, endCompoundUpdate, getParentScope, getScopeName, put, remove, removeListener, scopeUpdated, setParentScope, startCompoundUpdate |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Scene.Transient(GlContext ctx,
ConfigReference<ModelConfig> ref)
| Method Detail |
|---|
public void setUpdater(Updater updater)
public void tick(float elapsed)
Tickable
tick in interface Tickabletick in class Model
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||