Class Node.InputAttribute
Overrides
Namespace: Holoride.ElasticSDK.Graph
Assembly: Holoride.ElasticSDK.Runtime.dll
Syntax
public class Node.InputAttribute : XNode.Node.InputAttribute
Constructors
InputAttribute(ShowBackingValue, ConnectionType, TypeConstraint, bool, bool)
Mark a serializable field as an input port. You can access this through
Declaration
public InputAttribute(ShowBackingValue backingValue = null, ConnectionType connectionType = null, TypeConstraint typeConstraint = null, bool dynamicPortList = false, bool optional = false)
Parameters
| Type | Name | Description |
|---|---|---|
| ShowBackingValue | backingValue | Whether we display the backing value for this port as an editor field. |
| ConnectionType | connectionType | Whether we allow multiple connections. |
| TypeConstraint | typeConstraint | Constrains which input connections can be made to this port. |
| bool | dynamicPortList | If true, will display a reorderable list of inputs instead of a single port. Will automatically add and display values for lists and arrays. |
| bool | optional | Defines whether input to this port is optional. |
Fields
Optional
Declaration
public bool Optional
Field Value
| Type | Description |
|---|---|
| bool |