|
||||||||||
| 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.scene.SceneInfluencer
public class SceneInfluencer
A model implementation that exerts an influence over scene elements.
| Field Summary |
|---|
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
SceneInfluencer(GlContext ctx,
Scope parentScope,
SceneInfluencerConfig config)
Creates a new influencer implementation. |
|
| Method Summary | |
|---|---|
void |
composite()
Adds this object's Dependencys and Enqueueables to the compositor in
preparation for rendering. |
void |
drawBounds()
Draws the bounds of the model in immediate mode. |
void |
enqueue()
Enqueues this object for rendering. |
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. |
void |
reset()
Resets the state of this model. |
void |
setConfig(SceneInfluencerConfig config)
Sets the configuration of this model. |
void |
updateBounds()
Updates the bounds of the model. |
void |
wasAdded()
Notes that the model was added to a scene. |
void |
willBeRemoved()
Notes that the model will be removed from the scene. |
| Methods inherited from class com.threerings.opengl.model.Model.Implementation |
|---|
attach, createAnimation, detach, detachAll, getAnimation, getAnimations, getIntersection, getPlayingAnimations, getPointWorldTransform, getScopeName, getTickPolicy, hasCompleted, isImplementation, setTickPolicy, tick |
| 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 SceneInfluencer(GlContext ctx,
Scope parentScope,
SceneInfluencerConfig config)
| Method Detail |
|---|
public void setConfig(SceneInfluencerConfig config)
public void enqueue()
Enqueueable
enqueue in interface Enqueueablepublic 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 void drawBounds()
Model.Implementation
drawBounds in class Model.Implementationpublic void wasAdded()
Model.Implementation
wasAdded in class Model.Implementationpublic void willBeRemoved()
Model.Implementation
willBeRemoved in class Model.Implementationpublic void composite()
CompositableDependencys and Enqueueables to the compositor in
preparation for rendering.
composite in interface Compositablecomposite in class Model.Implementation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||