Class BindingAttribute
Register a binding inside nodes. Bindings are specific to the NodeInstance, SystemGraph does not manage any of the data inside bindings. Bindings differ from properties in that they are initialized earlier in the lifecylce. You can access the data in bindings from InternalInitialize() in the node. For these reasons bindings are highly recommended if your node is the the only consumer of the external data, and different instances of your node may require different instances of the external data.
Implements
Inherited Members
Namespace: Mechatronics.SystemGraph
Assembly: solution.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public class BindingAttribute : Attribute, _Attribute
Constructors
Name | Description |
---|---|
BindingAttribute(string) | Initializes a binding. |
Fields
Name | Description |
---|---|
Name | Name for the binding, will show up in the inspector as "NodeName.BindingName" |
Methods
Name | Description |
---|---|
ExtractAll(object) | Extract all bindings from an object. |