s&box docs
API ReferenceFacepunch.ActionGraphs

public abstract class Facepunch.ActionGraphs.NodeDefinition

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

Constructors

Showing 1 constructors

protected NodeDefinition(Facepunch.ActionGraphs.NodeLibrary nodeLibrary, string identifier)

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

Parameters

  • nodeLibrary: Node library that will contain this node definition.
  • identifier: Unique identifier of this node definition.

Methods

Showing 5 methods

public Facepunch.ActionGraphs.NodeBinding Bind(Facepunch.ActionGraphs.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.

protected virtual void OnClearReflectionCache()

protected virtual void OnDefaultBindingsInvalidated()

Properties

Showing 5 properties

public virtual System.Collections.Generic.IReadOnlyCollection`1<System.Attribute> Facepunch.ActionGraphs.NodeDefinition.Attributes { get; set; }

Attributes attached to this node definition.

public virtual Facepunch.ActionGraphs.DisplayInfo Facepunch.ActionGraphs.NodeDefinition.DisplayInfo { get; set; }

Title, description, and categorizing information about the node definition.

public string Facepunch.ActionGraphs.NodeDefinition.Identifier { get; set; }

Unique identifier of this node definition.

public bool Facepunch.ActionGraphs.NodeDefinition.IsObsolete { get; set; }

True if this definition has an `System.ObsoleteAttribute`.

Metadata

FieldValue
NamespaceFacepunch.ActionGraphs
Typeclass
AssemblyFacepunch.ActionGraphs
Doc IDT:Facepunch.ActionGraphs.NodeDefinition

On this page