Table of Contents

Class FogSettings

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Serializable class for configuring fog settings in a region, including mode, color, density, and transition properties.

[Serializable]
public class FogSettings
Inheritance
FogSettings
Inherited Members

Fields

ChangeRate

The rate at which fog settings change (e.g., for smooth transitions between regions).

public float ChangeRate

Field Value

float

Color

The color of the fog.

public Color Color

Field Value

Color

Density

The density of the fog (used in exponential modes).

public float Density

Field Value

float

Enabled

Whether fog is enabled for the region.

public bool Enabled

Field Value

bool

EndDistance

The ending distance from the camera where fog reaches full effect (used in linear mode).

public float EndDistance

Field Value

float

Mode

The mode of the fog (Linear, Exponential, ExponentialSquared).

public FogMode Mode

Field Value

FogMode

StartDistance

The starting distance from the camera where fog begins (used in linear mode).

public float StartDistance

Field Value

float