|
||||||||||
| 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.SceneInfluence
public abstract class SceneInfluence
Base class for things that influence scene elements.
| Constructor Summary | |
|---|---|
SceneInfluence()
|
|
| Method Summary | |
|---|---|
Color4f |
getAmbientLight()
Returns the ambient light color associated with this influence, or null for
none. |
Box |
getBounds()
Returns a reference to the bounds of the object. |
Tuple<String,Object>[] |
getDefinitions()
Returns the definitions associated with this influence, or null for none. |
FogState |
getFogState()
Returns the fog state associated with this influence, or null for none. |
Light |
getLight()
Returns the light associated with this influence, or null for none. |
Projection |
getProjection()
Returns the projection associated with this influence, or null for none. |
void |
reset()
Resets the influence. |
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 SceneInfluence()
| Method Detail |
|---|
public Color4f getAmbientLight()
null for
none.
public FogState getFogState()
null for none.
public Light getLight()
null for none.
public Projection getProjection()
null for none.
public Tuple<String,Object>[] getDefinitions()
null for none.
public void reset()
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 | |||||||||