docs.unity3d.com
    Show / Hide Table of Contents

    Class GraphContext<TGraph, TCanvas>

    Inheritance
    Object
    GraphContext<TGraph, TCanvas>
    FlowGraphContext
    StateGraphContext
    Namespace: Unity.VisualScripting
    Syntax
    public abstract class GraphContext<TGraph, TCanvas> : IGraphContext, IDisposable where TGraph : class, IGraph where TCanvas : class, ICanvas
    Type Parameters
    Name Description
    TGraph
    TCanvas

    Constructors

    GraphContext(GraphReference)

    Declaration
    protected GraphContext(GraphReference reference)
    Parameters
    Type Name Description
    GraphReference reference

    Properties

    analyserProvider

    Declaration
    public AnalyserProvider analyserProvider { get; }
    Property Value
    Type Description
    AnalyserProvider
    Implements
    IGraphContext.analyserProvider

    canvas

    Declaration
    public TCanvas canvas { get; }
    Property Value
    Type Description
    TCanvas

    extensions

    Declaration
    public ReadOnlyCollection<IGraphContextExtension> extensions { get; }
    Property Value
    Type Description
    ReadOnlyCollection<IGraphContextExtension>

    graph

    Declaration
    public TGraph graph { get; }
    Property Value
    Type Description
    TGraph

    graphMetadata

    Declaration
    public Metadata graphMetadata { get; }
    Property Value
    Type Description
    Metadata
    Implements
    IGraphContext.graphMetadata

    isPrefabInstance

    Declaration
    public bool isPrefabInstance { get; }
    Property Value
    Type Description
    Boolean
    Implements
    IGraphContext.isPrefabInstance

    reference

    Declaration
    public GraphReference reference { get; }
    Property Value
    Type Description
    GraphReference
    Implements
    IGraphContext.reference

    selection

    Declaration
    public GraphSelection selection { get; }
    Property Value
    Type Description
    GraphSelection
    Implements
    IGraphContext.selection

    selectionMetadata

    Declaration
    public Metadata selectionMetadata { get; }
    Property Value
    Type Description
    Metadata
    Implements
    IGraphContext.selectionMetadata

    sidebarPanels

    Declaration
    public ReadOnlyCollection<ISidebarPanelContent> sidebarPanels { get; }
    Property Value
    Type Description
    ReadOnlyCollection<ISidebarPanelContent>

    windowTitle

    Declaration
    public virtual string windowTitle { get; }
    Property Value
    Type Description
    String
    Implements
    IGraphContext.windowTitle

    Methods

    BeginEdit(Boolean)

    Declaration
    public void BeginEdit(bool disablePrefabInstance = true)
    Parameters
    Type Name Description
    Boolean disablePrefabInstance
    Implements
    IGraphContext.BeginEdit(Boolean)

    DescribeAndAnalyze()

    Declaration
    public void DescribeAndAnalyze()
    Implements
    IGraphContext.DescribeAndAnalyze()

    Dispose()

    Declaration
    public virtual void Dispose()

    ElementMetadata(IGraphElement)

    Declaration
    public Metadata ElementMetadata(IGraphElement element)
    Parameters
    Type Name Description
    IGraphElement element
    Returns
    Type Description
    Metadata
    Implements
    IGraphContext.ElementMetadata(IGraphElement)

    EndEdit()

    Declaration
    public void EndEdit()
    Implements
    IGraphContext.EndEdit()

    SidebarPanels()

    Declaration
    protected virtual IEnumerable<ISidebarPanelContent> SidebarPanels()
    Returns
    Type Description
    IEnumerable<ISidebarPanelContent>

    Explicit Interface Implementations

    IGraphContext.canvas

    Declaration
    ICanvas IGraphContext.canvas { get; }
    Returns
    Type Description
    ICanvas
    Implements
    IGraphContext.canvas

    IGraphContext.extensions

    Declaration
    IEnumerable<IGraphContextExtension> IGraphContext.extensions { get; }
    Returns
    Type Description
    IEnumerable<IGraphContextExtension>
    Implements
    IGraphContext.extensions

    IGraphContext.graph

    Declaration
    IGraph IGraphContext.graph { get; }
    Returns
    Type Description
    IGraph
    Implements
    IGraphContext.graph

    IGraphContext.sidebarPanels

    Declaration
    IEnumerable<ISidebarPanelContent> IGraphContext.sidebarPanels { get; }
    Returns
    Type Description
    IEnumerable<ISidebarPanelContent>
    Implements
    IGraphContext.sidebarPanels

    Extension Methods

    XAnalyserProvider.Analyser(Object, IGraphContext)
    XAnalyserProvider.Analyser<TAnalyser>(Object, IGraphContext)
    XAnalyserProvider.Analysis(Object, IGraphContext)
    XAnalyserProvider.Analysis<TAnalysis>(Object, IGraphContext)
    XAnalyserProvider.Analyser(Object, GraphReference)
    XAnalyserProvider.Analyser<TAnalyser>(Object, GraphReference)
    XAnalyserProvider.Analysis(Object, GraphReference)
    XAnalyserProvider.Analysis<TAnalysis>(Object, GraphReference)
    XCanvasExtensionProvider.Extensions(IGraphContext)
    XDescriptorProvider.Describe(Object)
    XDescriptorProvider.HasDescriptor(Object)
    XDescriptorProvider.Descriptor(Object)
    XDescriptorProvider.Descriptor<TDescriptor>(Object)
    XDescriptorProvider.Description(Object)
    XDescriptorProvider.Description<TDescription>(Object)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.CloneViaFakeSerialization(Object)
    Cloning.CloneViaFakeSerialization<T>(T)
    ConversionUtility.IsConvertibleTo(Object, Type, Boolean)
    ConversionUtility.IsConvertibleTo<T>(Object, Boolean)
    ConversionUtility.ConvertTo(Object, Type)
    ConversionUtility.ConvertTo<T>(Object)
    TypeUtility.ToShortString(Object, Int32)
    Serialization.CloneViaSerialization<T>(T, Boolean)
    Serialization.CloneViaSerializationInto<TSource, TDestination>(TSource, ref TDestination, Boolean)
    Serialization.Serialize(Object, Boolean)
    LinqUtility.Yield<T>(T)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.ToSafeString(Object)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023