|
||||||||||
| 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.Model.Implementation
com.threerings.opengl.model.Scripted
public class Scripted
A scripted model implementation.
| Field Summary |
|---|
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
Scripted(GlContext ctx,
Scope parentScope,
ScriptedConfig config)
Creates a new scripted implementation. |
|
| Method Summary | |
|---|---|
Box |
getBounds()
Returns a reference to the bounds of the model. |
int |
getInfluenceFlags()
Returns a set of flags indicating the types of influences that affect the model. |
SceneElement.TickPolicy |
getTickPolicy()
Returns the tick policy of the model. |
boolean |
hasCompleted()
Determines whether the model (such as a transient effect) has completed. |
void |
reset()
Resets the state of this model. |
void |
setConfig(ScriptedConfig config)
Sets the configuration of this model. |
void |
tick(float elapsed)
Updates the state of this object based on the elapsed time in seconds. |
void |
updateBounds()
Updates the bounds of the model. |
| Methods inherited from class com.threerings.opengl.model.Model.Implementation |
|---|
attach, composite, createAnimation, detach, detachAll, drawBounds, getAnimation, getAnimations, getIntersection, getPlayingAnimations, getPointWorldTransform, getScopeName, isImplementation, setTickPolicy, wasAdded, willBeRemoved |
| 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 Scripted(GlContext ctx,
Scope parentScope,
ScriptedConfig config)
| Method Detail |
|---|
public void setConfig(ScriptedConfig config)
public boolean hasCompleted()
Model.Implementation
hasCompleted in class Model.Implementationpublic void reset()
Model.Implementation
reset in class Model.Implementationpublic int getInfluenceFlags()
Model.Implementation
getInfluenceFlags in class Model.Implementationpublic Box getBounds()
Model.Implementation
getBounds in class Model.Implementationpublic void updateBounds()
Model.Implementation
updateBounds in class Model.Implementationpublic SceneElement.TickPolicy getTickPolicy()
Model.Implementation
getTickPolicy in class Model.Implementationpublic void tick(float elapsed)
Tickable
tick in interface Tickabletick in class Model.Implementation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||