Interface ITypedInputPortBuilder
Interface for defining a typed input port.
Inherited Members
Namespace: Unity.GraphToolkit.Editor
Assembly: Unity.GraphToolkit.Editor.dll
Syntax
public interface ITypedInputPortBuilder : IInputBasePortBuilder<ITypedInputPortBuilder>, IPortBuilder<ITypedInputPortBuilder>
Remarks
Use this interface to configure additional features for a typed input port, such as default values.
Methods
WithDefaultValue(object)
Configures a default value for the input port.
Declaration
ITypedInputPortBuilder WithDefaultValue(object defaultValue)
Parameters
Type | Name | Description |
---|---|---|
object | defaultValue | The default value for the port. |
Returns
Type | Description |
---|---|
ITypedInputPortBuilder | An input port builder configured with the default value. |