class
PropertyDefinition
public class PropertyDefinition Describes a property of a node that should be configurable in the inspector.
Constructors
PropertyDefinition(String Name, Type Type, PropertyFlags Flags, DisplayInfo Display, Object Default, Type GenericParameter, IReadOnlyCollection<Attribute> Attributes) Properties
| Name | Type | Description |
|---|---|---|
Name virtual | String | Name used to reference this property. |
Type virtual | Type | What type is accepted for this property. |
Flags | PropertyFlags | |
Display virtual | DisplayInfo | Optional title and description of the property. |
Default | Object | If IsRequired is false, this value will be used when no value is provided. |
GenericParameter | Type | If Type is Type, can hold a generic parameter constraining the type. |
Attributes virtual | IReadOnlyCollection<Attribute> | |
IsRequired virtual | Boolean | |
IsMissing virtual | Boolean | |
AlwaysSerialize | Boolean |
Methods
static PropertyDefinition Missing(String name) virtual PropertyDefinition <Clone>$() Void Deconstruct(String Name, Type Type, PropertyFlags Flags, DisplayInfo Display, Object Default, Type GenericParameter, IReadOnlyCollection<Attribute> Attributes) Assembly:
Facepunch.ActionGraphs Namespace: Facepunch.ActionGraphs Full Name: Facepunch.ActionGraphs.PropertyDefinition