Home
  • Manual
  • Node Index
  • API
  • Changelog
Show / Hide Table of Contents
  • InsaneScatterbrain
    • Calc
    • Color32EqualityComparer
    • EqualityComparer
    • TrigMath
  • InsaneScatterbrain.DataStructures
    • Pair<T>
  • InsaneScatterbrain.DelaunatorSharp
    • DelaunatorNoAlloc
  • InsaneScatterbrain.Dependencies
    • DependencyContainer
    • DependencyNotFoundException
    • IDependencyContainer
  • InsaneScatterbrain.Editor.Services
    • Assets
  • InsaneScatterbrain.Editor.Updates
    • UpdateAction
    • Updater
  • InsaneScatterbrain.Extensions
    • ColorExtensions
    • ExceptionExtensions
    • FieldInfoExtensions
    • HashSetExtensions
    • IntExtensions
    • ListExtensions
    • RandomExtensions
    • SortedListExtensions
    • StackExtensions
    • Texture2DDrawingExtensions
    • Texture2DExtensions
    • TypeExtensions
    • Vector2Extensions
    • Vector2IntExtensions
  • InsaneScatterbrain.MapGraph
    • AddFloatsNode
    • AddFloatToVector2Node
    • AddFloatToVector3Node
    • AddIntsNode
    • AddIntToVector2IntNode
    • AddIntToVector3IntNode
    • AddRandomEdgesNode
    • AddVector2IntsNode
    • AddVector2sNode
    • AddVector3IntsNode
    • AddVector3sNode
    • ApplyMaskNode
    • Area
    • AreaExtractor
    • AreaGraph
    • AreaGraphBuilder
    • AreaGraphEdge
    • AreaGraphEdgePool
    • AreaGraphPool
    • AreaPool
    • AreasCentroidPointsNode
    • AreasSpecialBorderPointsNode
    • AreasToPointsNode
    • BasicMathOperationNode<T>
    • BasicMathOperationNode<T1, T2, TOut>
    • BspLeafCenterPointsNode
    • BspNode
    • BspNodePool
    • BspTree
    • BspTreePool
    • CellularAutomataSmoothingNode
    • ChangeTextureSizeNode
    • ClampFloatsNode
    • ClampIntsNode
    • CollectionPool<TCollection, TValue>
    • ConnectAreaGraphCentroidsNode
    • ConnectAreaGraphClosestBorderPointsNode
    • ConnectAreaGraphRandomPointsNode
    • ConnectedPointsToPointsNode
    • ConvertTextureToTilemapNode
    • CopyTilemapDataNode
    • CornerPointsNode
    • CurrentOrEmptyTextureNode
    • DataToTextureNode
    • DictionaryPool<TDictionary, TKey, TValue>
    • DivideFloatsNode
    • DivideIntsNode
    • DivideVector2ByFloatNode
    • DivideVector2IntByIntNode
    • DivideVector2IntsNode
    • DivideVector2sNode
    • DivideVector3ByFloatNode
    • DivideVector3IntByIntNode
    • DivideVector3IntsNode
    • DivideVector3sNode
    • DrawAreasNode
    • DrawBorderNode
    • DrawCirclesNode
    • DrawConnectionsBiasedRandomWalkNode
    • DrawGridNode
    • DrawManhattanConnectionsNode
    • DrawNoiseThresholdNode
    • DrawOutlineNode
    • DrawPointsNode
    • DrawRectsNode
    • DrawShortestPathNode
    • EmptyTextureNode
    • ExtractAreasNode
    • ExtractColorNode
    • ExtractPointsNode
    • ExtractPointsWithNeighboursNode
    • FlipTextureNode
    • GenerateAreaGraphNode
    • GenerateMstAreaGraphNode
    • GenerateRstAreaGraphNode
    • HexagonalGridOffsetType
    • InvertMaskNode
    • IObjectType<TEntry, TObject>
    • IObjectTypeEntry<T>
    • IObjectTypeSet<TType, TObject>
    • ListPool<TValue>
    • LoadTextureData
    • MapGraphGraph
    • MapGraphTilemapPrefab
    • Mask
    • MaskPool
    • MaxFloatsNode
    • MaxIntsNode
    • MergeAreasNode
    • MergeMasksNode
    • MergePointsNode
    • MergeTilemapsNode
    • MinFloatsNode
    • MinIntsNode
    • MultiplyFloatsNode
    • MultiplyIntsNode
    • MultiplyVector2ByFloatNode
    • MultiplyVector2IntByIntNode
    • MultiplyVector2IntsNode
    • MultiplyVector2sNode
    • MultiplyVector3ByFloatNode
    • MultiplyVector3IntByIntNode
    • MultiplyVector3IntsNode
    • MultiplyVector3sNode
    • NamedColor
    • NamedColorNode
    • NamedColorSet
    • ObjectType<TEntry, TObject>
    • ObjectTypeEntry<T>
    • ObjectTypeSet<TType, TEntry, TObject>
    • ObjectTypeSetScriptableObject<TType, TEntry, TObject>
    • OpenObjectTypeSet<TType, TEntry, TObject>
    • Outliner
    • PerlinNoiseFillTextureNode
    • PointsToAreasNode
    • PoolInitializer
    • PowerNode
    • PrefabSet
    • PrefabType
    • PrefabTypeEntry
    • RandomBoolNode
    • RandomBspRoomsNode
    • RandomBspTreeNode
    • RandomColorNode
    • RandomExtensions
    • RandomFloatNode
    • RandomIntNode
    • RandomlyFillTextureNode
    • RandomlyStampTilemapsNode
    • RandomNode<T>
    • RandomPointsNode
    • RandomRectsNode
    • RandomRngStateNode
    • RandomVector2IntNode
    • RandomVector2Node
    • RandomVector3IntNode
    • RandomVector3Node
    • RandomWalkerNode
    • RangeRandomNode<T>
    • RectCenterPointsNode
    • RectsToAreasNode
    • ReplaceColorNode
    • ReplaceGameObjectChildrenNode
    • ResizeTextureNode
    • RotateTextureNode
    • RotationalSymmetry
    • SaveData
    • SaveTextureData
    • ScaleTextureNode
    • ScaleTextureToNode
    • ScaleTextureVector2Node
    • ShiftTextureNode
    • SplitConnectionsManhattanNode
    • SquareRootNode
    • StackPool<T>
    • StampNode
    • SubtractFloatFromVector2Node
    • SubtractFloatFromVector3Node
    • SubtractFloatsNode
    • SubtractIntFromVector2IntNode
    • SubtractIntFromVector3IntNode
    • SubtractIntsNode
    • SubtractMaskNode
    • SubtractVector2IntsNode
    • SubtractVector2sNode
    • SubtractVector3IntsNode
    • SubtractVector3sNode
    • TextureData
    • TextureData.Color32ArrayFacade
    • TextureDataDrawingExtensions
    • TextureDataExtensions
    • TextureDataPool
    • TextureSizeNode
    • TextureToChildGameObjectsNode
    • TextureToDataNode
    • TextureToGameObjectsNode
    • TextureToMaskNode
    • TextureToTilemapNode
    • TilemapData
    • TilemapDataPool
    • TilemapSet
    • TilemapToDataNode
    • TilemapToTextureNode
    • TilemapType
    • TilemapTypeEntry
    • Tileset
    • TileType
    • TileTypeEntry
    • TransparentColorNode
    • Vector2IntComparer
    • Vector2IntFromFloats
    • Vector2IntFromInts
    • Vector2IntToInts
    • Vector2IntToVector2
    • Vector3IntComparer
    • WaveformFunctionCollapseNode
  • InsaneScatterbrain.MapGraph.Editor
    • AboutWindow
    • AddRandomEdgesNodeView
    • ApplyMaskNodeView
    • AreaSpecialPointsNodeView
    • CellularAutomataSmoothingNodeView
    • ChangeTextureSizeNodeView
    • CornerPointsNodeView
    • DataSetList<T>
    • DataSetListBase<T>
    • DrawAreasNodeView
    • DrawBorderNodeView
    • DrawCirclesNodeView
    • DrawConnectionsBiasedRandomWalkNodeView
    • DrawGridNodeView
    • DrawManhattanConnectionsNodeView
    • DrawNoiseThresholdNodeView
    • DrawOutlineNodeView
    • DrawPointsNodeView
    • DrawRectsNodeView
    • DrawShortestPathConnectionsNodeView
    • EmptyTextureNodeView
    • ExtractAreasNodeView
    • ExtractColorNodeView
    • ExtractPointsNodeView
    • ExtractPointsWithNeighboursNodeView
    • FlipTextureNodeView
    • GenerateAreaGraphNodeView
    • GenerateMstAreaGraphNodeView
    • GenerateRstAreaGraphNodeView
    • Initializer
    • InputParametersList
    • InvertMaskNodeView
    • ListBase
    • MapGraphAsset
    • MapGraphAssetUpdater
    • MapGraphCreateMenu
    • MapGraphEditor
    • MapGraphEditorInfo
    • MapGraphEditorSettingsWindow
    • MapGraphEditorSettingsWindowInitializer
    • MapGraphInitializer
    • MapGraphUpdater
    • MergeAreasNodeView
    • NamedColorNodeView
    • NamedColorSetEditor
    • NamedColorSetList
    • NewUpdatesWindow
    • ObjectTypeEntryList<TType, TEntry, TObject>
    • ObjectTypeSetList<TType, TEntry, TObject>
    • OutputParametersList
    • ParametersList
    • PerlinNoiseFillTextureNodeView
    • PrefabSetEditor
    • PrefabTypeEntryList
    • PrefabTypeList
    • ProcessGraphNodeView
    • RandomBspRoomsNodeView
    • RandomBspTreeNodeView
    • RandomlyFillTextureNodeView
    • RandomlyStampTilemapsNodeView
    • RandomPointsNodeView
    • RandomRectsNodeView
    • RandomWalkerNodeView
    • ReplaceColorNodeView
    • ResizeTextureNodeView
    • RotateTextureNodeView
    • RotationalSymmetryNodeView
    • ScaleTextureNodeView
    • ScaleTextureToNodeView
    • ScaleTextureVector2NodeView
    • ScriptGraphAssetUpdater
    • ScriptNodeViewExtensions
    • ShiftTextureNodeView
    • StampNodeView
    • TextureConstantNodeView
    • TextureToMaskNodeView
    • TilemapConstantNodeView
    • TilemapPrefabEditor
    • TilemapSetConstantNodeView
    • TilemapSetEditor
    • TilemapToTextureNodeView
    • TilemapTypeEntryList
    • TilemapTypeList
    • TilesetConstantNodeView
    • TilesetEditor
    • TileTypeEntryList
    • TileTypeList
    • TransparentColorNodeView
    • UpdateAction_1_10
    • UpdateAction_1_14
    • UpdateAction_1_15
    • UpdateAction_1_2
    • UpdateChecker
    • WaveformFunctionCollapseNodeView
  • InsaneScatterbrain.Pooling
    • IPool
    • Pool<T>
    • PoolManager
  • InsaneScatterbrain.RandomNumberGeneration
    • Rng
    • RngState
  • InsaneScatterbrain.ScriptGraph
    • BoolParameterField
    • BoundsIntParameterField
    • BoundsParameterField
    • Color32ParameterField
    • ConstantNode
    • ConsumerNode
    • CopyData
    • CopyPaste
    • DataSet<T>
    • DataSetItem
    • DataSetScriptableObject<TItem, TOpenSet>
    • DataSetScriptableObject<TItem>
    • ExecutionGraph
    • ExecutionGraphBuilder
    • ExplicitInPortTypesAttribute
    • ExplicitOutPortTypesAttribute
    • ExplicitPortTypesAttribute
    • FloatParameterField
    • IConsumerNode
    • IDataSet
    • IDataSet<T>
    • IDataSetItem
    • IInstanceProvider
    • IncompatiblePortTypeException
    • INode
    • InPort
    • InPortAttribute
    • InputNode
    • IntParameterField
    • IOpenDataSet<T>
    • IParameterField
    • IPool
    • IPoolInitializer
    • IPreparable
    • IProcessorNode
    • IProviderNode
    • IScriptGraphInstanceProvider
    • IScriptNode
    • NewInstanceProvider
    • NewScriptGraphInstanceProvider
    • NodeEdge
    • ObjectParameterField
    • OpenDataSet<T>
    • OutPort
    • OutPortAttribute
    • OutputNode
    • PairVector2IntParameterField
    • Pool<T>
    • PoolManager
    • PoolManagerInitializer
    • PoolManagerSingleton
    • Pools
    • PortAttribute
    • PortNotFoundException
    • ProcessGraphNode
    • ProcessorNode
    • ProviderNode
    • RectIntParameterField
    • RectParameterField
    • RequiredPortNotConnectedException
    • RngExtensions
    • ScriptGraphComponents
    • ScriptGraphEditorInfo
    • ScriptGraphGraph
    • ScriptGraphInput
    • ScriptGraphInput<T>
    • ScriptGraphInputBool
    • ScriptGraphInputBounds
    • ScriptGraphInputBoundsInt
    • ScriptGraphInputColor32
    • ScriptGraphInputFloat
    • ScriptGraphInputFloatAsInt
    • ScriptGraphInputInt
    • ScriptGraphInputObject
    • ScriptGraphInputRect
    • ScriptGraphInputRectInt
    • ScriptGraphInputString
    • ScriptGraphInputTexture2D
    • ScriptGraphInputTilemap
    • ScriptGraphInputTilemapSet
    • ScriptGraphInputTileset
    • ScriptGraphInputVector2
    • ScriptGraphInputVector2Int
    • ScriptGraphInputVector3
    • ScriptGraphInputVector3Int
    • ScriptGraphMonoBehaviour
    • ScriptGraphParameter
    • ScriptGraphParameters
    • ScriptGraphPool
    • ScriptGraphPoolManager
    • ScriptGraphPoolManagerSingleton
    • ScriptGraphPort
    • ScriptGraphProcessor
    • ScriptGraphRunner
    • ScriptNode
    • ScriptNodeAttribute
    • SeedType
    • StringParameterField
    • Vector2IntParameterField
    • Vector2ParameterField
    • Vector3IntParameterField
    • Vector3ParameterField
  • InsaneScatterbrain.ScriptGraph.Editor
    • BoolConstantNodeView
    • BoundsConstantNodeView
    • BoundsIntConstantNodeView
    • ColorConstantNodeView
    • ConstantNodeView
    • ConstantNodeViewAttribute
    • FloatConstantNodeView
    • GroupNodeView
    • InputNodeView
    • IntConstantNodeView
    • NodeDuplicator
    • NodeFactory
    • ObjectConstantNodeView
    • OutPortEdgeConnectListener
    • OutputNodeView
    • RandomBspRoomsPreviewBehaviour
    • RectConstantNodeView
    • RectIntConstantNodeView
    • ScriptGraphContextMenu
    • ScriptGraphDebugger
    • ScriptGraphDependencyInstaller
    • ScriptGraphEditor
    • ScriptGraphInitializer
    • ScriptGraphInputEditor
    • ScriptGraphRunnerEditor
    • ScriptGraphValidator
    • ScriptGraphView
    • ScriptGraphViewSelection
    • ScriptGraphViewWindow
    • ScriptNodeView
    • ScriptNodeViewAttribute
    • ScriptNodeViewFactory
    • ScriptNodeViewTypesRegistry
    • StringConstantNodeView
    • Urls
    • Vector2ConstantNodeView
    • Vector2IntConstantNodeView
    • Vector3ConstantNodeView
    • Vector3IntConstantNodeView
  • InsaneScatterbrain.ScriptGraph.Editor.NodeSearch
    • ConstantEntryRegistry
    • DefaultEntryRegistry
    • EntryData
    • EntryFactory
    • GraphEntryRegistry
    • IEntryRegistry
    • InputParametersEntryRegistry
    • ISearchFilter
    • NodeSearchWindow
    • NodeType
    • OutputParametersEntryRegistry
    • ParametersEntryRegistry
    • PortFilter
  • InsaneScatterbrain.Serialization
    • ArraySerializer<T>
    • BoundsIntSerializer
    • BoundsSerializer
    • DataBag
    • DefaultArraySerializer
    • IDeserializer
    • ISerializer
    • RectIntSerializer
    • RectSerializer
    • Serializer
    • Vector2IntSerializer
    • Vector3IntSerializer
  • InsaneScatterbrain.Services
    • Disposer
    • Rng
    • Texture2DFactory
    • Types
  • InsaneScatterbrain.Threading
    • IMainThreadCommand
    • IMainThreadCommandHandler
    • IMainThreadCoroutineCommand
    • IMainThreadCoroutineCommandHandler
    • MainThread
    • MainThreadCommand
    • MainThreadCommandHandler
    • MainThreadCoroutine
    • MainThreadCoroutineCommand
    • MainThreadCoroutineCommandHandler
    • MainThreadUpdater
  • InsaneScatterbrain.Versioning
    • IVersioned
    • SerializedVersion
    • VersionedMonoBehaviour
    • VersionedScriptableObject

