Table of Contents

Class StatelessIslandSimulationRenderer<TSimulation, TDrawData>

Namespace
Root
Assembly
SPZGameAssembly.dll
public abstract class StatelessIslandSimulationRenderer<TSimulation, TDrawData> : IslandSimulationRenderer<TSimulation>, ISimulationRenderer, IIslandSimulationRenderer where TSimulation : ISimulation where TDrawData : IIslandCustomDrawData

Type Parameters

TSimulation
TDrawData
Inheritance
object
StatelessIslandSimulationRenderer<TSimulation, TDrawData>
Implements
Derived
Inherited Members
Extension Methods

Constructors

StatelessIslandSimulationRenderer(IMapModel)

protected StatelessIslandSimulationRenderer(IMapModel map)

Parameters

map IMapModel

Fields

Map

protected readonly IMapModel Map

Field Value

IMapModel

Methods

Draw(FrameDrawOptionsNoLOD, MapCullResult)

public override sealed void Draw(FrameDrawOptionsNoLOD options, MapCullResult cullResult)

Parameters

options FrameDrawOptionsNoLOD
cullResult MapCullResult

OnDrawDynamic(in Entity, FrameDrawOptions)

protected virtual void OnDrawDynamic(in StatelessIslandSimulationRenderer<TSimulation, TDrawData>.Entity entity, FrameDrawOptions options)

Parameters

entity StatelessIslandSimulationRenderer<TSimulation, TDrawData>.Entity
options FrameDrawOptions

RegisterSimulation(ILocalizedSimulation)

public override sealed void RegisterSimulation(ILocalizedSimulation localizedSimulation)

Parameters

localizedSimulation ILocalizedSimulation

ShouldDraw(LODRenderConfig)

protected virtual bool ShouldDraw(LODRenderConfig lod)

Parameters

lod LODRenderConfig

Returns

bool

UnregisterSimulation(ILocalizedSimulation)

public override sealed void UnregisterSimulation(ILocalizedSimulation localizedSimulation)

Parameters

localizedSimulation ILocalizedSimulation