Class OutputPortAttribute
The attributes for node output ports.
Namespace: Unity.VisualCompositor
Syntax
public class OutputPortAttribute : Attribute, IHasOrder, IHasName
Constructors
OutputPortAttribute(Int32, String)
Add an output port to a node.
Declaration
public OutputPortAttribute(int order = 0, string name = null)
Parameters
Type | Name | Description |
---|---|---|
Int32 | order | The order of the port |
String | name |
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 |