|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.opengl.renderer.config.LightConfig
@EditorTypes(value={LightConfig.Directional.class,LightConfig.Point.class,LightConfig.Spot.class})
public abstract class LightConfigRepresents the state of a single light.
| Nested Class Summary | |
|---|---|
static class |
LightConfig.Attenuation
Represents the light's attenuation coefficients. |
static class |
LightConfig.Colors
Represents the colors of the light. |
static class |
LightConfig.Directional
A directional light. |
static class |
LightConfig.Falloff
Represents the spot light falloff. |
static class |
LightConfig.Point
A point light. |
static class |
LightConfig.Spot
A spot light. |
| Field Summary | |
|---|---|
LightConfig.Colors |
colors
The color of the light. |
| Constructor Summary | |
|---|---|
LightConfig()
|
|
LightConfig(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 |
|---|
@Editable(hgroup="p") public LightConfig.Colors colors
| Constructor Detail |
|---|
public LightConfig(LightConfig other)
public LightConfig()
| Method Detail |
|---|
public Light createLight(GlContext ctx,
Scope scope,
List<Updater> updaters)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||