set_niagara_component_matrix
Set a 4x4 Matrix override parameter on a spawned Niagara component by actor and variable name, enabling UEAgent to configure Unreal Engine 5 particle effects.
Instructions
Sets a Matrix (FMatrix) override parameter on a spawned Niagara component. Resolves the UNiagaraComponent on the owner actor and calls SetVariableMatrix with a 4x4 row-major matrix built from 16 floats. UNiagaraComponent does NOT expose GetNiagaraVariableMatrix as public API, so round-trip readback is not available; verified:true means the set call succeeded.
Returns: { actor_name: string, variable_name: string, variable_type: string, set: bool, verified: bool, value_read_back: [number x 16] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matrix | No | Array of 16 numbers in 4x4 row-major order (M00, M01, ..., M33). | |
| actor_name | Yes | Owner actor identifier (internal name or editor label). | |
| variable_name | Yes | Niagara variable name (override is added locally if needed). |