public abstract class Sandbox.Doo.Expression
Base class for all value expressions used as arguments and assignments within blocks.
Related Guides
Broader workflow and conceptual references connected to this API.
ActionGraph is a visual scripting system that lets you create game logic using nodes instead of code. Connect nodes together to build behaviors, respond to events, and control your scene โ all from a graphical editor.
Making a custom node in C# is as easy as writing a static method with a special \[ActionGraphNode( id )\] attribute. You should also add \[Pure\] if you want your node to be an expression node - a node without signals.
ActionGraph is a visual scripting language. Each node describes an action or expression, and links between nodes carry values or signals.
Constructors
Showing 1 constructors
protected Expression()
No results match this filter.
Methods
Showing 3 methods
public virtual void CollectArguments(System.Collections.Generic.HashSet`1<string> arguments)
public virtual Sandbox.Variant Evaluate()
Evaluates this expression and returns its value.
public virtual string GetDebugText()
Returns a human-readable string representation of this expression for the editor.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Doo.Expression |