com.threerings.opengl.scene
Class BackgroundColorEffect

java.lang.Object
  extended by com.threerings.util.ShallowObject
      extended by com.threerings.opengl.scene.ViewerEffect
          extended by com.threerings.opengl.scene.BackgroundColorEffect
All Implemented Interfaces:
SceneObject

public class BackgroundColorEffect
extends ViewerEffect

An effect that changes the background color.


Field Summary
protected  Color4f _backgroundColor
          The background color.
 
Fields inherited from class com.threerings.opengl.scene.ViewerEffect
_bounds, _lastVisit
 
Constructor Summary
BackgroundColorEffect(Color4f color)
          Creates a new background color effect.
 
Method Summary
 Color4f getBackgroundColor()
          Returns the background color associated with this effect, or null for none.
 
Methods inherited from class com.threerings.opengl.scene.ViewerEffect
activate, deactivate, getBounds, hasCompleted, omitWhileLoading, reset, update, updateLastVisit
 
Methods inherited from class com.threerings.util.ShallowObject
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_backgroundColor

protected Color4f _backgroundColor
The background color.

Constructor Detail

BackgroundColorEffect

public BackgroundColorEffect(Color4f color)
Creates a new background color effect.

Method Detail

getBackgroundColor

public Color4f getBackgroundColor()
Description copied from class: ViewerEffect
Returns the background color associated with this effect, or null for none.

Overrides:
getBackgroundColor in class ViewerEffect