com.threerings.opengl.renderer.config
Class LightConfig.Spot
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.renderer.config.LightConfig
com.threerings.opengl.renderer.config.LightConfig.Point
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.
direction
@Editable(mode="normalized",
hgroup="d")
public Vector3f direction
- The spot direction.
falloff
@Editable(hgroup="d")
public LightConfig.Falloff falloff
- The falloff parameters.
LightConfig.Spot
public LightConfig.Spot(LightConfig.Point other)
LightConfig.Spot
public LightConfig.Spot(LightConfig other)
LightConfig.Spot
public LightConfig.Spot()
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.