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
-
density
- Fog density, for EXPONENTIAL and EXPONENTIAL_SQUARED fog.
-
end
- Distance from the viewer at which fog obscures completely.
-
EXPONENTIAL
-
-
EXPONENTIAL_SQUARED
-
-
LINEAR
-
-
NONE
- Fog types
-
start
- Distance from the viewer where fog begins.
-
type
- The type of fog: either NONE, LINEAR, EXPONENTIAL, or
EXPONENTIAL_SQUARED.
-
Fog()
-
-
setColor(Color)
-
-
setColor(float, float, float)
-
NONE
public final static int NONE
- Fog types
LINEAR
public final static int LINEAR
EXPONENTIAL
public final static int EXPONENTIAL
EXPONENTIAL_SQUARED
public final static int EXPONENTIAL_SQUARED
type
public int type
- The type of fog: either NONE, LINEAR, EXPONENTIAL, or
EXPONENTIAL_SQUARED.
start
public float start
- Distance from the viewer where fog begins. Relevant only
for fog of type LINEAR.
end
public float end
- Distance from the viewer at which fog obscures completely.
Relevant only for fog of type LINEAR.
density
public float density
- Fog density, for EXPONENTIAL and EXPONENTIAL_SQUARED fog.
Fog
public Fog()
setColor
public void setColor(Color c)
setColor
public void setColor(float r,
float g,
float b)
All Packages Class Hierarchy This Package Previous Next Index