add_niagara_user_parameter
Add a typed user parameter to a Niagara System, supporting primitives, structs, enums, and data interfaces.
Instructions
Add a user parameter to a Niagara System. Supports every type the editor's User Parameters "+" menu can add — primitives, structs, enums, and Data Interfaces.
Use list_niagara_parameter_types to discover valid type names before calling.
Args: system_path: Path to the Niagara System asset parameter_name: Name for the new parameter (auto-prefixed with "User.") parameter_type: Type name. Resolved via NiagaraTypeRegistry, so anything Niagara registered is valid. Examples: - Primitives: "float", "int", "bool", "Vector2", "Vector", "Vector4", "LinearColor", "Quat", "Position", "Matrix" - Niagara structs: "NiagaraID", "NiagaraRandInfo", "NiagaraSpawnInfo" - Enums: "ENiagaraExecutionState", any registered UEnum path - Data Interfaces (bare or prefixed): "ArrayFloat", "ArrayVector", "ArrayVector4", "ArrayInt32", "Curve", "Vector2DCurve", "VectorCurve", "Vector4Curve", "CurlNoise", "Grid2D", "Grid3D", "SkeletalMesh", "StaticMesh", "Texture", "TextureCube", "VolumeTexture", "Texture2DArray", "RenderTarget2D", "SplineComponent", "Camera", "Collision", "PhysicsAsset", "Spline", and any other NiagaraDataInterface subclass including plugin-provided ones. default_value: Optional default. For scalars pass as string or number; for vector/color/struct pass UE-standard text form like "(X=1,Y=2,Z=3)" or "(R=1,G=0.5,B=0,A=1)". Data interfaces use the CDO defaults — use set_niagara_user_parameter afterwards for richer initialization.
Returns the created parameter with its resolved type name, kind (primitive / struct / enum / data_interface / object), size_bytes, and (for DIs) class_path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| system_path | Yes | ||
| default_value | No | ||
| parameter_name | Yes | ||
| parameter_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |