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

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.Linear
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
FogStateConfig

public static class FogStateConfig.Linear
extends FogStateConfig.Enabled

Linear 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 end
          The fog end distance.
 float start
          The fog start distance.
 
Fields inherited from class com.threerings.opengl.renderer.config.FogStateConfig.Enabled
color
 
Constructor Summary
FogStateConfig.Linear()
           
FogStateConfig.Linear(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

start

@Editable(min=0.0,
          step=0.1,
          hgroup="p")
public float start
The fog start distance.


end

@Editable(min=0.0,
          step=0.1,
          hgroup="p")
public float end
The fog end distance.

Constructor Detail

FogStateConfig.Linear

public FogStateConfig.Linear(FogStateConfig.Enabled other)

FogStateConfig.Linear

public FogStateConfig.Linear()
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.