Home
  • Manual
  • Node Index
  • API
  • Changelog
Search Results for

    Show / Hide Table of Contents
    • InsaneScatterbrain
      • AStarPathfinder
      • Calc
      • Color32EqualityComparer
      • EqualityComparer
      • RandomPathWalker
      • 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
      • Vector3Extensions
      • Vector3IntExtensions
    • InsaneScatterbrain.MapGraph
      • AStarPathsNode
      • AddFloatToVector2Node
      • AddFloatToVector3Node
      • AddFloatsNode
      • AddIntToVector2IntNode
      • AddIntToVector3IntNode
      • AddIntsNode
      • 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
      • CellularAutomataSmoothingNewNode
      • 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
      • DomainWarpFractalType
      • DomainWarpType
      • DrawAreasNode
      • DrawBorderNode
      • DrawCirclesNode
      • DrawConnectionsBiasedRandomWalkNode
      • DrawGridNode
      • DrawManhattanConnectionsNode
      • DrawNoiseThresholdNode
      • DrawOutlineNode
      • DrawPathsNode
      • DrawPointsNode
      • DrawRectsNode
      • DrawShortestPathNode
      • EmptyTextureNode
      • ExtractAreasNode
      • ExtractColorNode
      • ExtractPointsNode
      • ExtractPointsWithNeighboursNode
      • FastNoiseEnum
      • FlipTextureNode
      • FractalType
      • GameObjectsFromTextureFactory
      • GenerateAreaGraphNode
      • GenerateMstAreaGraphNode
      • GenerateRstAreaGraphNode
      • HexagonalGridOffsetType
      • IObjectTypeEntry<T>
      • IObjectTypeSet<TType, TObject>
      • IObjectType<TEntry, TObject>
      • InvertMaskNode
      • LinePathsNode
      • ListPool<TValue>
      • LoadTextureData
      • MapGraphGraph
      • MapGraphTilemapPrefab
      • Mask
      • MaskPool
      • MaxFloatsNode
      • MaxIntsNode
      • MergeAreasNode
      • MergeMasksNode
      • MergePathsNode
      • MergePointPairsNode
      • MergePointsNode
      • MergeTilemapsNode
      • MinFloatsNode
      • MinIntsNode
      • MultiplyFloatsNode
      • MultiplyIntsNode
      • MultiplyVector2ByFloatNode
      • MultiplyVector2IntByIntNode
      • MultiplyVector2IntsNode
      • MultiplyVector2sNode
      • MultiplyVector3ByFloatNode
      • MultiplyVector3IntByIntNode
      • MultiplyVector3IntsNode
      • MultiplyVector3sNode
      • NamedColor
      • NamedColorNode
      • NamedColorSet
      • NoiseNode
      • ObjectTypeEntry<T>
      • ObjectTypeSetScriptableObject<TType, TEntry, TObject>
      • ObjectTypeSet<TType, TEntry, TObject>
      • ObjectType<TEntry, TObject>
      • OpenObjectTypeSet<TType, TEntry, TObject>
      • Outliner
      • PerlinNoiseFillTextureNode
      • PointsToAreasNode
      • PoolInitializer
      • PowerNode
      • PrefabSet
      • PrefabType
      • PrefabTypeEntry
      • RandomBoolNode
      • RandomBspRoomsNode
      • RandomBspTreeNode
      • RandomColorNode
      • RandomExtensions
      • RandomFloatNode
      • RandomIntNode
      • RandomNode<T>
      • RandomNoiseNode
      • RandomPointsNode
      • RandomPointsPerAreaNode
      • RandomRectsNode
      • RandomRngStateNode
      • RandomVector2IntNode
      • RandomVector2Node
      • RandomVector3IntNode
      • RandomVector3Node
      • RandomWalkerNode
      • RandomWalkerPathsNode
      • RandomlyFillTextureNode
      • RandomlyStampTilemapsNode
      • 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
      • TextureToNoiseDataNode
      • TextureToTilemapNode
      • TileType
      • TileTypeEntry
      • TilemapData
      • TilemapDataPool
      • TilemapSet
      • TilemapToDataNode
      • TilemapToTextureNode
      • TilemapType
      • TilemapTypeEntry
      • Tileset
      • TransparentColorNode
      • Vector2IntComparer
      • Vector2IntFromFloats
      • Vector2IntFromInts
      • Vector2IntToInts
      • Vector2IntToVector2
      • Vector3IntComparer
      • WaveformFunctionCollapseNode
    • InsaneScatterbrain.MapGraph.Editor
      • AStarPathsNodeView
      • AboutWindow
      • AddRandomEdgesNodeView
      • ApplyMaskNodeView
      • AreaSpecialPointsNodeView
      • CellularAutomataSmoothingNodeNewView
      • CellularAutomataSmoothingNodeView
      • CellularDistanceFunctionConstantNodeView
      • CellularReturnTypeConstantNodeView
      • ChangeTextureSizeNodeView
      • ConnectionsNodeView
      • CornerPointsNodeView
      • DataSetListBase<T>
      • DataSetList<T>
      • DomainWarpFractalTypeNodeView
      • DomainWarpTypeConstantNodeView
      • DrawAreasNodeView
      • DrawBorderNodeView
      • DrawCirclesNodeView
      • DrawConnectionsBiasedRandomWalkNodeView
      • DrawGridNodeView
      • DrawManhattanConnectionsNodeView
      • DrawNoiseThresholdNodeView
      • DrawOutlineNodeView
      • DrawPathsNodeView
      • DrawPointsNodeView
      • DrawRectsNodeView
      • DrawShortestPathConnectionsNodeView
      • EmptyTextureNodeView
      • EnumConstantNodeView<T>
      • ExtractAreasNodeView
      • ExtractColorNodeView
      • ExtractPointsNodeView
      • ExtractPointsWithNeighboursNodeView
      • FlipTextureNodeView
      • FractalTypeNodeView
      • GenerateAreaGraphNodeView
      • GenerateMstAreaGraphNodeView
      • GenerateRstAreaGraphNodeView
      • Initializer
      • InputParametersList
      • InvertMaskNodeView
      • LinePathsNodeView
      • ListBase
      • MapGraphAsset
      • MapGraphAssetUpdater
      • MapGraphCreateMenu
      • MapGraphEditor
      • MapGraphEditorInfo
      • MapGraphEditorSettingsWindow
      • MapGraphEditorSettingsWindowInitializer
      • MapGraphInitializer
      • MapGraphUpdater
      • MergeAreasNodeView
      • NamedColorNodeView
      • NamedColorSetEditor
      • NamedColorSetList
      • NewUpdatesWindow
      • NoiseNodeView
      • NoiseTypeNodeView
      • ObjectTypeEntryList<TType, TEntry, TObject>
      • ObjectTypeSetList<TType, TEntry, TObject>
      • OutputParametersList
      • ParametersList
      • PerlinNoiseFillTextureNodeView
      • PrefabSetEditor
      • PrefabTypeEntryList
      • PrefabTypeList
      • ProcessGraphNodeView
      • RandomBspRoomsNodeView
      • RandomBspTreeNodeView
      • RandomPointsNodeView
      • RandomPointsPerAreaNodeView
      • RandomRectsNodeView
      • RandomWalkerNodeView
      • RandomWalkerPathsNodeView
      • RandomlyFillTextureNodeView
      • RandomlyStampTilemapsNodeView
      • ReplaceColorNodeView
      • ResizeTextureNodeView
      • RotateTextureNodeView
      • RotationType3dConstantNodeView
      • RotationalSymmetryNodeView
      • ScaleTextureNodeView
      • ScaleTextureToNodeView
      • ScaleTextureVector2NodeView
      • ScriptGraphAssetUpdater
      • ScriptNodeViewExtensions
      • ShiftTextureNodeView
      • StampNodeView
      • TextureConstantNodeView
      • TextureToMaskNodeView
      • TileTypeEntryList
      • TileTypeList
      • TilemapConstantNodeView
      • TilemapPrefabEditor
      • TilemapSetConstantNodeView
      • TilemapSetEditor
      • TilemapToTextureNodeView
      • TilemapTypeEntryList
      • TilemapTypeList
      • TilesetConstantNodeView
      • TilesetEditor
      • TransparentColorNodeView
      • UpdateAction_1_10
      • UpdateAction_1_14
      • UpdateAction_1_15
      • UpdateAction_1_2
      • UpdateAction_1_26_1
      • UpdateAction_1_30
      • UpdateChecker
      • WaveformFunctionCollapseNodeView
    • InsaneScatterbrain.Pooling
      • IPool
      • PoolManager
      • Pool<T>
    • InsaneScatterbrain.RandomNumberGeneration
      • Rng
      • RngState
    • InsaneScatterbrain.ScriptGraph
      • BoolParameterField
      • BoundsIntParameterField
      • BoundsParameterField
      • Color32ParameterField
      • ComponentDependency
      • ConstantNode
      • ConsumerNode
      • CopyData
      • CopyPaste
      • DataDependency
      • DataSetItem
      • DataSetScriptableObject<TItem>
      • DataSetScriptableObject<TItem, TOpenSet>
      • DataSet<T>
      • ExecutionGraph
      • ExecutionGraphBuilder
      • ExplicitInPortTypesAttribute
      • ExplicitOutPortTypesAttribute
      • ExplicitPortTypesAttribute
      • FloatParameterField
      • GroupNode
      • IConsumerNode
      • IDataSet
      • IDataSetItem
      • IDataSet<T>
      • IInstanceProvider
      • INode
      • IOpenDataSet<T>
      • IParameterField
      • IPool
      • IPoolInitializer
      • IPreparable
      • IPreviewBehaviour
      • IProcessorNode
      • IProviderNode
      • IScriptGraphInstanceProvider
      • IScriptNode
      • IdDeduplicator
      • InPort
      • InPortAttribute
      • IncompatiblePortTypeException
      • InputNode
      • IntParameterField
      • NewInstanceProvider
      • NewScriptGraphInstanceProvider
      • NodeEdge
      • ObjectParameterField
      • OpenDataSet<T>
      • OutPort
      • OutPortAttribute
      • OutputNode
      • PairVector2IntParameterField
      • PoolManager
      • PoolManagerInitializer
      • PoolManagerSingleton
      • Pool<T>
      • Pools
      • PortAttribute
      • PortNotFoundException
      • ProcessGraphNode
      • ProcessorNode
      • ProviderNode
      • RectIntParameterField
      • RectParameterField
      • ReferenceNode
      • ReferenceNodeConnection
      • RequiredPortNotConnectedException
      • RngExtensions
      • ScriptGraphComponents
      • ScriptGraphEditorInfo
      • ScriptGraphGraph
      • ScriptGraphInput
      • ScriptGraphInputBool
      • ScriptGraphInputBounds
      • ScriptGraphInputBoundsInt
      • ScriptGraphInputColor32
      • ScriptGraphInputFloat
      • ScriptGraphInputFloatAsInt
      • ScriptGraphInputInt
      • ScriptGraphInputObject
      • ScriptGraphInputRect
      • ScriptGraphInputRectInt
      • ScriptGraphInputString
      • ScriptGraphInputTexture2D
      • ScriptGraphInputTilemap
      • ScriptGraphInputTilemapSet
      • ScriptGraphInputTileset
      • ScriptGraphInputVector2
      • ScriptGraphInputVector2Int
      • ScriptGraphInputVector3
      • ScriptGraphInputVector3Int
      • ScriptGraphInput<T>
      • ScriptGraphMonoBehaviour
      • ScriptGraphParameter
      • ScriptGraphParameters
      • ScriptGraphPool
      • ScriptGraphPoolManager
      • ScriptGraphPoolManagerSingleton
      • ScriptGraphPort
      • ScriptGraphProcessor
      • ScriptGraphRunner
      • ScriptNode
      • ScriptNodeAttribute
      • SeedType
      • StringParameterField
      • Vector2IntParameterField
      • Vector2ParameterField
      • Vector3IntParameterField
      • Vector3ParameterField
    • InsaneScatterbrain.ScriptGraph.Editor
      • BoolConstantNodeView
      • BoolPortConstantFieldFactory
      • BoundsConstantNodeView
      • BoundsIntConstantNodeView
      • CellularDistanceFunctionPortConstantFieldFactory
      • CellularReturnTypePortConstantFieldFactory
      • ColorConstantNodeView
      • ColorPortConstantFieldFactory
      • ComponentDependencyListFactory
      • ConstantNodeView
      • ConstantNodeViewAttribute
      • DataDependencyListFactory
      • DomainWarpFractalTypePortConstantFieldFactory
      • DomainWarpTypePortConstantFieldFactory
      • FloatConstantNodeView
      • FloatPortConstantFieldFactory
      • FractalTypePortConstantFieldFactory
      • GroupNodeView
      • IPortConstantFieldFactory
      • InputNodeView
      • IntConstantNodeView
      • IntPortConstantFieldFactory
      • NodeDuplicator
      • NodeFactory
      • NoiseTypePortConstantFieldFactory
      • ObjectConstantNodeView
      • ObjectPortConstantFieldFactory
      • OutPortEdgeConnectListener
      • OutputNodeView
      • OutputParameterResultFormatter
      • OutputParameterResultWindow
      • RandomBspRoomsPreviewBehaviour
      • RectConstantNodeView
      • RectIntConstantNodeView
      • RotationType3dPortConstantFieldFactory
      • RotationalSymmetryPortConstantFieldFactory
      • ScriptGraphContextMenu
      • ScriptGraphDebugger
      • ScriptGraphDependencyInstaller
      • ScriptGraphEditor
      • ScriptGraphInitializer
      • ScriptGraphInputEditor
      • ScriptGraphRunnerEditor
      • ScriptGraphSearchBar
      • ScriptGraphValidator
      • ScriptGraphView
      • ScriptGraphViewSelection
      • ScriptGraphViewWindow
      • ScriptNodeView
      • ScriptNodeViewAttribute
      • ScriptNodeViewFactory
      • ScriptNodeViewTypesRegistry
      • StringConstantNodeView
      • StringPortConstantFieldFactory
      • TexturePortConstantFieldFactory
      • TilemapPortConstantFieldFactory
      • TilemapSetPortConstantFieldFactory
      • TilesetPortConstantFieldFactory
      • Urls
      • Vector2ConstantNodeView
      • Vector2IntConstantNodeView
      • Vector2IntPortConstantFieldFactory
      • Vector2PortConstantFieldFactory
      • Vector3ConstantNodeView
      • Vector3IntConstantNodeView
      • Vector3IntPortConstantFieldFactory
      • Vector3PortConstantFieldFactory
    • InsaneScatterbrain.ScriptGraph.Editor.NodeSearch
      • ConstantEntryRegistry
      • DefaultEntryRegistry
      • EntryData
      • EntryFactory
      • GraphEntryRegistry
      • IEntryRegistry
      • ISearchFilter
      • InputParametersEntryRegistry
      • NodeSearchWindow
      • NodeType
      • OutputParametersEntryRegistry
      • ParametersEntryRegistry
      • PortFilter
      • SearchTreeBuilder
    • 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 ScriptGraphGraph

    This class contains all the data of a script graph. The nodes, connections, parameters, etc.

    Inheritance
    object
    Object
    ScriptableObject
    VersionedScriptableObject
    ScriptGraphGraph
    MapGraphGraph
    Implements
    IVersioned
    ISerializationCallbackReceiver
    Inherited Members
    VersionedScriptableObject.Version
    VersionedScriptableObject.CreateInstance<T>(Version)
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: InsaneScatterbrain.ScriptGraph
    Syntax
    public class ScriptGraphGraph : VersionedScriptableObject, IVersioned, ISerializationCallbackReceiver

    Properties

    CanBeAddedAsNode

    Declaration
    public bool CanBeAddedAsNode { get; set; }
    Property Value
    Type Description
    bool

    ConsumerNodes

    Gets all the graph's consumer nodes.

    Declaration
    public ReadOnlyCollection<IConsumerNode> ConsumerNodes { get; }
    Property Value
    Type Description
    ReadOnlyCollection<IConsumerNode>

    CustomPreviewBehaviour

    Declaration
    public IPreviewBehaviour CustomPreviewBehaviour { get; set; }
    Property Value
    Type Description
    IPreviewBehaviour

    DependencyContainer

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

    GroupNodes

    Declaration
    public ReadOnlyCollection<GroupNode> GroupNodes { get; }
    Property Value
    Type Description
    ReadOnlyCollection<GroupNode>

    Id

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    string

    InputNodes

    Gets all the graph's input nodes.

    Declaration
    public ReadOnlyCollection<InputNode> InputNodes { get; }
    Property Value
    Type Description
    ReadOnlyCollection<InputNode>

    InputParameters

    Declaration
    public ScriptGraphParameters InputParameters { get; }
    Property Value
    Type Description
    ScriptGraphParameters

    NodePath

    Declaration
    public string NodePath { get; set; }
    Property Value
    Type Description
    string

    Nodes

    Gets all the graph's nodes.

    Declaration
    public ReadOnlyCollection<IScriptNode> Nodes { get; }
    Property Value
    Type Description
    ReadOnlyCollection<IScriptNode>

    OutputNodes

    Gets all the graph's output nodes.

    Declaration
    public ReadOnlyCollection<OutputNode> OutputNodes { get; }
    Property Value
    Type Description
    ReadOnlyCollection<OutputNode>

    OutputParameters

    Declaration
    public ScriptGraphParameters OutputParameters { get; }
    Property Value
    Type Description
    ScriptGraphParameters

    Processor

    Gets/sets the processor currently processing this graph.

    Declaration
    [Obsolete("The graph should no longer be dependent on the processor. Will be removed in version 2.0.")]
    public ScriptGraphProcessor Processor { get; set; }
    Property Value
    Type Description
    ScriptGraphProcessor

    ProcessorNodes

    Gets all the graph's processor nodes.

    Declaration
    public ReadOnlyCollection<IProcessorNode> ProcessorNodes { get; }
    Property Value
    Type Description
    ReadOnlyCollection<IProcessorNode>

    ReferenceNodes

    Declaration
    public IList<ReferenceNode> ReferenceNodes { get; }
    Property Value
    Type Description
    IList<ReferenceNode>

    SortedProcessorNodes

    Gets all the graph's processor nodes in the order they should be processed in.

    Declaration
    [Obsolete("Determining the order of execution should now be done using an execution graph. This property will be removed in version 2.0.")]
    public ReadOnlyCollection<IProcessorNode> SortedProcessorNodes { get; }
    Property Value
    Type Description
    ReadOnlyCollection<IProcessorNode>

    Methods

    Add(IScriptNode)

    Add the given node to the graph.

    Declaration
    public void Add(IScriptNode node)
    Parameters
    Type Name Description
    IScriptNode node

    The node to add.

    AddGroup(GroupNode)

    Declaration
    public void AddGroup(GroupNode groupNode)
    Parameters
    Type Name Description
    GroupNode groupNode

    AddReferenceNode(ReferenceNode)

    Adds a reference node to the graph.

    Declaration
    public void AddReferenceNode(ReferenceNode referenceNode)
    Parameters
    Type Name Description
    ReferenceNode referenceNode

    The reference node to add.

    Clean()

    Declaration
    public void Clean()

    ConnectReferenceNode(ReferenceNode, InPort, OutPort)

    Connect a reference node. Only available in the editor.

    Declaration
    public void ConnectReferenceNode(ReferenceNode referenceNode, InPort inPort, OutPort outPort)
    Parameters
    Type Name Description
    ReferenceNode referenceNode

    The reference node.

    InPort inPort

    The in port.

    OutPort outPort

    The out port.

    DisconnectReferenceNode(ReferenceNode, InPort)

    Disconnect a reference node from the given in port. Only available in the editor.

    Declaration
    public void DisconnectReferenceNode(ReferenceNode referenceNode, InPort inPort)
    Parameters
    Type Name Description
    ReferenceNode referenceNode

    The reference node.

    InPort inPort

    The in port to disconnect from.

    GetReferenceNodeConnection(InPort, OutPort)

    Finds the reference node connection between an in and out port and returns it. Only available in the editor.

    Declaration
    public ReferenceNodeConnection GetReferenceNodeConnection(InPort inPort, OutPort outPort)
    Parameters
    Type Name Description
    InPort inPort

    The in port.

    OutPort outPort

    The out port.

    Returns
    Type Description
    ReferenceNodeConnection

    Get<T>()

    Declaration
    public T Get<T>() where T : ScriptableObject
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    OnAfterDeserialize()

    Implement this method to receive a callback after Unity deserializes your object.

    Declaration
    public void OnAfterDeserialize()

    OnBeforeSerialize()

    Implement this method to receive a callback before Unity serializes your object.

    Declaration
    public void OnBeforeSerialize()

    RegisterDependencies(DependencyContainer)

    Declaration
    public virtual void RegisterDependencies(DependencyContainer container)
    Parameters
    Type Name Description
    DependencyContainer container

    Remove(IScriptNode)

    Remove the given node from the graph.

    Declaration
    public void Remove(IScriptNode node)
    Parameters
    Type Name Description
    IScriptNode node

    RemoveGroup(GroupNode)

    Declaration
    public void RemoveGroup(GroupNode groupNode)
    Parameters
    Type Name Description
    GroupNode groupNode

    RemoveInputParameterNodes(string)

    Remove the input parameter with given name from the graph.

    Declaration
    public void RemoveInputParameterNodes(string parameterId)
    Parameters
    Type Name Description
    string parameterId

    The input parameters name.

    RemoveOutputParameterNodes(string)

    Remove the output parameter with given name from the graph.

    Declaration
    public void RemoveOutputParameterNodes(string parameterId)
    Parameters
    Type Name Description
    string parameterId

    The output parameters name.

    RemoveReferenceNode(ReferenceNode)

    Remove the reference node from the graph. Only available in the editor.

    Declaration
    public void RemoveReferenceNode(ReferenceNode referenceNode)
    Parameters
    Type Name Description
    ReferenceNode referenceNode

    The reference node.

    Sort()

    Sorts the graph so that processor nodes are processed in the right order, i.e. a node will never be processed before the processor nodes it's receiving input from.

    Declaration
    [Obsolete("Determining the order of execution should now be done using an execution graph. This method will be removed in version 2.0.")]
    public void Sort()

    UpdateDataDependencies()

    Declaration
    public void UpdateDataDependencies()

    Events

    OnEnabled

    Global event that's called every time a script graph has been enabled.

    Declaration
    public static event Action<ScriptGraphGraph> OnEnabled
    Event Type
    Type Description
    Action<ScriptGraphGraph>

    OnGroupNodeAdded

    Declaration
    public event Action<GroupNode> OnGroupNodeAdded
    Event Type
    Type Description
    Action<GroupNode>

    OnGroupNodeRemoved

    Declaration
    public event Action<GroupNode> OnGroupNodeRemoved
    Event Type
    Type Description
    Action<GroupNode>

    OnScriptNodeAdded

    Declaration
    public event Action<IScriptNode> OnScriptNodeAdded
    Event Type
    Type Description
    Action<IScriptNode>

    OnScriptNodeRemoved

    Declaration
    public event Action<IScriptNode> OnScriptNodeRemoved
    Event Type
    Type Description
    Action<IScriptNode>

    Implements

    IVersioned
    UnityEngine.ISerializationCallbackReceiver
    In this article
    Back to top Generated by DocFX