# Niagara via c++ controller

**URL:** <https://forums.unrealengine.com/t/niagara-via-c-controller/463464>\
**Category:** FX\
**Tags:** particle-systems, unreal-engine, question, CPP\
**Created:** [April 7, 2020, 11:38pm UTC](https://forums.unrealengine.com/t/niagara-via-c-controller/463464 "2020-04-07T23:38:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dazzlesoftware](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dazzlesoftware](https://forums.unrealengine.com/u/dazzlesoftware)\
**Post date:** [April 7, 2020, 11:38pm UTC](https://forums.unrealengine.com/t/niagara-via-c-controller/463464/1 "2020-04-07T23:38:16Z")

</div>

Hello, I trying to figure out what the Niagara alternative is to using UParticleSystem.  
Since my project is only a year in development but I trying to switch over the UParticleSystem code over to Niagara.  
As we have already ported most of our particle code. how are we suppose to call Niagara in game code via c++ as before we could use UParticleSystem\* ParticleSystem = nullptr; for example

thanks in advanced

Stephen

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [April 9, 2020, 1:32pm UTC](https://forums.unrealengine.com/t/niagara-via-c-controller/463464/2 "2020-04-09T13:32:27Z")

</div>

If you looking for class name of asset, look in asset tooltip on side of the name of asset, it asset type name and class name is usually the same. Class name without U prefix is also contained in begining of refrence path, use copy refrence in right click menu of asset and paste somewhere

> **[UNiagaraSystem](https://docs.unrealengine.com/5.1/en-US/API/Plugins/Niagara/UNiagaraSystem/)**
>
> Container for multiple emitters that combine together to create a particle system effect.

Also note that niagara has its own component and dummy actor

> **[ANiagaraActor](https://docs.unrealengine.com/5.1/en-US/API/Plugins/Niagara/ANiagaraActor/)**

> **[UNiagaraComponent](https://docs.unrealengine.com/5.1/en-US/API/Plugins/Niagara/UNiagaraComponent/)**
>
> \[UNiagaraComponent\](API\\Plugins\\Niagara\\UNiagaraComponent) is the primitive component for a Niagara System.
