Table of Contents

Class LabelSimulationRenderer

Namespace
Root
Assembly
SPZGameAssembly.dll
[UsedImplicitly]
public class LabelSimulationRenderer : StatefulBuildingSimulationRenderer<LabelSimulation, LabelMetaBuildingDefinition.DrawData, DefaultBuildingCustomSoundData, LabelSimulationRenderer.Data>, ISimulationRenderer, IBuildingSimulationRenderer
Inheritance
object
LabelSimulationRenderer
Implements
Inherited Members
Extension Methods

Constructors

LabelSimulationRenderer(IMapModel, IBuildingSoundManager, ITextMeshAccessor)

public LabelSimulationRenderer(IMapModel map, IBuildingSoundManager soundManager, ITextMeshAccessor textMeshAccessor)

Parameters

map IMapModel
soundManager IBuildingSoundManager
textMeshAccessor ITextMeshAccessor

Methods

CreateDataForBuilding(BuildingModel, LabelSimulation, in GlobalTileTransform, IBuildingDefinition, DefaultBuildingCustomSoundData)

protected override LabelSimulationRenderer.Data CreateDataForBuilding(BuildingModel building, LabelSimulation simulation, in GlobalTileTransform transform, IBuildingDefinition definition, DefaultBuildingCustomSoundData customSoundData)

Parameters

building BuildingModel
simulation LabelSimulation
transform GlobalTileTransform
definition IBuildingDefinition
customSoundData DefaultBuildingCustomSoundData

Returns

LabelSimulationRenderer.Data

OnDrawDynamic(in Entity, FrameDrawOptions)

protected override void OnDrawDynamic(in StatefulBuildingSimulationRenderer<LabelSimulation, LabelMetaBuildingDefinition.DrawData, DefaultBuildingCustomSoundData, LabelSimulationRenderer.Data>.Entity entity, FrameDrawOptions options)

Parameters

entity StatefulBuildingSimulationRenderer<LabelSimulation, LabelMetaBuildingDefinition.DrawData, DefaultBuildingCustomSoundData, LabelSimulationRenderer.Data>.Entity
options FrameDrawOptions