x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

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

Product Version: UE 4.20
Tags:
more ▼

asked Sep 23 '18 at 03:06 PM in Using UE4

avatar image

dorniedarko
11 1 4 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

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

more ▼

answered Sep 24 '18 at 03:22 PM

avatar image

Shaun Kime STAFF
66 2 3 2

avatar image dorniedarko Sep 25 '18 at 02:37 PM

ok thanks... where can i found the "Content Examples Niagara map"? didn't find those in the epic launcher...

avatar image Shaun Kime STAFF Sep 25 '18 at 03:03 PM

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.

avatar image dorniedarko Sep 27 '18 at 03:02 PM

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

avatar image dorniedarko Sep 25 '18 at 02:59 PM
avatar image dorniedarko Sep 27 '18 at 02:58 PM

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 ;)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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: https://www.twitch.tv/unrealengine/video/289514707

more ▼

answered Sep 25 '18 at 02:44 PM

avatar image

Shaun Kime STAFF
66 2 3 2

avatar image dorniedarko Sep 27 '18 at 03:04 PM

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 ;)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question