Class LabelSimulationRenderer
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
[UsedImplicitly]
public class LabelSimulationRenderer : StatefulBuildingSimulationRenderer<LabelSimulation, LabelMetaBuildingDefinition.DrawData, DefaultBuildingCustomSoundData, LabelSimulationRenderer.Data>, ISimulationRenderer, IBuildingSimulationRenderer
- Inheritance
-
objectStatefulBuildingSimulationRenderer<LabelSimulation, LabelMetaBuildingDefinition.DrawData, DefaultBuildingCustomSoundData, LabelSimulationRenderer.Data>LabelSimulationRenderer
- Implements
- Inherited Members
- Extension Methods
Constructors
LabelSimulationRenderer(IMapModel, IBuildingSoundManager, ITextMeshAccessor)
public LabelSimulationRenderer(IMapModel map, IBuildingSoundManager soundManager, ITextMeshAccessor textMeshAccessor)
Parameters
mapIMapModelsoundManagerIBuildingSoundManagertextMeshAccessorITextMeshAccessor
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
buildingBuildingModelsimulationLabelSimulationtransformGlobalTileTransformdefinitionIBuildingDefinitioncustomSoundDataDefaultBuildingCustomSoundData
Returns
OnDrawDynamic(in Entity, FrameDrawOptions)
protected override void OnDrawDynamic(in StatefulBuildingSimulationRenderer<LabelSimulation, LabelMetaBuildingDefinition.DrawData, DefaultBuildingCustomSoundData, LabelSimulationRenderer.Data>.Entity entity, FrameDrawOptions options)