random dw
Discrete weighted random number generator. Each value has its own weight that determines the probability of the value to appear on the output. If the sum of all weights is 100 then each weight will directly represent a percentage.
This node is useful with shape reference node (connected to Object Index pin) with multiple objects to define the probability of each object to be assigned to the particle shape.
[Inputs]
#Particle Stream - This pin requires a particle stream to be connected. Connection is usually not required if any of the attributes is connected.
Enabled - Enable or disable node evaluation.
Count - Define how many numbers you will need.
Value - Random number value.
Weight - Weight of the Value which represents its probability to be selected as output value.
[Outputs]
Result - Random number result. Right click on the pin to change the data type.