Skip to main content

Random

Creates random values according to certain types, range and specifications. Stores the result into attributes of the flowing entities.

NodeImage_92d65cb9-ef76-40fa-ad69-32707b893e36

Tags: Entity

Parameters

Inputs [Select]
The type of input port.
Setting a Single (circle) input means that the node will be executed once per entity. Useful to choose a different seed for each entity.
Setting a Collective (square) input means that the node will be executed once for all entities. Useful to choose one starting seed for the whole set of entities (yet each entity will have a different random value).
Single [Compound] [Adds ports 1]
Processes one Entity entity at a time.
Collective [Compound] [Adds ports 2]
Processes all Entity entities at a time.
Attributes [Multi-Type List]
List of random values to create. There are many types of random values that can be created, all of which are stored to entity attributes so as to be used in later nodes.
Bool [Compound]
Generates boolean values, either true or false.
Value [Attribute]
Attribute where to store the random boolean.
Color [Compound]
Generates random colors through different possible methods.
Type [Choice]
Type of color generation method to use.
Standard means that a random value will be set for each RGB component.
Offset means that the colors will differ from a chosen random offset. Returns more interesting results.
Hue means that a random hue will be chosen (with maximum saturation and value). Returns more colorful results.
Value [Attribute]
Attribute where to store the random color.
Double [Compound]
Generates random double-precision numbers within a specified range.
Minimum [Double]
Inclusive lower bound of the random number returned.
Maximum [Double]
Exclusive upper bound of the random number returned.
Value [Attribute]
Attribute where to store the random value
File [Compound]
Selects a random file path existing inside a given folder.
Folder [Folder]
Folder from which to extract the random file names.
File Name [Attribute]
Attribute where to store the random file name in.
Float [Compound]
Generates random floating-point numbers within a specified range.
Minimum [Float]
Inclusive lower bound of the random number returned.
Maximum [Float]
Exclusive upper bound of the random number returned.
Value [Attribute]
Attribute where to store the random value
Integer [Compound]
Generates random integer numbers within a specified range.
Minimum [Int]
Inclusive lower bound of the random number returned.
Maximum [Int]
Exclusive upper bound of the random number returned.
Value [Attribute]
Attribute where to store the random value
List [Compound]
Selects a random item from a give list of items.
List [List]
List from which to extract the random value.
Item [Object]
A parameter that accepts any type of data. Is set as an expression by default.
Value [Attribute]
Attribute where to write the random value to.
Vector2D [Compound]
Generates random 2D vectors within a specified range.
Minimum [Vector2D]
Inclusive lower bound of the random vector returned.
Maximum [Vector2D]
Exclusive upper bound of the random vector returned.
Value [Attribute]
Attribute where to store the random value.
Vector3D [Compound]
Generates random 3D vectors within a specified range.
Minimum [Vector3D]
Inclusive lower bound of the random vector returned.
Maximum [Vector3D]
Exclusive upper bound of the random vector returned.
Value [Attribute]
Attribute where to store the random value.
Seed [Int]
Seed that controls the random generator.

Inputs

This node has no native inputs.

Parameter Inputs

  • [1] Single [Single | Entity]: Processes one Entity entity at a time.
  • [2] Collective [Collective | Entity]: Processes all Entity entities at a time.

Outputs

  • Output [Entity]: Entities that were sent to the input.