Inheritence

Summary

Game object system that manages clutter generation. Handles infinite streaming layers and executes generation jobs.

Constructors

ClutterGridSystem

Properties

Storage Storage for painted clutter model instances. Serialized with the scene - this is the source of truth for painted clutter.

Methods

ClearAllPainted Clears all painted clutter (both model instances from storage and prefab GameObjects). Does not affect clutter owned by ClutterComponent volumes.
ClearComponent Clears all tiles for a specific component.
Erase Erase instances. Rebuilds on next frame update. Erases both model batches and prefab GameObjects.
Flush Flush painted changes and rebuild visual batches immediately.
InvalidateTileAt Invalidates the tile at the given world position for a component, causing it to regenerate.
InvalidateTilesInBounds Invalidates all tiles within the given bounds for a component, causing them to regenerate.
Paint Paint instance. Rebuilds on next frame update. Models are batched, Prefabs become GameObjects.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.