Class RandomNode<T>
Base class for nodes that return a random value.
Inheritance
System.Object
RandomNode<T>
Inherited Members
Namespace: InsaneScatterbrain.MapGraph
Syntax
public abstract class RandomNode<T> : ProcessorNode, IProcessorNode, IProviderNode, IConsumerNode, IScriptNode, INode
Type Parameters
Name | Description |
---|---|
T | Type of random value. |
Constructors
RandomNode()
Declaration
protected RandomNode()
RandomNode(ScriptGraphGraph)
Declaration
protected RandomNode(ScriptGraphGraph graph)
Parameters
Type | Name | Description |
---|---|---|
ScriptGraphGraph | graph |
Methods
GetRandomValue()
Declaration
protected abstract T GetRandomValue()
Returns
Type | Description |
---|---|
T |
OnLoadOutputPorts()
Declaration
public override void OnLoadOutputPorts()
Overrides
OnProcess()
Declaration
protected override void OnProcess()