Class NodeCategoryAttribute
Class NodeCategoryAttribute. Implements the Attribute
Implements
Inherited Members
Namespace: Mechatronics.SystemGraph
Assembly: solution.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class NodeCategoryAttribute : Attribute, _Attribute
Constructors
Name | Description |
---|---|
NodeCategoryAttribute(string, string, NodeTick, LifeCycle, float, NodeMode, bool) | Initializes a Node to be created in the graph. |
NodeCategoryAttribute(Type) | Initializes the attribute using a linked type. |
Fields
Name | Description |
---|---|
Category | Category field for the node, used for node creation menu. |
DeferredAttribute | If this attribute links to a different node type, which contains a NodeCategory attribute. This field will then contain the linked node type. |
Expandable | Describes if the node contains expandable ports. |
FrequencyHint | Give a default frequency for this node. |
LifeCycle | Describes which Unity events this node will handle. |
Mode | Describes the functionality of the node, see NodeMode. |
Name | Default name of the node that appears in the editor, can be renamed from the editor later on. |
NodeTick | Describes how the node behaves with the scheduler. |
kReservedChars | Characters to that are reserved for internal use, cannot be in node names. |