NodeDefinitionclass
Describes the behaviour and bindings of a node for use in an action graph.
Constructors1
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.
| Parameter | Type | Description |
|---|---|---|
| nodeLibrary | NodeLibrary | Node library that will contain this node definition. |
| identifier | string | Unique identifier of this node definition. |
No results match this filter.
Methods5
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.
| Parameter | Type | Description |
|---|---|---|
| surface | BindingSurface | — |
protected virtual Facepunch.ActionGraphs.NodeBinding OnBind(Facepunch.ActionGraphs.BindingSurface surface)
| Parameter | Type | Description |
|---|---|---|
| surface | BindingSurface | — |
protected virtual System.Linq.Expressions.Expression OnBuildExpression(Facepunch.ActionGraphs.Compilation.INodeExpressionBuilder builder)
| Parameter | Type | Description |
|---|---|---|
| builder | INodeExpressionBuilder | — |
protected virtual void OnClearReflectionCache()
void—protected virtual void OnDefaultBindingsInvalidated()
void—No results match this filter.
Properties5
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.
string—public bool Facepunch.ActionGraphs.NodeDefinition.IsObsolete { get; set; }
True if this definition has an `System.ObsoleteAttribute`.
bool—public Facepunch.ActionGraphs.NodeLibrary Facepunch.ActionGraphs.NodeDefinition.NodeLibrary { get; set; }
Node library containing this node definition.
No results match this filter.