|
|||||||||
| 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.CompletedOp, Model.Implementation |
| Nested classes/interfaces inherited from interface com.threerings.opengl.scene.SceneElement |
|---|
SceneElement.TickPolicy |
| Field Summary | |
|---|---|
protected Updater |
_updater
The updater to call before each tick. |
| Fields inherited from class com.threerings.opengl.model.Model |
|---|
_colorState, _completedOp, _config, _ctx, _definitions, _epoch, _fogState, _impl, _influences, _lastVisit, _lightState, _localTransform, _observers, _projections, _renderScheme, _scene, _userObject, _visible, DEFINITION_INFLUENCE, FOG_INFLUENCE, LIGHT_INFLUENCE, NULL_IMPLEMENTATION, PROJECTION_INFLUENCE |
| Fields inherited from class com.threerings.expr.DynamicScope |
|---|
_compoundDepth, _listeners, _owner, _parentScope, _scopeName, _symbols, INVALID_SCOPE |
| 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Updater _updater
| 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 | ||||||||