Class RandomNode<T>
Base class for nodes that return a random value.
Inheritance
object
RandomNode<T>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
[Obsolete("Nodes aren't directly dependant on a graph anymore. You can use the parameterless constructor instead. This constructor will be removed with version 2.0.")]
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()