Class dnx.ice.Fog
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dnx.ice.Fog

java.lang.Object
   |
   +----dnx.ice.Fog

public class Fog
extends Object

Variable Index

 o density
Fog density, for EXPONENTIAL and EXPONENTIAL_SQUARED fog.
 o end
Distance from the viewer at which fog obscures completely.
 o EXPONENTIAL
 o EXPONENTIAL_SQUARED
 o LINEAR
 o NONE
Fog types
 o start
Distance from the viewer where fog begins.
 o type
The type of fog: either NONE, LINEAR, EXPONENTIAL, or EXPONENTIAL_SQUARED.

Constructor Index

 o Fog()

Method Index

 o setColor(Color)
 o setColor(float, float, float)

Variables

 o NONE
  public final static int NONE
Fog types
 o LINEAR
  public final static int LINEAR
 o EXPONENTIAL
  public final static int EXPONENTIAL
 o EXPONENTIAL_SQUARED
  public final static int EXPONENTIAL_SQUARED
 o type
  public int type
The type of fog: either NONE, LINEAR, EXPONENTIAL, or EXPONENTIAL_SQUARED.
 o start
  public float start
Distance from the viewer where fog begins. Relevant only for fog of type LINEAR.
 o end
  public float end
Distance from the viewer at which fog obscures completely. Relevant only for fog of type LINEAR.
 o density
  public float density
Fog density, for EXPONENTIAL and EXPONENTIAL_SQUARED fog.

Constructors

 o Fog
  public Fog()

Methods

 o setColor
  public void setColor(Color c)
 o setColor
  public void setColor(float r,
                       float g,
                       float b)

All Packages  Class Hierarchy  This Package  Previous  Next  Index