UnrealSharp
  • Home
  • FAQ
  • Getting Started
    • Setup
    • Your First Script
    • Debugging
    • Packaging
  • Documentation
    • Classes
      • Properties
        • C++ Functions As C# Properties
        • C++ Properties with Getters/Setters
      • Functions
        • Flags
        • MetaData
      • Default Actor Components
      • Helper Methods
    • Structs
    • Enums
    • Interfaces
    • Delegates
    • Collections
      • TArray
      • TNativeArray
      • TSet
      • TMap
    • Multiplayer
      • Replicated Properties
      • RPCs (Remote Procedure Calls)
      • Replicated UObjects
    • Primary Data Assets
      • Loading Primary Data Assets
    • Loading Soft References
    • Trace Channels
    • Static Variables
      • FWorldStaticVar<T>
      • FGameStaticVar<T>
    • Logging
    • Async
    • Gameplay Tags
      • Gameplay Tag Container
    • Extension / Mixin Methods
    • Subsystems
    • Module Lifecycle
  • Links
    • Github Repository
    • Roadmap
    • Discord
Powered by GitBook
On this page
  1. Documentation
  2. Classes
  3. Functions

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.

PreviousFlagsNextDefault Actor Components

Last updated 8 months ago