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.


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
getClass, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2011. All Rights Reserved.