Description

Represents the Random Node in ReturnGraph. Is converted to a RandomRuntimeNode for runtime use. The RandomNode selects the next node in the graph using a random value generated each time the graph is run.

The RandomNode defines its output ports using a integer node option, which MUST be greater than 2.

Methods

Method Description
OnDefineOptions Adds an option to the node for an integer value, which is used to draw a corresponding number of output ports.
OnDefinePorts Defines the input and output ports for the node. An integer option is used to define the number of output ports.
BuildRuntimeNode Returns a RandomRuntimeNode.

A RandomNode with an invalid number of Output ports specified in its “Output Ports” option.

A RandomNode with an invalid number of Output ports specified in its “Output Ports” option.

A valid RandomNode.

A valid RandomNode.