WARNING : This site is outdated and the PopcornFX team will no longer answer your questions here.
For all support questions please go to our Discord server
0 like 0 dislike
I see UserData field in Sampler properties. Can someone give me an example what it's used for?

It also says it's engine-specific. How can UserData be of help while working with Unity for example?
by Zheljka (720 points)

1 Answer

0 like 0 dislike
Best answer

Yep, UserData is usually used by the C++ programmers who integrates PopcornFX into their Engine. For example, they could say that if an artist write UserData="UseSpecialSmokeShader", then the code will use a special smoke shader to render particles.

UserData is very awkward and Engine specific so not used in Unity. But we are working on a more explicit and generic way to describe "custom render behaviors", but no planned release yet.

by Jordan (14.6k points)