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

Detailed Description

visualizes a building value by scaling a transform along Y
used for the risk and service bars in THREE

https://citybuilder.softleitner.com/manual

Inheritance diagram for CityBuilderCore.BuildingScaledBar:
CityBuilderCore.BuildingValueBar

Public Attributes

Transform ScaleTransform
 
MeshRenderer BarRenderer
 

Properties

Material BarMaterial [get, set]
 
- Properties inherited from CityBuilderCore.BuildingValueBar
IBuilding Building [get]
 
virtual bool IsGlobal [get]
 

Additional Inherited Members

- Public Member Functions inherited from CityBuilderCore.BuildingValueBar
virtual void Initialize (IBuilding building, IBuildingValue value)
 
bool HasValue ()
 
float GetMaximum ()
 
float GetValue ()
 
Vector3 GetPosition ()
 
float GetRatio ()
 
- Protected Attributes inherited from CityBuilderCore.BuildingValueBar
IBuilding _building
 
IBuildingValue _value