public class Facepunch.ActionGraphs.Node.Property : Facepunch.ActionGraphs.Node.Parameter<T>
A named constant value stored inside a node.
Related Guides
Broader workflow and conceptual references connected to this API.
s&box has a [CodeGenerator] attribute that you can use to decorate another attribute specifically for use with methods and properties. It lets you wrap methods and properties to perform some other action when the method is called or the property is set or to return a different value when the property is read.
You can define upgraders for components. Useful when making a breaking change to a component such as property renaming, or new data structures.
A Component is added to a GameObject to provide functionality. This functionality can vary wildly.
To make a post process shader you should derive from BasePostProcess<T>. This makes it easier to make a component that will be able to blend from multiple others.
When creating your own Classes/Structs/Assets/ect, you'll sometimes want custom editors that pair with them. For example, a Gradient Editor so you can visually see what the Gradient looks like instead of editing the Gradient as if it were a Struct with a list of Colours.
The FilmGrain component adds simulated film-style grain to the camera output. It's purely visual โ it does not affect gameplay or lighting โ and is intended to add texture, grit or stylistic noise to the final image.
Constructors
Showing 1 constructors
public Property()
No results match this filter.
Methods
Showing 3 methods
public bool TryGetValue(object value)
Attempts to get either the current assigned value, or default value for optional properties. Returns false if this property is required and has no assigned value.
Parameters
value: Current assigned or default value.
Returns
True if this node has an assigned or default value.
No results match this filter.
Properties
Showing 2 properties
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Facepunch.ActionGraphs |
| Doc ID | T:Facepunch.ActionGraphs.Node.Property |