Hi everybody!
First of all this is my first API experiment, so I am sorry for any stupid question that I am about to ask (And if that's the case thanks for your time and understanding) .
(Background)
I am creating a utility node, that will create some kind of noise (basically returns random like float values depending on the inputs). To calculate this random like values, I need an array of random values (like the gradient table in Perlin noise), and I create this array on fly every time a node is created, and I seed the random function with the current time. And it works okay.
(Problem)
However, it is essential that each node of this type have different gradient tables(array of random values). When I create the nodes one by one, and create a scene with them, they work as I wanted, but when I save the scene and re-open it, they all produce the same results, because of the time seed I use to create array of random values.
(What I want)
Essentially I want my nodes to produce different results, I want to somehow seed the random function of node once manually for each node I created, so they'll behave different even I close and open the scene again.
Is there a way to creating the node with initial parameters?