com.threerings.tudey.config
Class TudeyViewerEffectConfig.Camera

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

public static class TudeyViewerEffectConfig.Camera
extends TudeyViewerEffectConfig

Adds a camera to the view.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.tudey.config.TudeyViewerEffectConfig
TudeyViewerEffectConfig.Camera
 
Nested classes/interfaces inherited from class com.threerings.opengl.scene.config.ViewerEffectConfig
ViewerEffectConfig.BackgroundColor, ViewerEffectConfig.Particles, ViewerEffectConfig.RenderEffect, ViewerEffectConfig.Skybox, ViewerEffectConfig.Sound
 
Field Summary
 CameraConfig camera
          The camera configuration.
 Easing easing
          The easing to use for the transition.
 float transition
          The transition to use when switching to or from the camera.
 
Constructor Summary
TudeyViewerEffectConfig.Camera()
           
 
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

transition

@Editable(min=0.0,
          step=0.01)
public float transition
The transition to use when switching to or from the camera.


easing

@Editable
public Easing easing
The easing to use for the transition.


camera

@Editable
public CameraConfig camera
The camera configuration.

Constructor Detail

TudeyViewerEffectConfig.Camera

public TudeyViewerEffectConfig.Camera()
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.