docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GraphBuilder

    Inheritance
    object
    GraphBuilder
    Implements
    IGraphValidator
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Global Namespace
    Assembly: solution.dll
    Syntax
    public class GraphBuilder : IGraphValidator

    Constructors

    Name Description
    GraphBuilder()

    Properties

    Name Description
    LastPortIndex

    Methods

    Name Description
    AddError(string, IGTFNodeModel, CompilerQuickFix)
    AddNode(INode, Func<IPort, uint?>)
    AddNodeFromModel(IPortNode, NodeId, INode, PortMapper, Func<IPort, uint?>)
    AddNode<T>(T, Func<IPort, uint?>)
    AddReferencedComponent(TypeReference)
    AddReferencedEvent(Type)
    AddWarning(string, IGTFNodeModel, CompilerQuickFix)
    AllocateDataIndex()
    BindSubgraph(uint, VSGraphAssetModel)
    BindVariableToDataIndex(BindingId, uint?)
    BindVariableToInput(VariableHandle, in InputDataPort)
    Build()
    CreateDebugSymbols(DotsStencil)
    CreateEdge(OutputDataPort, InputDataPort)
    CreateEdge(OutputTriggerPort, InputTriggerPort)
    CreateEdge(uint, OutputDataPort, IGTFPortModel)
    CreateEdge(IGTFPortModel, IGTFPortModel, bool)
    CreateEdge(IPortNode, string, IPortNode, string)
    DeclareInputTrigger(string)

    Declares an input trigger, but doesn't add the node to the internal node table

    DeclareOutputTrigger(string)

    Declares an output trigger, but doesn't add the node to the internal node table

    DeclareVariable(VariableType, ValueType, BindingId, string, Value?)
    DeclareVariable(IGTFVariableDeclarationModel, VariableType, Value?)
    GetBindingId(string)
    GetBindingId(IGTFVariableDeclarationModel)
    GetExistingInputTrigger(string, out GraphTriggerInput)
    GetExistingOutputTrigger(string, out GraphTriggerOutput)
    GetNextNodeId()
    GetVariableDataIndex(IGTFVariableDeclarationModel)
    GetVariableType(IGTFVariableDeclarationModel)
    ReplaceNodeModelMapping(IPortNode, PortMapper, NodeId?, uint)
    StoreStringConstant(string)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)