com.threerings.opengl.scene.config
Class ViewerEffectConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.scene.config.ViewerEffectConfig
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
TudeyViewerEffectConfig, ViewerEffectConfig.BackgroundColor, ViewerEffectConfig.Particles, ViewerEffectConfig.RenderEffect, ViewerEffectConfig.Skybox, ViewerEffectConfig.Sound

@EditorTypes(value={ViewerEffectConfig.Sound.class,ViewerEffectConfig.BackgroundColor.class,ViewerEffectConfig.Skybox.class,ViewerEffectConfig.Particles.class,ViewerEffectConfig.RenderEffect.class,TudeyViewerEffectConfig.class})
public abstract class ViewerEffectConfig
extends DeepObject
implements Exportable

The configuration of an effect.


Nested Class Summary
static class ViewerEffectConfig.BackgroundColor
          Changes the background color.
static class ViewerEffectConfig.Particles
          Adds a particle effect.
static class ViewerEffectConfig.RenderEffect
          Adds a render effect.
static class ViewerEffectConfig.Skybox
          Sets the skybox.
static class ViewerEffectConfig.Sound
          Plays a sound.
 
Constructor Summary
ViewerEffectConfig()
           
 
Method Summary
abstract  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
 

Constructor Detail

ViewerEffectConfig

public ViewerEffectConfig()
Method Detail

getViewerEffect

public abstract ViewerEffect getViewerEffect(GlContext ctx,
                                             Scope scope,
                                             ViewerEffect effect)
Creates the actual effect object.

Parameters:
effect - an effect to reuse, if possible.


Copyright © 2011. All Rights Reserved.