Table of Contents

Class MapDrawer

Namespace
Root
Assembly
SPZGameAssembly.dll
public class MapDrawer
Inheritance
object
MapDrawer
Extension Methods

Constructors

MapDrawer(IMapModel, IEnumerable<IMapSubDrawer>, IMapCuller, ILogger)

public MapDrawer(IMapModel map, IEnumerable<IMapSubDrawer> subDrawers, IMapCuller culler, ILogger logger)

Parameters

map IMapModel
subDrawers IEnumerable<IMapSubDrawer>
culler IMapCuller
logger ILogger

Properties

LastCullResult

public MapCullResult LastCullResult { get; }

Property Value

MapCullResult

Methods

AddSubDrawer(IMapSubDrawer)

public void AddSubDrawer(IMapSubDrawer subDrawer)

Parameters

subDrawer IMapSubDrawer

Dispose()

public void Dispose()

Draw(FrameDrawOptionsNoLOD)

public void Draw(FrameDrawOptionsNoLOD options)

Parameters

options FrameDrawOptionsNoLOD

IndexOf<T>()

public int IndexOf<T>()

Returns

int

Type Parameters

T

InsertRenderer(int, IMapSubDrawer)

public void InsertRenderer(int index, IMapSubDrawer mapSubDrawer)

Parameters

index int
mapSubDrawer IMapSubDrawer

RemoveSubDrawer(IMapSubDrawer)

public bool RemoveSubDrawer(IMapSubDrawer subDrawer)

Parameters

subDrawer IMapSubDrawer

Returns

bool

RemoveSubDrawerAt(int)

public void RemoveSubDrawerAt(int index)

Parameters

index int

RemoveSubDrawerOfType<T>()

public void RemoveSubDrawerOfType<T>()

Type Parameters

T