Class InputPortAttribute
The attributes for node input ports.
Namespace: Unity.VisualCompositor
Syntax
public class InputPortAttribute : Attribute, IHasOrder, IHasName
Constructors
InputPortAttribute(Int32, String)
Add an input port to a node.
Declaration
public InputPortAttribute(int order = 0, string name = null)
Parameters
Type | Name | Description |
---|---|---|
Int32 | order | The order of the port |
String | name | The name of the port |
Methods
GetName()
Declaration
public string GetName()
Returns
Type | Description |
---|---|
String |
Implements
GetOrder()
Gets the order
Declaration
public int GetOrder()
Returns
Type | Description |
---|---|
Int32 | The order |