com.threerings.opengl.renderer.config
Class FogStateConfig.Exponential

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.renderer.config.FogStateConfig
          extended by com.threerings.opengl.renderer.config.FogStateConfig.Enabled
              extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.renderer.config.FogStateConfig
FogStateConfig.Disabled, FogStateConfig.Enabled, FogStateConfig.Exponential, FogStateConfig.Linear
 
Field Summary
 float density
          The fog density.
 boolean squared
          Whether or not to square the exponential function.
 
Fields inherited from class com.threerings.opengl.renderer.config.FogStateConfig.Enabled
color
 
Constructor Summary
FogStateConfig.Exponential()
           
FogStateConfig.Exponential(FogStateConfig.Enabled other)
           
 
Method Summary
 FogState getState()
          Returns the corresponding fog state.
 
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

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.

Constructor Detail

FogStateConfig.Exponential

public FogStateConfig.Exponential(FogStateConfig.Enabled other)

FogStateConfig.Exponential

public FogStateConfig.Exponential()
Method Detail

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.