Class EntryData
Data object to add as userData for the search tree entries.
Inherited Members
Namespace: InsaneScatterbrain.ScriptGraph.Editor.NodeSearch
Syntax
public class EntryData
Constructors
EntryData(NodeType, IEnumerable<Type>, IEnumerable<Type>, object)
Declaration
public EntryData(NodeType type, IEnumerable<Type> inPortTypes = null, IEnumerable<Type> outPortTypes = null, object data = null)
Parameters
| Type | Name | Description |
|---|---|---|
| NodeType | type | |
| IEnumerable<Type> | inPortTypes | |
| IEnumerable<Type> | outPortTypes | |
| object | data |
Properties
Data
Gets the entry's data.
Declaration
public object Data { get; }
Property Value
| Type | Description |
|---|---|
| object |
InPortTypes
Gets the in port types associated with this entry's node.
Declaration
public ReadOnlyCollection<Type> InPortTypes { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<Type> |
NodeType
Gets the type of node.
Declaration
public NodeType NodeType { get; }
Property Value
| Type | Description |
|---|---|
| NodeType |
OutPortTypes
Gets the out port types associated with this entry's node.
Declaration
public ReadOnlyCollection<Type> OutPortTypes { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<Type> |