Random vector
Creates random vector value(s).
Inputs
-
spherical
- Sets whether the random vector(s) are created spherically or not (i.e. all created vectors have a magnitude of
1
) or not. When set tofalse
, random vectors will randomize each vector component (x, y, and z) between-1
and1
(or0
and1
if the positive values input is set totrue
).
- Sets whether the random vector(s) are created spherically or not (i.e. all created vectors have a magnitude of
-
positive values
- Sets whether to only output positive vector components (x, y, and z) or not.
-
use seed
- Sets whether to use a seed or not. Only relevant when the spherical input is set to
false
.
- Sets whether to use a seed or not. Only relevant when the spherical input is set to
-
seed
- The seed of the created random vector value when use seed is set to
true
.
- The seed of the created random vector value when use seed is set to
-
#
- The number of random vector values that are created.
Outputs
-
result
- The created random vector value.
-
result list
- The list of created random vector values.
Note(s)
-
If the use seed input is set to
false
, a new random vector value will be created each time the node is computed. -
Both the use seed and seed inputs are only relevant when the spherical input is set to
false
. -
Other names for this node include: RandomVectorV2, Float, and Rand.