com.threerings.opengl.renderer.config
Class FogStateConfig.Exponential
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.renderer.config.FogStateConfig
com.threerings.opengl.renderer.config.FogStateConfig.Enabled
com.threerings.opengl.renderer.config.FogStateConfig.Exponential
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- FogStateConfig
public static class FogStateConfig.Exponential
- extends FogStateConfig.Enabled
Exponential fog.
|
Field Summary |
float |
density
The fog density. |
boolean |
squared
Whether or not to square the exponential function. |
density
@Editable(min=0.0,
step=0.0010,
hgroup="p")
public float density
- The fog density.
squared
@Editable(hgroup="p")
public boolean squared
- Whether or not to square the exponential function.
FogStateConfig.Exponential
public FogStateConfig.Exponential(FogStateConfig.Enabled other)
FogStateConfig.Exponential
public FogStateConfig.Exponential()
getState
public FogState getState()
- Description copied from class:
FogStateConfig
- Returns the corresponding fog state.
- Specified by:
getState in class FogStateConfig
Copyright © 2011. All Rights Reserved.