Game.Rendering.HeatmapData
Assembly: Assembly-CSharp
Namespace: Game.Rendering
Type: enum
Base: System.Enum (underlying type: System.Int32)
Summary:
Enumeration of available heatmap/overlay visualization modes used by the renderer to display various city simulation data as colored maps. Each value corresponds to a specific data channel (e.g., pollution, population, resources) that can be rendered as an in-game heatmap for debugging, UI overlays, or mod tooling.
Fields
-
None
No heatmap — disables any overlay. -
GroundWater
Shows groundwater levels (water table depth / saturation) across tiles/terrain. -
GroundPollution
Displays pollution concentrated in soil / ground contamination. -
AirPollution
Shows airborne pollution levels (smog, particulates) across the city. -
Wind
Visualizes wind direction and/or magnitude used by simulation (useful for dispersion effects). -
WaterFlow
Displays surface/river water flow directions and strengths. -
TelecomCoverage
Shows telecommunication/network coverage strength (cell/antenna/wifi) across the map. -
Fertility
Displays soil fertility values used by agricultural systems (crop suitability). -
Ore
Shows distribution/intensity of ore deposits for mining. -
Oil
Displays locations and richness of oil deposits. -
LandValue
Visualizes land value (property desirability) used for zoning and pricing. -
Attraction
Shows attraction or tourism draw of areas (attractiveness to visitors). -
Customers
Visualizes customer density or potential customer bases for commercial buildings. -
Workplaces
Displays workplace density, job availability or workplace distribution heatmap. -
Services
Shows the reach/coverage/impact of city services (garbage, healthcare, fire, etc.). -
Noise
Visualizes noise pollution levels across the map. -
WaterPollution
Displays pollution levels in surface water bodies (rivers, lakes). -
Population
Shows population density distribution. -
GroundWaterPollution
Displays contamination specifically in groundwater supplies. -
Fish
Visualizes fish population or fishing resource density in water bodies.
Properties
- None (enum type; no instance properties)
Constructors
- None (enums are value types backed by integral values. Instances are created by assigning one of the defined names.)
Methods
- None (no instance methods defined on the enum; use standard System.Enum methods if needed)
Usage Example
// Select a heatmap mode
Game.Rendering.HeatmapData currentHeatmap = Game.Rendering.HeatmapData.LandValue;
// Example: switch to handle different rendering logic
switch (currentHeatmap)
{
case Game.Rendering.HeatmapData.LandValue:
// render land value overlay
break;
case Game.Rendering.HeatmapData.Noise:
// render noise overlay
break;
case Game.Rendering.HeatmapData.None:
// disable overlays
break;
// handle other modes...
}
// Getting the numeric backing value (if needed)
int numeric = (int)Game.Rendering.HeatmapData.Population;