Interface IInputPortBuilder
Interface for defining an input port.
Inherited Members
Namespace: Unity.GraphToolkit.Editor
Assembly: Unity.GraphToolkit.Editor.dll
Syntax
public interface IInputPortBuilder : IInputBasePortBuilder<IInputPortBuilder>, IPortBuilder<IInputPortBuilder>
Methods
WithDataType(Type)
Configures the data type of the input port.
Declaration
ITypedInputPortBuilder WithDataType(Type portType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | portType | The data type of the port. |
Returns
| Type | Description |
|---|---|
| ITypedInputPortBuilder | An input port builder that supports typed values. |
WithDataType<TData>()
Configures the generic data type TData of the input port.
Declaration
IInputPortBuilder<TData> WithDataType<TData>()
Returns
| Type | Description |
|---|---|
| IInputPortBuilder<TData> | An input port builder with the specified data type. |
Type Parameters
| Name | Description |
|---|---|
| TData | The data type of the input port. |