com.threerings.opengl.renderer.config
Class LightConfig.Point
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.renderer.config.LightConfig
com.threerings.opengl.renderer.config.LightConfig.Point
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Direct Known Subclasses:
- LightConfig.Spot
- Enclosing class:
- LightConfig
public static class LightConfig.Point
- extends LightConfig
A point light.
position
@Editable(step=0.01,
hgroup="p")
public Vector3f position
- The location of the light.
attenuation
@Editable(hgroup="p")
public LightConfig.Attenuation attenuation
- The light's attenuation parameters.
LightConfig.Point
public LightConfig.Point(LightConfig.Point other)
LightConfig.Point
public LightConfig.Point(LightConfig other)
LightConfig.Point
public LightConfig.Point()
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
Copyright © 2011. All Rights Reserved.