TerrainGen
24 tools in this family (folder Editor/Tools/TerrainGen/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.
| Tool | Effect | Description |
|---|---|---|
terrain_add_biome | writes | Register a biome graph weighted by weight. When the runtime has >=1 biome, the host graph is |
terrain_add_node | writes | Add a new node of a given kind to a graph. Kinds: perlin_noise, simplex_noise, ridged_noise, |
terrain_apply_preset | writes | Replace the contents of a graph asset with a baked preset. |
terrain_configure_erosion | writes | Configure a hydraulic_erosion node's particle-droplet parameters (Beyer 2015 model). |
terrain_configure_scatter | writes | Configure a scatter / forest / random_scatter node: density, distance, prototype index, etc. |
terrain_connect_nodes | writes | Connect an output port to an input port. Refuses cycles and port-type mismatches. |
terrain_create_graph | writes | Create a new procedural terrain graph asset (GenGraph) at the given path. |
terrain_export_graph | writes | Export the graph to a JSON file (portable representation). |
terrain_export_heightmap | writes | Export the heightmap of a tile to a PNG. The encoding packs 16-bit precision into the R+G |
terrain_generate_minimap | writes | Render a top-down minimap PNG for a square block of tiles around (tile_x, tile_z). Each tile is |
terrain_generate_river_network | writes | Compute the D8 flow-accumulation river network for the current heightmap of a tile and |
terrain_generate_tile | writes | Synchronously evaluate the graph for a single tile (x,z) and apply the result to a Unity Terrain. |
terrain_get_graph_info | read-only | Return graph statistics: node count, connection count, list of output nodes, list of nodes |
terrain_import_graph | writes | Import a JSON graph (produced by terrain_export_graph) into a fresh asset. Reconstructs |
terrain_import_heightmap | writes | Import a PNG as the base of a graph: a new stamp node is added with the imported matrix |
terrain_paint_height | writes | Apply a height brush delta at a world position. Stamped onto the tile under the brush and |
terrain_paint_splat | writes | Paint a splatmap-layer alpha delta at a world position. Layer index refers to the splat_output |
terrain_pin_tile | writes | Pin or unpin a tile so it survives camera-driven redeploy and skips regeneration. |
terrain_remove_node | writes | Remove a node and every connection touching it. |
terrain_set_node_param | writes | Set one or more parameters on a graph node. Parameter names depend on the node kind |
terrain_set_seed | writes | Set the graph's deterministic seed and propagate to the live runtime. |
terrain_setup_infinite | writes | Enable camera-tracked infinite-terrain mode. Tiles within generate_radius of the tracker |
terrain_setup_terrain | writes | Spawn a GameObject in the active scene with a TerrainGenerator component bound to the graph. |
terrain_validate_graph | read-only | Run static analysis on the graph: cycle detection, orphan references, dangling inputs, and a |