add_niagara_decal_renderer
Add decal renderer properties to a Niagara emitter with material, source mode, visibility, and screen-size fade, then compile and save the system.
Instructions
Add a NiagaraDecalRendererProperties (UNiagaraDecalRendererProperties) to a Niagara emitter with decal-specific defaults applied via reflection. Companion to add_niagara_renderer with renderer_type='Decal' — use this cmd when you want to seed decal config (material, source mode, visibility tag, screen-size fade) in the same call. Then requests a system compile and saves.
Returns: { system_path, emitter_name, renderer_index, renderer_class, material_path, source_mode, renderer_visibility, decal_screen_size_fade, renderer_count, save_error? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_mode | No | Optional ENiagaraRendererSourceDataMode name (Particles/Emitter). Default Particles. | |
| system_path | Yes | Asset path of the Niagara System (e.g. "/Game/Niagara/NS_Example"). | |
| emitter_name | Yes | Name of the emitter handle (the human-readable name in the system's emitter list). | |
| material_path | No | Optional asset path; sets the renderer's Material UPROPERTY. | |
| renderer_visibility | No | Optional int32 visibility tag (default 0). | |
| decal_screen_size_fade | No | Optional float fade threshold (default 0.0). |