Platformer Pro  2.3.2
A platform game kit for Unity.
XNode.Node.OutputAttribute Class Reference

Mark a serializable field as an output port. You can access this through GetOutputPort(string) More...

Inheritance diagram for XNode.Node.OutputAttribute:

Public Member Functions

 OutputAttribute (ShowBackingValue backingValue=ShowBackingValue.Never, ConnectionType connectionType=ConnectionType.Multiple, TypeConstraint typeConstraint=TypeConstraint.None, bool dynamicPortList=false)
 Mark a serializable field as an output port. You can access this through GetOutputPort(string) More...
 
 OutputAttribute (ShowBackingValue backingValue, ConnectionType connectionType, bool dynamicPortList)
 Mark a serializable field as an output port. You can access this through GetOutputPort(string) More...
 

Public Attributes

ShowBackingValue backingValue
 
ConnectionType connectionType
 
bool dynamicPortList
 
TypeConstraint typeConstraint
 

Properties

bool instancePortList [get, set]
 

Detailed Description

Mark a serializable field as an output port. You can access this through GetOutputPort(string)

Constructor & Destructor Documentation

◆ OutputAttribute() [1/2]

XNode.Node.OutputAttribute.OutputAttribute ( ShowBackingValue  backingValue = ShowBackingValue.Never,
ConnectionType  connectionType = ConnectionType.Multiple,
TypeConstraint  typeConstraint = TypeConstraint.None,
bool  dynamicPortList = false 
)

Mark a serializable field as an output port. You can access this through GetOutputPort(string)

Parameters
backingValueShould we display the backing value for this port as an editor field?
connectionTypeShould we allow multiple connections?
typeConstraintConstrains which input connections can be made from this port
dynamicPortListIf true, will display a reorderable list of outputs instead of a single port. Will automatically add and display values for lists and arrays

◆ OutputAttribute() [2/2]

XNode.Node.OutputAttribute.OutputAttribute ( ShowBackingValue  backingValue,
ConnectionType  connectionType,
bool  dynamicPortList 
)

Mark a serializable field as an output port. You can access this through GetOutputPort(string)

Parameters
backingValueShould we display the backing value for this port as an editor field?
connectionTypeShould we allow multiple connections?
dynamicPortListIf true, will display a reorderable list of outputs instead of a single port. Will automatically add and display values for lists and arrays

Member Data Documentation

◆ backingValue

ShowBackingValue XNode.Node.OutputAttribute.backingValue

◆ connectionType

ConnectionType XNode.Node.OutputAttribute.connectionType

◆ dynamicPortList

bool XNode.Node.OutputAttribute.dynamicPortList

◆ typeConstraint

TypeConstraint XNode.Node.OutputAttribute.typeConstraint

Property Documentation

◆ instancePortList

bool XNode.Node.OutputAttribute.instancePortList
getset

The documentation for this class was generated from the following file: