Propertyclass

A named constant value stored inside a node.

objectParameter<T>Property
Namespace
global
Assembly
Facepunch.ActionGraphs
Declaration
public class Facepunch.ActionGraphs.Node.Property : Facepunch.ActionGraphs.Node.Parameter<T>

Constructors1

Showing 1 constructors

Methods3

Showing 3 methods

public bool TryGetValue(object value)PUBLIC

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.

ParameterTypeDescription
valueobjectCurrent assigned or default value.
Returns:boolTrue if this node has an assigned or default value.

Properties2

Showing 2 properties

public bool Facepunch.ActionGraphs.Node.Property.IsVariable { get; set; }PUBLICGETSET

If true, this property references a `Facepunch.ActionGraphs.Variable`.

Returns:bool

public object Facepunch.ActionGraphs.Node.Property.Value { get; set; }PUBLICGETSET

Constant value assigned to this parameter.

Returns:object

On this page