public class Facepunch.ActionGraphs.Variable
Variables have a name and type, and are local to each invocation of an `Facepunch.ActionGraphs.Variable.ActionGraph`. They are assigned with a `!:NodeLibrary.SetVar` node, and read with `!:NodeLibrary.GetVar`.
Related Guides
Broader workflow and conceptual references connected to this API.
Attributes are the bridge to pass information around the CPU to the GPU, like Variables, Textures or entire Buffers.
Standard .NET file access is restricted to prevent rogue access to your files, this means you can not use System.IO.File or variants directly.
Just like Subgraphs, you can also create your own custom Nodes with C# (and shader code) to be used in Shader Graphs.
Much like SSAO, you can composite dynamic specular reflections on your object, whether they are SSR or eventually Raytraced Reflections
Editor Events are events that are broadcast globally throughout the editor and can be listened to/fired from any Editor Project. These are useful for creating your own custom Editor Tools and making sure they can work in tandem with existing systems.
UI can also be created using Razor, which allows you to use web-like HTML/CSS to create and style each Panel while also being able to leverage C#.
Methods
Showing 1 methods
public void Remove()
Remove this variable from its action graph. This will clear any references to it.
No results match this filter.
Properties
Showing 8 properties
public virtual sealed Facepunch.ActionGraphs.ActionGraph Facepunch.ActionGraphs.Variable.ActionGraph { get; set; }
The action graph this variable belongs to.
public object Facepunch.ActionGraphs.Variable.DefaultValue { get; set; }
Initial value of the variable before being assigned.
public virtual sealed bool Facepunch.ActionGraphs.Variable.IsValid { get; set; }
Becomes false when this variable is removed.
public string Facepunch.ActionGraphs.Variable.Name { get; set; }
The name of this variable, unique in its action graph.
public System.Collections.Generic.IEnumerable`1<Facepunch.ActionGraphs.Node.Property> Facepunch.ActionGraphs.Variable.References { get; set; }
All node properties that currently reference this variable.
public virtual sealed string Facepunch.ActionGraphs.Variable.StackTraceIdentifier { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Facepunch.ActionGraphs |
| Type | class |
| Assembly | Facepunch.ActionGraphs |
| Doc ID | T:Facepunch.ActionGraphs.Variable |