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

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.Sound
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
ViewerEffectConfig

public static class ViewerEffectConfig.Sound
extends ViewerEffectConfig

Plays a sound.


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
 ConfigReference<SounderConfig> sounder
          The configuration of the sounder that will play the sound.
 
Constructor Summary
ViewerEffectConfig.Sound()
           
 
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

sounder

@Editable(nullable=true)
public ConfigReference<SounderConfig> sounder
The configuration of the sounder that will play the sound.

Constructor Detail

ViewerEffectConfig.Sound

public ViewerEffectConfig.Sound()
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.