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
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
Returns
- Type[]
GetGenericNodeEntryName(string, Type)
Make generic node view editor name
string GetGenericNodeEntryName(string label, Type selectArgumentType)
Parameters
Returns
GetGenericNodeName(string, Type[])
Make generic node view editor name
string GetGenericNodeName(string label, Type[] argumentTypes)
Parameters
Returns
RequirePort()
Whether this template require to know port value type
bool RequirePort()