gestalt.render.plugin
Class Fog

java.lang.Object
  extended by gestalt.shape.AbstractDrawable
      extended by gestalt.render.plugin.Fog
All Implemented Interfaces:
Drawable, CameraPlugin
Direct Known Subclasses:
JoglFog

public abstract class Fog
extends AbstractDrawable
implements CameraPlugin


Field Summary
 boolean enable
           
 int filter
           
 
Constructor Summary
Fog()
           
 
Method Summary
 void begin(GLContext theRenderContext)
           
 Color color()
           
 float density()
           
 void density(float theFogDensity)
           
 float end()
           
 void end(float theFogEnd)
           
 float getFogEnd()
          Deprecated.  
 float getFogStart()
          Deprecated.  
 boolean isActive()
          returns whether the drawable is active.
 void mode(int theFogfilter)
           
 void setActive(boolean theActive)
           
 void setColorRef(Color theFogColor)
           
 void setFogDensity(float theFogDensity)
          Deprecated.  
 void setFogEnd(float theFogEnd)
          Deprecated.  
 void setFogMode(int theFogfilter)
          Deprecated.  
 void setFogStart(float theFogStart)
          Deprecated.  
 float start()
           
 void start(float theFogStart)
           
 
Methods inherited from class gestalt.shape.AbstractDrawable
add, getSortData, getSortValue, isSortable, setSortValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gestalt.shape.material.CameraPlugin
end
 
Methods inherited from interface gestalt.render.Drawable
draw
 

Field Detail

filter

public int filter

enable

public boolean enable
Constructor Detail

Fog

public Fog()
Method Detail

mode

public void mode(int theFogfilter)

start

public void start(float theFogStart)

end

public void end(float theFogEnd)

start

public float start()

end

public float end()

density

public void density(float theFogDensity)

density

public float density()

setFogMode

public void setFogMode(int theFogfilter)
Deprecated. 


setFogStart

public void setFogStart(float theFogStart)
Deprecated. 


setFogEnd

public void setFogEnd(float theFogEnd)
Deprecated. 


getFogStart

public float getFogStart()
Deprecated. 


getFogEnd

public float getFogEnd()
Deprecated. 


setFogDensity

public void setFogDensity(float theFogDensity)
Deprecated. 


color

public Color color()

setColorRef

public void setColorRef(Color theFogColor)

setActive

public void setActive(boolean theActive)

isActive

public boolean isActive()
Description copied from interface: Drawable
returns whether the drawable is active. it is commonly implemented so that the drawables 'draw' method will be ommitted if 'isActive' return false, although this behavior can vary depending on the implementation.

Specified by:
isActive in interface Drawable
Overrides:
isActive in class AbstractDrawable
Returns:
boolean

begin

public void begin(GLContext theRenderContext)
Specified by:
begin in interface CameraPlugin


processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009