csFog Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Attributes
csFog Struct Reference
Crystal Space 3D Engine

Sector fog structure. More...

`#include <iengine/sector.h>`

List of all members.

## Public Attributes
csColor4 | color
| Color.
float | density
| Density (for CS_FOG_MODE_LINEAR, CS_FOG_MODE_EXP, CS_FOG_MODE_EXP2, CS_FOG_MODE_CRYSTALSPACE)
float | end
| Fog fade end distance (for CS_FOG_MODE_LINEAR).
float | limit
| The limit after which the fog is no longer shown (for rings of fog) (for CS_FOG_MODE_LINEAR).
csFogMode | mode
| Fog mode.
float | start
| Fog fade start distance (for CS_FOG_MODE_LINEAR).

## Detailed Description

Sector fog structure.

Definition at line 76 of file sector.h.

## Member Data Documentation

csColor4 csFog::color

Color.

Definition at line 81 of file sector.h.

float csFog::density

Density (for CS_FOG_MODE_LINEAR, CS_FOG_MODE_EXP, CS_FOG_MODE_EXP2, CS_FOG_MODE_CRYSTALSPACE)

Definition at line 79 of file sector.h.

float csFog::end

Fog fade end distance (for CS_FOG_MODE_LINEAR).

Definition at line 85 of file sector.h.

float csFog::limit

The limit after which the fog is no longer shown (for rings of fog) (for CS_FOG_MODE_LINEAR).

Definition at line 87 of file sector.h.

csFogMode csFog::mode

Fog mode.

Definition at line 89 of file sector.h.

float csFog::start

Fog fade start distance (for CS_FOG_MODE_LINEAR).

Definition at line 83 of file sector.h.

The documentation for this struct was generated from the following file:

- iengine/sector.h