Overview of Procedural Toolkit Runtime modules
masterThe toolkit is organized into several functional modules:
Core Runtime
- ArrayE: Extensions for Arrays and Lists (e.g., looped getters, flood fills).
- CellularAutomaton: Generic two-state cellular automaton.
- ColorE / ColorHSV: Color extensions and HSV color representation.
- MeshDraft / CompoundMeshDraft: Helpers for mesh generation.
- RandomE: Random data generation and collection extensions.
- VectorE / TextureE / MeshE: Extensions for Unity's core types.
Building Generation
- BuildingGenerator: The main class for generating reusable buildings based on configurations and strategies.
- Layout / Facade / Roof: Interfaces and classes for facade and roof generation (e.g.,
HorizontalLayout,VerticalLayout,FacadePlanner).
Geometry & Algorithms
- Geometry: Utility class for computational geometry (point samplers, etc.).
- Primitives: Representations for
Circle2,Circle3,Sphere,Line2,Line3,Segment2, andSegment3. - Intersections / Distance / Closest: Specialized modules for intersection, distance, and closest point algorithms.
- StraightSkeleton: Tools for straight skeleton generation via
StraightSkeletonGenerator.
Third-Party Wrappers
- ClipperLib: Access Clipper via
PathClipperandPathOffsetter. - LibTessDotNet: Access LibTess via the
Tessellatorwrapper. - FastNoiseLib: Integration of the FastNoise library.