niagara_set_spawn_rate
Sets or updates a Niagara emitter's spawn rate (particles per second) in Unreal Engine. Directly modifies the SpawnRate module on the specified system and emitter.
Instructions
Add or update an emitter SpawnRate module and set its particles-per-second value.
KB: see knowledge_base/09_NIAGARA_VFX.md#overview Example: niagara_set_spawn_rate(system_path="/Game/MCP_Test/Example", spawn_rate=0.0)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"system_path": "<system_path>",
"spawn_rate": "<spawn_rate>"
},
"name": "niagara_set_spawn_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| emitter_id | No | ||
| spawn_rate | Yes | ||
| system_path | Yes | ||
| emitter_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |