Search Results for

    Show / Hide Table of Contents

    Class CeresNodeSearchWindow

    Inheritance
    object
    CeresNodeSearchWindow
    ExecutableNodeSearchWindow
    Implements
    ISearchWindowProvider
    Namespace: Ceres.Editor.Graph
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class CeresNodeSearchWindow : ScriptableObject, ISearchWindowProvider

    Properties

    Context

    Declaration
    public NodeSearchContext Context { get; }
    Property Value
    Type Description
    NodeSearchContext

    GraphView

    Declaration
    public CeresGraphView GraphView { get; }
    Property Value
    Type Description
    CeresGraphView

    Height

    Declaration
    public float Height { get; protected set; }
    Property Value
    Type Description
    float

    Width

    Declaration
    public float Width { get; protected set; }
    Property Value
    Type Description
    float

    Methods

    CanShowType(Type, NodeSearchContext)

    Declaration
    protected static bool CanShowType(Type type, NodeSearchContext context)
    Parameters
    Type Name Description
    Type type
    NodeSearchContext context
    Returns
    Type Description
    bool

    ConnectRequestPort(ICeresNodeView)

    Connect request port from Context with new created node view

    Declaration
    protected virtual bool ConnectRequestPort(ICeresNodeView nodeView)
    Parameters
    Type Name Description
    ICeresNodeView nodeView
    Returns
    Type Description
    bool

    CreateGenericNodeView(CeresNodeSearchEntryData)

    Create node view from entry data and allowed construct generic node instance

    Declaration
    public ICeresNodeView CreateGenericNodeView(CeresNodeSearchEntryData entryData)
    Parameters
    Type Name Description
    CeresNodeSearchEntryData entryData
    Returns
    Type Description
    ICeresNodeView

    CreateNodeView(CeresNodeSearchEntryData)

    Create node view from entry data by current Context

    Declaration
    public ICeresNodeView CreateNodeView(CeresNodeSearchEntryData entryData)
    Parameters
    Type Name Description
    CeresNodeSearchEntryData entryData
    Returns
    Type Description
    ICeresNodeView

    CreateNonGenericNodeView(CeresNodeSearchEntryData)

    Create node view from entry data and not allowed construct generic node instance

    Declaration
    public ICeresNodeView CreateNonGenericNodeView(CeresNodeSearchEntryData entryData)
    Parameters
    Type Name Description
    CeresNodeSearchEntryData entryData
    Returns
    Type Description
    ICeresNodeView

    CreateSearchTree(SearchWindowContext)

    Declaration
    public abstract List<SearchTreeEntry> CreateSearchTree(SearchWindowContext context)
    Parameters
    Type Name Description
    SearchWindowContext context
    Returns
    Type Description
    System.Collections.Generic.List<T><SearchTreeEntry>

    Initialize(CeresGraphView, NodeSearchContext)

    Declaration
    public void Initialize(CeresGraphView graphView, NodeSearchContext context)
    Parameters
    Type Name Description
    CeresGraphView graphView
    NodeSearchContext context

    OnInitialize()

    Initialize search window

    Declaration
    protected virtual void OnInitialize()

    OnSelectEntry(CeresNodeSearchEntryData, Rect)

    Create node from CeresNodeSearchEntryData after click tree entry

    Declaration
    protected virtual bool OnSelectEntry(CeresNodeSearchEntryData entryData, Rect rect)
    Parameters
    Type Name Description
    CeresNodeSearchEntryData entryData
    Rect rect
    Returns
    Type Description
    bool

    OnSelectEntry(SearchTreeEntry, SearchWindowContext)

    Declaration
    public virtual bool OnSelectEntry(SearchTreeEntry searchTreeEntry, SearchWindowContext context)
    Parameters
    Type Name Description
    SearchTreeEntry searchTreeEntry
    SearchWindowContext context
    Returns
    Type Description
    bool

    SearchTypes(Type[], NodeSearchContext)

    Util function for searching types grouped by

    Declaration
    public static (List<IGrouping<string, Type>>, List<Type>) SearchTypes(Type[] baseTypes, NodeSearchContext nodeSearchContext)
    Parameters
    Type Name Description
    Type[] baseTypes
    NodeSearchContext nodeSearchContext
    Returns
    Type Description
    (System.Collections.Generic.List<T><System.Linq.IGrouping<TKey, TElement><string, Type>>, System.Collections.Generic.List<T><Type>)

    Implements

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