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

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

public static class ViewerEffectConfig.Skybox
extends ViewerEffectConfig

Sets the skybox.


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<ModelConfig> model
          The configuration of the skybox model.
 Vector3f translationOrigin
          The skybox translation origin.
 Vector3f translationScale
          The skybox translation scale.
 
Constructor Summary
ViewerEffectConfig.Skybox()
           
 
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

model

@Editable(nullable=true)
public ConfigReference<ModelConfig> model
The configuration of the skybox model.


translationScale

@Editable(step=0.0010,
          hgroup="t")
public Vector3f translationScale
The skybox translation scale.


translationOrigin

@Editable(step=0.01,
          hgroup="t")
public Vector3f translationOrigin
The skybox translation origin.

Constructor Detail

ViewerEffectConfig.Skybox

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