random

 

 

This node generates a random number.

 

 

[Inputs]

 

#Particle Stream - This pin requires a particle stream to be connected. If particle is not available, make sure to change the Seed value by some other means. If using Read Voxel for example, particle is not available for connect and you should connect Voxel to the Seed to get randomization on per voxel basis.

 

Enabled - Enable or disable node evaluation.

 

Min Value - Generated numbers cannot be lower than this value.

 

Max Value - Generated numbers cannot be higher than this value.

 

Show as Colors - This option becomes visible when output Value pin type is set to Float3. Enable it if you want to generate random colors since color are generated in a different way than random vectors.

 

Normalize Vector - If enabled, the output vector will be normalized.

 

Seed - Random number generator seed. Change this value to get different numbers. If Particle Stream is connected each particle will generate different random output. In the case that this pin has connection then the seed from particle (if connected) will be ignored and output will change only when the Seed input changes. This is useful if you want to generate random numbers based on particle cluster id, particle group or some other properties.

 

 

[Outputs]

 

Value - Random number.