create_landscape_layer_info
Creates and saves the LandscapeLayerInfo asset needed before an Unreal terrain paint layer can store weight for grass, rock, sand, or snow.
Instructions
Create and save the LandscapeLayerInfo asset that a terrain paint layer needs before it can hold weight (grass, rock, sand, snow...). Step 1 of three: create the asset here, register it on the terrain with add_landscape_layer, then paint weight with paint_landscape_layer. Idempotent-ish -- an existing asset comes back with already_exists=true.
Returns: { name: string, package_path: string, asset_path: string, layer_name: string, layer_info_class: string, created: bool, already_exists: bool, saved: bool, message: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Asset name, e.g. LI_Grass | |
| layer_name | No | Engine-side weight layer name, defaults to asset name | |
| package_path | No | Target content path, defaults to /Game/Landscape |