Interface IGenericNodeTemplate
Interface for generic node template
public interface IGenericNodeTemplate
Methods
CanFilterPort(Type)
Whether input port value type is allowed for this template
bool CanFilterPort(Type portValueType)
Parameters
portValueTypeTypePort value type, null if no port dropped
Returns
- bool
GetAvailableArguments(Type)
Get available argument types based on port value type
Type[] GetAvailableArguments(Type portValueType)
Parameters
portValueTypeTypePort value type, null if no port dropped
Returns
- Type[]
GetGenericArguments(Type, Type)
Get arguments to construct generic node type
Type[] GetGenericArguments(Type portValueType, Type selectArgumentType)
Parameters
portValueTypeTypePort value type, null if no port dropped
selectArgumentTypeType
Returns
- Type[]
GetGenericNodeEntryName(string, Type)
Make generic node view editor name
string GetGenericNodeEntryName(string label, Type selectArgumentType)
Parameters
labelstringselectArgumentTypeType
Returns
- string
GetGenericNodeName(string, Type[])
Make generic node view editor name
string GetGenericNodeName(string label, Type[] argumentTypes)
Parameters
labelstringargumentTypesType[]
Returns
- string
RequirePort()
Whether this template require to know port value type
bool RequirePort()
Returns
- bool