Api Facepunch ActionGraphs NodeDefinition
class

NodeDefinition

public abstract class NodeDefinition

Describes the behaviour and bindings of a node for use in an action graph.

Properties

Name Type Description
NodeLibrary NodeLibrary Node library containing this node definition.
Identifier String Unique identifier of this node definition.
DisplayInfo virtual DisplayInfo Title, description, and categorizing information about the node definition.
Attributes virtual IReadOnlyCollection<Attribute> Attributes attached to this node definition.
IsObsolete Boolean True if this definition has an ObsoleteAttribute.

Methods

NodeBinding Bind(BindingSurface surface)

Attempts to get a binding based on property values and input types. Bindings are typed sets of named properties, inputs, and outputs. If a valid binding wasn't found, the result will contain messages explaining why.

Assembly: Facepunch.ActionGraphs Namespace: Facepunch.ActionGraphs Full Name: Facepunch.ActionGraphs.NodeDefinition