LayerProcGen v0.4.0
Layer-based infinite procedural generation
Loading...
Searching...
No Matches
Utilities

LayerProcGen comes with a handful of utilities. The ones in the Runevision.LayerProcGen namespace relate to layer based generation specifically, while those in the Runevision.Common namespace are more general-purpose.

LayerProcGen-specific utilities

Visualization Manager

(Unity-only for now) VisualizationManagerVisualizationManager is a manager for displaying various visualizations of the data layers.

General-purpose utilities

Debug Options

The DebugOptionDebugOption class and related classes is a system for quickly specifying debug options. Most of it is Unity-independent (specification and usage in code, and how the options self-assemble into a hierarchy), while the simple code that displays the controls is Unity-specific.

Object Pools

The IPoolIPool interface represents an object pool that poolable objects can be retrieved from and returned to. It's implemented by ObjectPoolObjectPool, ArrayPoolArrayPool, Array2DPoolArray2DPool, Array3DPoolArray3DPool and ListPoolListPool.

Simple Profiler

SimpleProfilerSimpleProfiler is a simple tool for measuring execution time of generation processes. It's used by the LayerManager.

Logg

LoggLogg is a simple Unity-independent wrapper for logging messages, warnings and errors.

Debug Drawer

(Unity-only for now) DebugDrawerDebugDrawer is a utility for drawing lines for debug visualizations.