Search Results for

    Show / Hide Table of Contents

    Class CeresGraphView

    Inheritance
    object
    CeresGraphView
    FlowGraphView
    Implements
    IVariableSource
    Namespace: Ceres.Editor.Graph
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class CeresGraphView : GraphView, IVariableSource

    Constructors

    CeresGraphView(CeresGraphEditorWindow)

    Declaration
    protected CeresGraphView(CeresGraphEditorWindow editorWindow)
    Parameters
    Type Name Description
    CeresGraphEditorWindow editorWindow

    Properties

    Blackboard

    Declaration
    public CeresBlackboard Blackboard { get; }
    Property Value
    Type Description
    CeresBlackboard

    ContextualMenuRegistry

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

    EditorWindow

    Declaration
    public CeresGraphEditorWindow EditorWindow { get; set; }
    Property Value
    Type Description
    CeresGraphEditorWindow

    NodeGroupHandler

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

    NodeViews

    Declaration
    public HashSet<ICeresNodeView> NodeViews { get; }
    Property Value
    Type Description
    System.Collections.Generic.HashSet<T><ICeresNodeView>

    SearchWindow

    Declaration
    protected CeresNodeSearchWindow SearchWindow { get; }
    Property Value
    Type Description
    CeresNodeSearchWindow

    SharedVariables

    Declaration
    public List<SharedVariable> SharedVariables { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<T><SharedVariable>

    Methods

    AddBlackboard(CeresBlackboard, Rect)

    Add custom blackboard to graph

    Declaration
    public void AddBlackboard(CeresBlackboard blackboard, Rect rect)
    Parameters
    Type Name Description
    CeresBlackboard blackboard
    Rect rect

    AddBlackboard(CeresBlackboard)

    Add custom blackboard to graph

    Declaration
    public void AddBlackboard(CeresBlackboard blackboard)
    Parameters
    Type Name Description
    CeresBlackboard blackboard

    AddNodeGroupHandler(NodeGroupHandler)

    Add custom NodeGroupHandler to graph

    Declaration
    public void AddNodeGroupHandler(NodeGroupHandler groupHandler)
    Parameters
    Type Name Description
    NodeGroupHandler groupHandler

    AddNodeView(ICeresNodeView)

    Add custom node view to graph

    Declaration
    public virtual void AddNodeView(ICeresNodeView nodeView)
    Parameters
    Type Name Description
    ICeresNodeView nodeView

    AddSearchWindow<T>()

    Add custom node search window to graph

    Declaration
    public void AddSearchWindow<T>() where T : CeresNodeSearchWindow
    Type Parameters
    Name Description
    T

    AddSharedVariables(List<SharedVariable>, bool)

    Add shared variables to graph's blackboard

    Declaration
    public virtual void AddSharedVariables(List<SharedVariable> variables, bool duplicateWhenConflict)
    Parameters
    Type Name Description
    System.Collections.Generic.List<T><SharedVariable> variables
    bool duplicateWhenConflict

    AddStyleSheet(string)

    Add custom to graph

    Declaration
    public void AddStyleSheet(string resourcePath)
    Parameters
    Type Name Description
    string resourcePath

    BuildContextualMenu(ContextualMenuPopulateEvent)

    Declaration
    public override void BuildContextualMenu(ContextualMenuPopulateEvent evt)
    Parameters
    Type Name Description
    ContextualMenuPopulateEvent evt

    CanPasteSerializedGraph(string)

    Declaration
    protected virtual bool CanPasteSerializedGraph(string serializedData)
    Parameters
    Type Name Description
    string serializedData
    Returns
    Type Description
    bool

    ClearDirty()

    Clear graph view's dirty flag.

    Declaration
    public void ClearDirty()

    FindNodeView(string)

    Find node by guid

    Declaration
    public ICeresNodeView FindNodeView(string guid)
    Parameters
    Type Name Description
    string guid
    Returns
    Type Description
    ICeresNodeView

    FindNodeView<TNodeView>(string)

    Find generic node by guid

    Declaration
    public TNodeView FindNodeView<TNodeView>(string guid) where TNodeView : class, ICeresNodeView
    Parameters
    Type Name Description
    string guid
    Returns
    Type Description
    TNodeView
    Type Parameters
    Name Description
    TNodeView

    GetCompatiblePorts(Port, NodeAdapter)

    Declaration
    public override List<Port> GetCompatiblePorts(Port startPort, NodeAdapter nodeAdapter)
    Parameters
    Type Name Description
    Port startPort
    NodeAdapter nodeAdapter
    Returns
    Type Description
    System.Collections.Generic.List<T><Port>

    GetOrLoadStyleSheet(string)

    Get or load custom

    Declaration
    public static StyleSheet GetOrLoadStyleSheet(string resourcePath)
    Parameters
    Type Name Description
    string resourcePath
    Returns
    Type Description
    StyleSheet

    GetOrLoadVisualTreeAsset(string)

    Get or load custom

    Declaration
    public static VisualTreeAsset GetOrLoadVisualTreeAsset(string resourcePath)
    Parameters
    Type Name Description
    string resourcePath
    Returns
    Type Description
    VisualTreeAsset

    IsDirty()

    Whether graph view is dirty

    Declaration
    public bool IsDirty()
    Returns
    Type Description
    bool

    OnCopySerializedGraph(IEnumerable<GraphElement>)

    Declaration
    protected virtual string OnCopySerializedGraph(IEnumerable<GraphElement> elements)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<T><GraphElement> elements
    Returns
    Type Description
    string

    OnDestroy()

    Called after detached from editor window

    Declaration
    protected virtual void OnDestroy()

    OnDragDropElementPerform(List<ISelectable>, GraphElement, Vector3)

    Declaration
    protected virtual void OnDragDropElementPerform(List<ISelectable> selectables, GraphElement graphElement, Vector3 mousePosition)
    Parameters
    Type Name Description
    System.Collections.Generic.List<T><ISelectable> selectables
    GraphElement graphElement
    Vector3 mousePosition

    OnDragDropObjectPerform(UObject, Vector3)

    Declaration
    protected virtual void OnDragDropObjectPerform(UObject data, Vector3 mousePosition)
    Parameters
    Type Name Description
    UObject data
    Vector3 mousePosition

    OnGraphViewChanged(GraphViewChange)

    Declaration
    protected virtual GraphViewChange OnGraphViewChanged(GraphViewChange graphViewChange)
    Parameters
    Type Name Description
    GraphViewChange graphViewChange
    Returns
    Type Description
    GraphViewChange

    OnNodeCreationRequest(NodeCreationContext)

    Declaration
    protected virtual void OnNodeCreationRequest(NodeCreationContext context)
    Parameters
    Type Name Description
    NodeCreationContext context

    OnPasteSerializedGraph(string, string)

    Declaration
    protected virtual void OnPasteSerializedGraph(string operationName, string serializedData)
    Parameters
    Type Name Description
    string operationName
    string serializedData

    OpenSearch(Vector2, CeresPortView)

    Open node search window with input port

    Declaration
    public virtual void OpenSearch(Vector2 screenPosition, CeresPortView portView)
    Parameters
    Type Name Description
    Vector2 screenPosition
    CeresPortView portView

    OpenSearch(Vector2)

    Open node search window

    Declaration
    public virtual void OpenSearch(Vector2 screenPosition)
    Parameters
    Type Name Description
    Vector2 screenPosition

    SetDirty()

    Marks graph view as dirty

    Declaration
    public void SetDirty()

    Implements

    IVariableSource
    In This Article
    Back to top Copyright © 2025 AkiKurisu
    Generated with DocFX