com.threerings.opengl.renderer.config
Class LightConfig.Directional

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.renderer.config.LightConfig
          extended by com.threerings.opengl.renderer.config.LightConfig.Directional
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
LightConfig

public static class LightConfig.Directional
extends LightConfig

A directional light.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.renderer.config.LightConfig
LightConfig.Attenuation, LightConfig.Colors, LightConfig.Directional, LightConfig.Falloff, LightConfig.Point, LightConfig.Spot
 
Field Summary
 Vector3f direction
          The direction of the light.
 
Fields inherited from class com.threerings.opengl.renderer.config.LightConfig
colors
 
Constructor Summary
LightConfig.Directional()
           
LightConfig.Directional(LightConfig other)
           
 
Method Summary
protected  Updater createUpdater(GlContext ctx, Scope scope, boolean world, Light light)
          Creates the updater for the light.
 
Methods inherited from class com.threerings.opengl.renderer.config.LightConfig
createLight
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

direction

@Editable(mode="normalized",
          hgroup="p")
public Vector3f direction
The direction of the light.

Constructor Detail

LightConfig.Directional

public LightConfig.Directional(LightConfig other)

LightConfig.Directional

public LightConfig.Directional()
Method Detail

createUpdater

protected Updater createUpdater(GlContext ctx,
                                Scope scope,
                                boolean world,
                                Light light)
Description copied from class: LightConfig
Creates the updater for the light.

Specified by:
createUpdater in class LightConfig