Search Results for

    Show / Hide Table of Contents

    Interface IGenericNodeTemplate

    Interface for generic node template

    Namespace: Ceres.Graph
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IGenericNodeTemplate

    Methods

    CanFilterPort(Type)

    Whether input port value type is allowed for this template

    Declaration
    bool CanFilterPort(Type portValueType)
    Parameters
    Type Name Description
    Type portValueType

    Port value type, null if no port dropped

    Returns
    Type Description
    bool

    GetAvailableArguments(Type)

    Get available argument types based on port value type

    Declaration
    Type[] GetAvailableArguments(Type portValueType)
    Parameters
    Type Name Description
    Type portValueType

    Port value type, null if no port dropped

    Returns
    Type Description
    Type[]

    GetGenericArguments(Type, Type)

    Get arguments to construct generic node type

    Declaration
    Type[] GetGenericArguments(Type portValueType, Type selectArgumentType)
    Parameters
    Type Name Description
    Type portValueType

    Port value type, null if no port dropped

    Type selectArgumentType
    Returns
    Type Description
    Type[]

    GetGenericNodeEntryName(string, Type)

    Make generic node view editor name

    Declaration
    string GetGenericNodeEntryName(string label, Type selectArgumentType)
    Parameters
    Type Name Description
    string label
    Type selectArgumentType
    Returns
    Type Description
    string

    GetGenericNodeName(string, Type[])

    Make generic node view editor name

    Declaration
    string GetGenericNodeName(string label, Type[] argumentTypes)
    Parameters
    Type Name Description
    string label
    Type[] argumentTypes
    Returns
    Type Description
    string

    RequirePort()

    Whether this template require to know port value type

    Declaration
    bool RequirePort()
    Returns
    Type Description
    bool
    In This Article
    Back to top Copyright © 2025 AkiKurisu
    Generated with DocFX