Loading...
Searching...
No Matches
CityBuilderCore.MeshOverlayManager Class Reference

Detailed Description

implementation of IOverlayManager that visualizes values by setting vertex colors

https://citybuilder.softleitner.com/manual/views

Inheritance diagram for CityBuilderCore.MeshOverlayManager:
CityBuilderCore.IOverlayManager

Public Member Functions

void ActivateOverlay (ViewLayer view)
 activates a layer view that displays a gradient for layer values
 
void ActivateOverlay (ViewConnection view)
 activates a connection view that displays a gradient for connection values
 
void ActivateOverlay (ViewEfficiency view)
 activates a layer view that displays a gradient for building efficiency
 
void ClearOverlay ()
 clears out any previously activated view
 

Public Attributes

MeshRenderer Renderer
 
LayerKeyVisualizer LayerKeyVisualizer
 
ConnectionValueVisualizer ConnectionValueVisualizer
 
bool StretchUVs
 

Protected Member Functions

virtual void Awake ()
 
virtual void Start ()
 

Member Function Documentation

◆ ActivateOverlay() [1/3]

void CityBuilderCore.MeshOverlayManager.ActivateOverlay ( ViewConnection connectionView)
inline

activates a connection view that displays a gradient for connection values

Parameters
connectionViewthe view to activate

Implements CityBuilderCore.IOverlayManager.

◆ ActivateOverlay() [2/3]

void CityBuilderCore.MeshOverlayManager.ActivateOverlay ( ViewEfficiency efficiencyView)
inline

activates a layer view that displays a gradient for building efficiency

Parameters
efficiencyViewthe view to activate

Implements CityBuilderCore.IOverlayManager.

◆ ActivateOverlay() [3/3]

void CityBuilderCore.MeshOverlayManager.ActivateOverlay ( ViewLayer layerView)
inline

activates a layer view that displays a gradient for layer values

Parameters
layerViewthe view to activate

Implements CityBuilderCore.IOverlayManager.

◆ ClearOverlay()

void CityBuilderCore.MeshOverlayManager.ClearOverlay ( )
inline

clears out any previously activated view

Implements CityBuilderCore.IOverlayManager.