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

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.Point
              extended by com.threerings.opengl.renderer.config.LightConfig.Spot
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
LightConfig

public static class LightConfig.Spot
extends LightConfig.Point

A spot 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 spot direction.
 LightConfig.Falloff falloff
          The falloff parameters.
 
Fields inherited from class com.threerings.opengl.renderer.config.LightConfig.Point
attenuation, position
 
Fields inherited from class com.threerings.opengl.renderer.config.LightConfig
colors
 
Constructor Summary
LightConfig.Spot()
           
LightConfig.Spot(LightConfig.Point other)
           
LightConfig.Spot(LightConfig other)
           
 
Method Summary
 Light createLight(GlContext ctx, Scope scope, List<Updater> updaters)
          Creates a light object corresponding to this configuration.
 
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

direction

@Editable(mode="normalized",
          hgroup="d")
public Vector3f direction
The spot direction.


falloff

@Editable(hgroup="d")
public LightConfig.Falloff falloff
The falloff parameters.

Constructor Detail

LightConfig.Spot

public LightConfig.Spot(LightConfig.Point other)

LightConfig.Spot

public LightConfig.Spot(LightConfig other)

LightConfig.Spot

public LightConfig.Spot()
Method Detail

createLight

public Light createLight(GlContext ctx,
                         Scope scope,
                         List<Updater> updaters)
Description copied from class: LightConfig
Creates a light object corresponding to this configuration.

Overrides:
createLight in class LightConfig.Point


Copyright © 2011. All Rights Reserved.