API ReferenceFacepunch.ActionGraphs
InputDefinitionclass
Describes an input of a node.
object→InputDefinition
Constructors2
Showing 2 constructors
No results match this filter.
Methods7
Showing 7 methods
public virtual Facepunch.ActionGraphs.InputDefinition <Clone>$()
public void Deconstruct(string Name, System.Type Type, Facepunch.ActionGraphs.InputFlags Flags, Facepunch.ActionGraphs.DisplayInfo Display, System.Collections.Generic.IReadOnlySet`1<string> UsedBy, object Default, System.Collections.Generic.IReadOnlyCollection`1<System.Attribute> Attributes)
| Parameter | Type | Description |
|---|---|---|
| Name | string | — |
| Type | Type | — |
| Flags | InputFlags | — |
| Display | DisplayInfo | — |
| UsedBy | IReadOnlySet<string> | — |
| Default | object | — |
| Attributes | IReadOnlyCollection<Attribute> | — |
Returns:
void—public static Facepunch.ActionGraphs.InputDefinition Missing(string name)
| Parameter | Type | Description |
|---|---|---|
| name | string | — |
public static Facepunch.ActionGraphs.InputDefinition PrimarySignal(string title = Run, string description = Triggers the execution of this node.)
| Parameter | Type | Description |
|---|---|---|
| title = Run | string | — |
| description = Triggers the execution of this node. | string | — |
protected virtual bool PrintMembers(System.Text.StringBuilder builder)
| Parameter | Type | Description |
|---|---|---|
| builder | StringBuilder | — |
Returns:
bool—public static Facepunch.ActionGraphs.InputDefinition SecondarySignal(string name, string title = null, string description = Triggers the execution of this node.)
| Parameter | Type | Description |
|---|---|---|
| name | string | — |
| title = null | string | — |
| description = Triggers the execution of this node. | string | — |
public static Facepunch.ActionGraphs.InputDefinition Target(System.Type type, object defaultValue = null, string title = Target, string description = Object to call the method on.)
| Parameter | Type | Description |
|---|---|---|
| type | Type | — |
| defaultValue = null | object | — |
| title = Target | string | — |
| description = Object to call the method on. | string | — |
No results match this filter.
Properties17
Showing 17 properties
public bool Facepunch.ActionGraphs.InputDefinition.AllowCaching { get; set; }
Returns:
bool—public virtual sealed System.Collections.Generic.IReadOnlyCollection`1<System.Attribute> Facepunch.ActionGraphs.InputDefinition.Attributes { get; set; }
public object Facepunch.ActionGraphs.InputDefinition.Default { get; set; }
If `Facepunch.ActionGraphs.InputDefinition.IsRequired` is false, this value will be used when no value is provided.
Returns:
object—public virtual sealed Facepunch.ActionGraphs.DisplayInfo Facepunch.ActionGraphs.InputDefinition.Display { get; set; }
Optional title and description of the input.
public System.Type Facepunch.ActionGraphs.InputDefinition.ElementType { get; set; }
For array input types, the type of an element of the array.
protected virtual System.Type Facepunch.ActionGraphs.InputDefinition.EqualityContract { get; set; }
public Facepunch.ActionGraphs.InputFlags Facepunch.ActionGraphs.InputDefinition.Flags { get; set; }
public bool Facepunch.ActionGraphs.InputDefinition.IsArray { get; set; }
If true, this input accepts an array of values. Each element can be connected to a different output.
Returns:
bool—public virtual sealed bool Facepunch.ActionGraphs.InputDefinition.IsMissing { get; set; }
Returns:
bool—public bool Facepunch.ActionGraphs.InputDefinition.IsNotAlwaysAccessed { get; set; }
Returns:
bool—public bool Facepunch.ActionGraphs.InputDefinition.IsPrimarySignal { get; set; }
Returns:
bool—public virtual sealed bool Facepunch.ActionGraphs.InputDefinition.IsRequired { get; set; }
Returns:
bool—public bool Facepunch.ActionGraphs.InputDefinition.IsSignal { get; set; }
If true, this input receives a signal that will cause the parent node to act.
Returns:
bool—public bool Facepunch.ActionGraphs.InputDefinition.IsTarget { get; set; }
Returns:
bool—public virtual sealed string Facepunch.ActionGraphs.InputDefinition.Name { get; set; }
Name used to reference this input.
Returns:
string—public virtual sealed System.Type Facepunch.ActionGraphs.InputDefinition.Type { get; set; }
What type is accepted in this input. For input signals, this will be `Facepunch.ActionGraphs.Signal`.
public System.Collections.Generic.IReadOnlySet`1<string> Facepunch.ActionGraphs.InputDefinition.UsedBy { get; set; }
Input signals that use this input.
Returns:
IReadOnlySet<string>—No results match this filter.