Attribute in CodeFunctionNode


Defines an argument to a method as a Port for a Node. The type of the Port is defined by the argument type.

The SlotAttribute can also be used to apply a Port Binding to the Port or define its default value.


Property Type Description
slotId int Index for the Port. Must be unique.
binding Binding Defines the Port Binding. Set to None for no binding.
hidden bool If true the Port will be hidden.
defaultValue Vector4 Default value for the Port.