Method GetPortValue
GetPortValue<T>(PortDescriptor, out T)
Get the default value of a port in the graph
Declaration
public static bool GetPortValue<T>(PortDescriptor portDesc, out T value)
Parameters
Type | Name | Description |
---|---|---|
PortDescriptor | portDesc | The port to change default value |
T | value | Default value of the port |
Returns
Type | Description |
---|---|
bool | Returns true if successful |
Type Parameters
Name | Description |
---|---|
T |