Table of Contents

Struct FogOfWarStyleParams

Namespace
Map.Rendering.FogOfWar
Assembly
MapAssembly.dll

Style parameters for fog of war rendering (from VisualStyleConfiguration)

public struct FogOfWarStyleParams

Fields

ExploredDesaturation

Desaturation amount for explored areas (0-1)

public float ExploredDesaturation

Field Value

float

ExploredTint

Color tint for explored but not visible provinces

public Color ExploredTint

Field Value

Color

NoiseColor

Color of animated fog noise

public Color NoiseColor

Field Value

Color

NoiseScale

Scale of fog noise pattern

public float NoiseScale

Field Value

float

NoiseSpeed

Animation speed of drifting fog

public float NoiseSpeed

Field Value

float

NoiseStrength

Strength of noise effect (0-1)

public float NoiseStrength

Field Value

float

UnexploredColor

Color for unexplored provinces

public Color UnexploredColor

Field Value

Color

Methods

FromConfig(VisualStyleConfiguration)

Create style params from VisualStyleConfiguration

public static FogOfWarStyleParams FromConfig(VisualStyleConfiguration config)

Parameters

config VisualStyleConfiguration

Returns

FogOfWarStyleParams