ue-niagara-effects

Control Unreal Engine Niagara particle systems from C++ code.

304|46|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/quodsoler/unreal-engine-skills --skill ue-niagara-effects
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ue-niagara-effects
Source: https://github.com/quodsoler/unreal-engine-skills/tree/main/skills/ue-niagara-effects
Command: npx skills add https://github.com/quodsoler/unreal-engine-skills --skill ue-niagara-effects

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill empowers developers to control Unreal Engine's powerful Niagara particle effects system directly from C++ code, enabling dynamic and responsive visual effects in games and simulations.

Core Features & Use Cases

  • Spawn & Control Effects: Spawn one-shot or persistent Niagara systems at specific locations or attached to components.
  • Parameter Manipulation: Dynamically set particle system parameters (scalars, vectors, colors, etc.) from C++ at runtime.
  • Data Interface Binding: Connect C++ data sources (like skeletal meshes, static meshes, or custom arrays) to Niagara Data Interfaces for advanced effects.
  • Lifecycle Management: Control activation, deactivation, pausing, and completion callbacks for effects.
  • Performance Optimization: Utilize pooling and understand scalability settings for efficient VFX.
  • Use Case: Create a C++ function that spawns an explosion effect at a projectile's impact location, dynamically setting the impact color and intensity based on the damage dealt.

Quick Start

Use the ue-niagara-effects skill to spawn a system at location with the asset 'FX/VFX_Explosion.uasset' at the actor's current location.

Frequently Asked Questions about ue-niagara-effects

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I spawn a Niagara particle system at a specific location using C++?

To spawn a Niagara particle system in C++, you can instantiate the system at a specific world location or attach it directly to an actor component. This allows you to trigger one-shot or persistent visual effects dynamically during gameplay.

How do I set user-exposed Niagara parameters from C++ at runtime?

You can dynamically set Niagara parameters from C++ at runtime by accessing the system component and updating user-exposed variables. Supported parameter types include floats, vectors, colors, and objects, allowing real-time customization of visual effects.

Can I bind C++ data like skeletal meshes to Niagara Data Interfaces?

Yes, you can bind C++ data sources to Niagara Data Interfaces. This supports connecting skeletal meshes, static meshes, and custom arrays directly to your particle systems, enabling advanced data-driven visual effects based on game logic.

What is the best way to manage Niagara system lifecycle and completion callbacks in C++?

Managing Niagara system lifecycle in C++ involves explicitly calling activate, deactivate, and pause functions. You can also implement completion callbacks to execute specific game logic immediately after a one-shot particle effect finishes playing.

How do I optimize Niagara VFX performance through pooling and scalability in C++?

To optimize Niagara VFX performance in C++, you should utilize system pooling and configure scalability settings. This approach minimizes overhead from frequent spawning and ensures efficient visual effects rendering across different hardware capabilities.

Does Niagara VFX require server handling when controlled via C++?

When controlling Niagara VFX via C++, server handling is an important consideration for networked games. The Skill provides guidance on managing server-side replication and execution to ensure visual effects sync correctly across multiplayer environments.