|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.ShallowObject
com.threerings.opengl.scene.ViewerEffect
public abstract class ViewerEffect
Base class for things in the scene that affect the viewer.
| Constructor Summary | |
|---|---|
ViewerEffect()
|
|
| Method Summary | |
|---|---|
void |
activate(Scene scene)
Notes that the effect is now acting on the viewer. |
void |
deactivate()
Notes that the effect is no longer acting on the viewer. |
Color4f |
getBackgroundColor()
Returns the background color associated with this effect, or null for
none. |
Box |
getBounds()
Returns a reference to the bounds of the object. |
boolean |
hasCompleted()
Determines whether the effect has completed. |
boolean |
omitWhileLoading()
A hint indicating taht we should omit this effect while loading (used for sounds, to prevent them from playing until we're fully loaded). |
void |
reset()
Resets the effect. |
void |
update()
Called once per frame while the effect is active. |
boolean |
updateLastVisit(int visit)
Checks and updates the last visit value. |
| Methods inherited from class com.threerings.util.ShallowObject |
|---|
equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ViewerEffect()
| Method Detail |
|---|
public Color4f getBackgroundColor()
null for
none.
public void activate(Scene scene)
public void deactivate()
public void update()
public boolean hasCompleted()
public void reset()
public boolean omitWhileLoading()
public Box getBounds()
SceneObject
getBounds in interface SceneObjectpublic boolean updateLastVisit(int visit)
SceneObject
updateLastVisit in interface SceneObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||