Writting expressions in the niagara stack editor

As i don’t find a dynamic input that suits my need for creating a specific fx in the niagara stack, i’d like to write a custom expression. Problem is i’m pretty new to coding and i don’t know what language is used for those niagara expressions; is it C++? what rules should i follow? is there any resources that explained it in detail?
thanks

We just use HLSL for the expressions. A good place to look is the custom expressions sample asset in the Content Examples Niagara map. For more information about HLSL, see https://docs.microsoft.com/en-us/windows/desktop/direct3dhlsl/dx-graphics-hlsl-reference

ok thanks… where can i found the “Content Examples Niagara map”? didn’t find those in the epic launcher…

Download from the learn tab in the Unreal Engine section of the launcher. It’s around the middle of the list, called Content Examples. Download that project and open it. One of the included maps has Niagara assets within it.

Livestream describing first two rooms: Twitch

not even here: https://docs.unrealengine.com/en-us/Resources/ContentExamples

Niagara is still in early access and documentation is one of the last things that we do. Future releases will start to fill in those gaps.

ok i figured it out; the content example project from the epic launcher is dated of 2015, so i ignored it since niagara was only implemented in 2018. But i decided to give it a shot anyway and turns out theres a niagara level inside; the date mentioned is the date from the first iteration of the project, not the updated one, so i’ve been a bit confused; sorry about that.
thanks again for the info :wink:

yeah i know but can’t wait to use it for these project, very useful in my case. Anyway i found this niagara exemple project, it was a bit hidden, i explain how i found it below if anyone interested

oups didn’t see you there… As i said the content example project from the epic launcher is dated of 2015, so i ignored it since niagara was only implemented in 2018. But i decided to give it a shot anyway and turns out theres a niagara level inside; the date mentioned is the date from the first iteration of the project, not the updated one, so i’ve been a bit confused; sorry about that. thanks again for the info :wink: