API ReferenceFacepunch.ActionGraphs

NodeDefinitionclass

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

objectNodeDefinition
Namespace
Facepunch.ActionGraphs
Assembly
Facepunch.ActionGraphs
Declaration
public abstract class Facepunch.ActionGraphs.NodeDefinition

Constructors1

Showing 1 constructors

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

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

ParameterTypeDescription
nodeLibraryNodeLibraryNode library that will contain this node definition.
identifierstringUnique identifier of this node definition.

Methods5

Showing 5 methods

public Facepunch.ActionGraphs.NodeBinding Bind(Facepunch.ActionGraphs.BindingSurface surface)PUBLIC

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.

ParameterTypeDescription
surfaceBindingSurface
Returns:NodeBinding

protected virtual void OnClearReflectionCache()PROTECTEDVIRTUAL

Returns:void

protected virtual void OnDefaultBindingsInvalidated()PROTECTEDVIRTUAL

Returns:void

Properties5

Showing 5 properties

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

Attributes attached to this node definition.

Returns:IReadOnlyCollection<Attribute>

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

Unique identifier of this node definition.

Returns:string

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

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

Returns:bool

On this page