Class ProcessorNode

Interface for any node that can be used to process something. It can either consume or provide data or both.

Inheritance
System.Object
ScriptNode
ProcessorNode
AddRandomEdgesNode
ApplyMaskNode
AreasCentroidPointsNode
AreasSpecialBorderPointsNode
AreasToPointsNode
BasicMathOperationNode<T1, T2, TOut>
BspLeafCenterPointsNode
CellularAutomataSmoothingNode
ChangeTextureSizeNode
ClampFloatsNode
ClampIntsNode
ConnectAreaGraphCentroidsNode
ConnectAreaGraphClosestBorderPointsNode
ConnectAreaGraphRandomPointsNode
ConnectedPointsToPointsNode
ConvertTextureToTilemapNode
CopyTilemapDataNode
CornerPointsNode
DataToTextureNode
DrawAreasNode
DrawBorderNode
DrawCirclesNode
DrawConnectionsBiasedRandomWalkNode
DrawGridNode
DrawManhattanConnectionsNode
DrawNoiseThresholdNode
DrawOutlineNode
DrawPointsNode
DrawRectsNode
DrawShortestPathNode
EmptyTextureNode
ExtractAreasNode
ExtractColorNode
ExtractPointsNode
ExtractPointsWithNeighboursNode
FlipTextureNode
GenerateAreaGraphNode
GenerateMstAreaGraphNode
GenerateRstAreaGraphNode
InvertMaskNode
LoadTextureData
MergeAreasNode
MergeMasksNode
MergePointsNode
MergeTilemapsNode
PerlinNoiseFillTextureNode
PointsToAreasNode
PowerNode
RandomBspRoomsNode
RandomBspTreeNode
RandomlyFillTextureNode
RandomlyStampTilemapsNode
RandomNode<T>
RandomPointsNode
RandomRectsNode
RandomWalkerNode
RectCenterPointsNode
RectsToAreasNode
ReplaceColorNode
ReplaceGameObjectChildrenNode
ResizeTextureNode
RotateTextureNode
SaveTextureData
ScaleTextureNode
ScaleTextureToNode
ScaleTextureVector2Node
ShiftTextureNode
SplitConnectionsManhattanNode
SquareRootNode
StampNode
SubtractMaskNode
TextureSizeNode
TextureToChildGameObjectsNode
TextureToDataNode
TextureToGameObjectsNode
TextureToMaskNode
TextureToTilemapNode
TilemapToDataNode
TilemapToTextureNode
Vector2IntFromFloats
Vector2IntFromInts
Vector2IntToInts
Vector2IntToVector2
WaveformFunctionCollapseNode
ProcessGraphNode
Implements
IProcessorNode
IProviderNode
IConsumerNode
IScriptNode
INode
Inherited Members
ScriptNode.Graph
ScriptNode.LoadDependencies(DependencyContainer)
ScriptNode.OnPrepareDependencies
ScriptNode.Get<T>()
ScriptNode.Id
Namespace: InsaneScatterbrain.ScriptGraph
Syntax
public abstract class ProcessorNode : ScriptNode, IProcessorNode, IProviderNode, IConsumerNode, IScriptNode, INode

