Table of Contents

Class BeltPortSenderToHubSimulationRenderer

Namespace
Root
Assembly
SPZGameAssembly.dll
[UsedImplicitly]
public class BeltPortSenderToHubSimulationRenderer : StatefulTileSimulationRenderer<ConnectableBuildingSimulation, BeltPortSenderToHubSimulation, BeltPortSenderToHubSimulationRenderer.Data>, ISimulationRenderer
Inheritance
object
BeltPortSenderToHubSimulationRenderer
Implements
Inherited Members
Extension Methods

Constructors

BeltPortSenderToHubSimulationRenderer(IMapModel, DrawData, ISimulationSpeedReader, IBuildingSoundManager, ILogger)

public BeltPortSenderToHubSimulationRenderer(IMapModel map, BeltPortSenderEntityMetaBuildingDefinition.DrawData drawData, ISimulationSpeedReader simulationSpeed, IBuildingSoundManager soundManager, ILogger logger)

Parameters

map IMapModel
drawData BeltPortSenderEntityMetaBuildingDefinition.DrawData
simulationSpeed ISimulationSpeedReader
soundManager IBuildingSoundManager
logger ILogger

Methods

CleanupDataForSimulation(ConnectableBuildingSimulation, BeltPortSenderToHubSimulation, Data)

protected override void CleanupDataForSimulation(ConnectableBuildingSimulation localizedSimulation, BeltPortSenderToHubSimulation simulation, BeltPortSenderToHubSimulationRenderer.Data data)

Parameters

localizedSimulation ConnectableBuildingSimulation
simulation BeltPortSenderToHubSimulation
data BeltPortSenderToHubSimulationRenderer.Data

ComputeBounds(ConnectableBuildingSimulation)

protected override Bounds ComputeBounds(ConnectableBuildingSimulation localizedSimulation)

Parameters

localizedSimulation ConnectableBuildingSimulation

Returns

Bounds

CreateDataForSimulation(ConnectableBuildingSimulation, BeltPortSenderToHubSimulation)

protected override BeltPortSenderToHubSimulationRenderer.Data CreateDataForSimulation(ConnectableBuildingSimulation localizedSimulation, BeltPortSenderToHubSimulation simulation)

Parameters

localizedSimulation ConnectableBuildingSimulation
simulation BeltPortSenderToHubSimulation

Returns

BeltPortSenderToHubSimulationRenderer.Data

Draw(FrameDrawOptionsNoLOD, MapCullResult)

public override void Draw(FrameDrawOptionsNoLOD options, MapCullResult cullResult)

Parameters

options FrameDrawOptionsNoLOD
cullResult MapCullResult

OnDrawDynamic(in Entity, FrameDrawOptions)

protected override void OnDrawDynamic(in StatefulSimulationRenderer<ConnectableBuildingSimulation, BeltPortSenderToHubSimulation, BeltPortSenderToHubSimulationRenderer.Data>.Entity entity, FrameDrawOptions options)

Parameters

entity StatefulSimulationRenderer<ConnectableBuildingSimulation, BeltPortSenderToHubSimulation, BeltPortSenderToHubSimulationRenderer.Data>.Entity
options FrameDrawOptions

ShouldDraw(FrameDrawOptionsNoLOD)

public override bool ShouldDraw(FrameDrawOptionsNoLOD options)

Parameters

options FrameDrawOptionsNoLOD

Returns

bool