set_niagara_renderer_material
Assign a material asset to a Niagara renderer's Material field (Sprite/Ribbon/Mesh), then compile and save the system and read back the material path for verification.
Instructions
Set the Material UPROPERTY on a Niagara renderer (Sprite/Ribbon/Mesh). Loads the material, sets it on the renderer's public Material field, requests a system compile and saves. Reads back to verify the material path is now bound.
Returns: { system_path: string, emitter_name: string, renderer_index: int, renderer_class: string, material_path: string, material_path_read_back: string, save_error?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| system_path | Yes | Asset path of the Niagara System. | |
| emitter_name | Yes | Name of the emitter handle. | |
| material_path | Yes | Asset path of the UMaterialInterface to assign. | |
| renderer_index | Yes | 0-based index of the renderer (use get_niagara_emitter_renderers to find the index) |