Class InputPortAttribute
The attributes for node input ports.
Inherited Members
Namespace: Unity.VisualCompositor
Assembly: Unity.VisualCompositor.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public class InputPortAttribute : Attribute, IHasOrder, IHasName
Constructors
InputPortAttribute(int, string)
Add an input port to a node.
Declaration
public InputPortAttribute(int order = 0, string name = null)
Parameters
| Type | Name | Description |
|---|---|---|
| int | order | The order of the port |
| string | name | The name of the port |
Methods
GetName()
Returns the name of the object
Declaration
public string GetName()
Returns
| Type | Description |
|---|---|
| string | The name as string |
GetOrder()
Gets the order
Declaration
public int GetOrder()
Returns
| Type | Description |
|---|---|
| int | The order |