API ReferenceFacepunch.ActionGraphs

DisplayInfoclass

Display information of a `Facepunch.ActionGraphs.NodeDefinition`.

objectDisplayInfo
Namespace
Facepunch.ActionGraphs
Assembly
Facepunch.ActionGraphs
Declaration
public class Facepunch.ActionGraphs.DisplayInfo

Constructors2

Showing 2 constructors

Methods7

Showing 7 methods

public virtual Facepunch.ActionGraphs.DisplayInfo <Clone>$()PUBLICVIRTUAL

Returns:DisplayInfo

public void Deconstruct(string Title, string Description, string Group, string Icon, System.Nullable`1<bool> Hidden, string[] Tags)PUBLIC

ParameterTypeDescription
Titlestring
Descriptionstring
Groupstring
Iconstring
HiddenNullable<bool>
Tagsstring[]
Returns:void

public Facepunch.ActionGraphs.DisplayInfo Format(System.Func`2<string,object> getProperty, System.Type targetType = null)PUBLIC

ParameterTypeDescription
getPropertyFunc<string,object>
targetType = nullType
Returns:DisplayInfo

protected virtual bool PrintMembers(System.Text.StringBuilder builder)PROTECTEDVIRTUAL

ParameterTypeDescription
builderStringBuilder
Returns:bool

Properties7

Showing 7 properties

public string Facepunch.ActionGraphs.DisplayInfo.Description { get; set; }PUBLICGETSET

Helpful text explaining the usage of the node.

Returns:string

protected virtual System.Type Facepunch.ActionGraphs.DisplayInfo.EqualityContract { get; set; }PROTECTEDVIRTUALGETSET

Returns:Type

public string Facepunch.ActionGraphs.DisplayInfo.Group { get; set; }PUBLICGETSET

Category to help organize the node.

Returns:string

public System.Nullable`1<bool> Facepunch.ActionGraphs.DisplayInfo.Hidden { get; set; }PUBLICGETSET

If true, don't show this node definition in editor UI.

Returns:Nullable<bool>

public string Facepunch.ActionGraphs.DisplayInfo.Icon { get; set; }PUBLICGETSET

Material icon for this node.

Returns:string

public string[] Facepunch.ActionGraphs.DisplayInfo.Tags { get; set; }PUBLICGETSET

Set of tags to help organize the node.

Returns:string[]

public string Facepunch.ActionGraphs.DisplayInfo.Title { get; set; }PUBLICGETSET

Display name of the node.

Returns:string

On this page

Constructorsprotected DisplayInfo(Facepunch.ActionGraphs.DisplayInfo original)public DisplayInfo(System.String Title, System.String Description = null, System.String Group = null, System.String Icon = null, System.Nullable`1<System.Boolean> Hidden = False, System.String[] Tags = null)Methodspublic virtual Facepunch.ActionGraphs.DisplayInfo <Clone>$()public System.Void Deconstruct(System.String Title, System.String Description, System.String Group, System.String Icon, System.Nullable`1<System.Boolean> Hidden, System.String[] Tags)public Facepunch.ActionGraphs.DisplayInfo Format(System.Func`2<System.String,System.Object> getProperty, System.Type targetType = null)public static Facepunch.ActionGraphs.DisplayInfo FromAttributes(System.Reflection.ICustomAttributeProvider member, System.String defaultTitle)public static Facepunch.ActionGraphs.DisplayInfo FromAttributes(System.Reflection.MemberInfo member)public static Facepunch.ActionGraphs.DisplayInfo FromAttributes(System.Reflection.ParameterInfo parameter)protected virtual System.Boolean PrintMembers(System.Text.StringBuilder builder)Propertiespublic System.String Facepunch.ActionGraphs.DisplayInfo.Description { get; set; }protected virtual System.Type Facepunch.ActionGraphs.DisplayInfo.EqualityContract { get; set; }public System.String Facepunch.ActionGraphs.DisplayInfo.Group { get; set; }public System.Nullable`1<System.Boolean> Facepunch.ActionGraphs.DisplayInfo.Hidden { get; set; }public System.String Facepunch.ActionGraphs.DisplayInfo.Icon { get; set; }public System.String[] Facepunch.ActionGraphs.DisplayInfo.Tags { get; set; }public System.String Facepunch.ActionGraphs.DisplayInfo.Title { get; set; }Metadata