Class RandomPointsNode
Provides a set of random points within the given bounds.
Inherited Members
Namespace: InsaneScatterbrain.MapGraph
Syntax
[ScriptNode("Random Points", "Points", true)]
[Serializable]
public class RandomPointsNode : ProcessorNode, IProcessorNode, IProviderNode, IConsumerNode, IScriptNode, INode
Properties
Bounds
The latest given bounds. Only available in the editor.
Declaration
public Vector2Int Bounds { get; }
Property Value
Type | Description |
---|---|
Vector2Int |
Points
The latest generated random points. Only available in the editor.
Declaration
public Vector2Int[] Points { get; }
Property Value
Type | Description |
---|---|
Vector2Int[] |
Methods
OnProcess()
Contains all the processing logic of this node. Called by Process.
Declaration
protected override void OnProcess()