MetaData

MetaData for UFunctions and their purpose

Example of MetaData

[UFunction(DisplayName = "TestFunction")] // Will show up in blueprint as this
public void MyTestFunction() { }
MetaData
Effect

DisplayName

The name of this node in a Blueprint will be replaced with the value provided here, instead of the code-generated name.

CallInEditor

This function can be called in the editor on selected instances via a button in the Details panel.

Category = "TopCategory|SubCategory|Etc"

Specifies the category of the function when displayed in Blueprint editing tools. Define nested categories using the | operator.

ExpandEnumAsExecs="Parameter"

For BlueprintCallable functions, this indicates that one input execution pin should be created for each entry in the enum used by the parameter. The parameter must be of an enumerated type that has the UEnum Attribute.

Last updated