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 to false, random vectors will randomize each vector component (x, y, and z) between -1 and 1 (or 0 and 1 if the positive values input is set to true).
  • 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.
  • seed

    • The seed of the created random vector value when use seed is set to true.
  • #

    • 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.

Example(s)