com.threerings.opengl.scene.config
Class ViewerEffectConfig.BackgroundColor

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.scene.config.ViewerEffectConfig
          extended by com.threerings.opengl.scene.config.ViewerEffectConfig.BackgroundColor
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
ViewerEffectConfig

public static class ViewerEffectConfig.BackgroundColor
extends ViewerEffectConfig

Changes the background color.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.scene.config.ViewerEffectConfig
ViewerEffectConfig.BackgroundColor, ViewerEffectConfig.Particles, ViewerEffectConfig.RenderEffect, ViewerEffectConfig.Skybox, ViewerEffectConfig.Sound
 
Field Summary
 Color4f color
          The background color.
 
Constructor Summary
ViewerEffectConfig.BackgroundColor()
           
 
Method Summary
 ViewerEffect getViewerEffect(GlContext ctx, Scope scope, ViewerEffect effect)
          Creates the actual effect object.
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

color

@Editable
public Color4f color
The background color.

Constructor Detail

ViewerEffectConfig.BackgroundColor

public ViewerEffectConfig.BackgroundColor()
Method Detail

getViewerEffect

public ViewerEffect getViewerEffect(GlContext ctx,
                                    Scope scope,
                                    ViewerEffect effect)
Description copied from class: ViewerEffectConfig
Creates the actual effect object.

Specified by:
getViewerEffect in class ViewerEffectConfig
effect - an effect to reuse, if possible.


Copyright © 2011. All Rights Reserved.