Class MapDrawer
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public class MapDrawer
- Inheritance
-
objectMapDrawer
- Extension Methods
Constructors
MapDrawer(IMapModel, IEnumerable<IMapSubDrawer>, IMapCuller, ILogger)
public MapDrawer(IMapModel map, IEnumerable<IMapSubDrawer> subDrawers, IMapCuller culler, ILogger logger)
Parameters
mapIMapModelsubDrawersIEnumerable<IMapSubDrawer>cullerIMapCullerloggerILogger
Properties
LastCullResult
public MapCullResult LastCullResult { get; }
Property Value
Methods
AddSubDrawer(IMapSubDrawer)
public void AddSubDrawer(IMapSubDrawer subDrawer)
Parameters
subDrawerIMapSubDrawer
Dispose()
public void Dispose()
Draw(FrameDrawOptionsNoLOD)
public void Draw(FrameDrawOptionsNoLOD options)
Parameters
optionsFrameDrawOptionsNoLOD
IndexOf<T>()
public int IndexOf<T>()
Returns
- int
Type Parameters
T
InsertRenderer(int, IMapSubDrawer)
public void InsertRenderer(int index, IMapSubDrawer mapSubDrawer)
Parameters
indexintmapSubDrawerIMapSubDrawer
RemoveSubDrawer(IMapSubDrawer)
public bool RemoveSubDrawer(IMapSubDrawer subDrawer)
Parameters
subDrawerIMapSubDrawer
Returns
- bool
RemoveSubDrawerAt(int)
public void RemoveSubDrawerAt(int index)
Parameters
indexint
RemoveSubDrawerOfType<T>()
public void RemoveSubDrawerOfType<T>()
Type Parameters
T