Constructors

ProcessorNode()

Declaration
protected ProcessorNode()

ProcessorNode(ScriptGraphGraph)

Declaration
protected ProcessorNode(ScriptGraphGraph graph)
Parameters
Type Name Description
ScriptGraphGraph graph

Properties

InPorts

Declaration
public ReadOnlyCollection<InPort> InPorts { get; }
Property Value
Type Description
ReadOnlyCollection<InPort>

OutPorts

Declaration
public ReadOnlyCollection<OutPort> OutPorts { get; }
Property Value
Type Description
ReadOnlyCollection<OutPort>

Rng

Gets the instance of random used for processing this node.

Declaration
public Rng Rng { get; }
Property Value
Type Description
Rng

Methods

AddIn(String, Type)

Declaration
protected InPort AddIn(string name, Type type)
Parameters
Type Name Description
System.String name
Type type
Returns
Type Description
InPort

AddIn<T>(String)

Declaration
protected InPort AddIn<T>(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
InPort
Type Parameters
Name Description
T

AddOut(String, Type)

Declaration
protected OutPort AddOut(string name, Type type)
Parameters
Type Name Description
System.String name
Type type
Returns
Type Description
OutPort

AddOut<T>(String)

Declaration
protected OutPort AddOut<T>(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
OutPort
Type Parameters
Name Description
T

ClearPorts()

Declaration
public void ClearPorts()

GetInPort(String)

Declaration
public InPort GetInPort(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
InPort

GetOutPort(String)

Declaration
public OutPort GetOutPort(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
OutPort

Initialize()

Declaration
public override void Initialize()
Overrides
ScriptNode.Initialize()

MoveIn(Int32, Int32)

Declaration
public void MoveIn(int oldIndex, int newIndex)
Parameters
Type Name Description
System.Int32 oldIndex
System.Int32 newIndex

MoveOut(Int32, Int32)

Declaration
public void MoveOut(int oldIndex, int newIndex)
Parameters
Type Name Description
System.Int32 oldIndex
System.Int32 newIndex

OnLoadInputPorts()

Declaration
public virtual void OnLoadInputPorts()

OnLoadOutputPorts()

Declaration
public virtual void OnLoadOutputPorts()

OnProcess()

Contains all the processing logic of this node. Called by Process.

Declaration
protected virtual void OnProcess()

OnProcessMainThread()

Contains all the processing logic of this node that must be executed on the main thread. Called by Process after OnProcess

Declaration
protected virtual void OnProcessMainThread()

OnProcessMainThreadCoroutine()

Declaration
protected virtual IEnumerator OnProcessMainThreadCoroutine()
Returns
Type Description
IEnumerator

Process()

Executes OnProcess.

Declaration
public void Process()

RemoveIn(String)

Declaration
public void RemoveIn(string name)
Parameters
Type Name Description
System.String name

RemoveOut(String)

Declaration
public void RemoveOut(string name)
Parameters
Type Name Description
System.String name

RenameIn(String, String)

Declaration
public void RenameIn(string oldName, string newName)
Parameters
Type Name Description
System.String oldName
System.String newName

RenameOut(String, String)

Declaration
public void RenameOut(string oldName, string newName)
Parameters
Type Name Description
System.String oldName
System.String newName

Events

NodeProcessingCompleted

Declaration
public static event Action<ProcessorNode> NodeProcessingCompleted
Event Type
Type Description
Action<ProcessorNode>

OnInPortAdded

Declaration
public event Action<InPort> OnInPortAdded
Event Type
Type Description
Action<InPort>

OnInPortMoved

Declaration
public event Action<InPort, int> OnInPortMoved
Event Type
Type Description
Action<InPort, System.Int32>

OnInPortRemoved

Declaration
public event Action<InPort> OnInPortRemoved
Event Type
Type Description
Action<InPort>

OnInPortRenamed

Declaration
public event Action<InPort, string, string> OnInPortRenamed
Event Type
Type Description
Action<InPort, System.String, System.String>

OnOutPortAdded

Declaration
public event Action<OutPort> OnOutPortAdded
Event Type
Type Description
Action<OutPort>

OnOutPortMoved

Declaration
public event Action<OutPort, int> OnOutPortMoved
Event Type
Type Description
Action<OutPort, System.Int32>

OnOutPortRemoved

Declaration
public event Action<OutPort> OnOutPortRemoved
Event Type
Type Description
Action<OutPort>

OnOutPortRenamed

Declaration
public event Action<OutPort, string, string> OnOutPortRenamed
Event Type
Type Description
Action<OutPort, System.String, System.String>

ProcessingCompleted

Declaration
public event Action ProcessingCompleted
Event Type
Type Description
Action

Implements

IProcessorNode
IProviderNode
IConsumerNode
IScriptNode
INode
In This Article
Back to top Generated by DocFX