set_niagara_decal_renderer_material
Assign a material to a Decal renderer at a specific index in a Niagara System emitter and save the system. Returns previous and new material paths.
Instructions
Assign a material to the Decal renderer at renderer_index of one emitter in a Niagara System asset and save the system; a failed save returns success false. Returns the previous and new material paths and changed. For sprite, ribbon or mesh renderers use set_niagara_renderer_material.
Returns: { system_path, emitter_name, renderer_index, previous_material_path, new_material_path, changed, saved }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| system_path | Yes | Niagara System asset path, e.g. "/Game/Niagara/NS_Example"; the call fails without it. | |
| emitter_name | Yes | Display name of the emitter handle that owns the renderer (case-insensitive); the call fails without it. | |
| material_path | Yes | Object path of the UMaterialInterface to assign, e.g. "/Game/Decals/M_Blood.M_Blood". | |
| renderer_index | Yes | 0-based index in the renderer list of the emitter, in get_niagara_emitter_renderers order; that renderer must be a Decal renderer. The call fails without it. |