当前位置:网站首页>U++ metadata specifier learning notes

U++ metadata specifier learning notes

2022-07-07 05:04:00 It's a bald rabbit

UCLASS == class

UENUM == enumeration

UINTERFACE == Interface

USTRUCT == Structure

UFUNCTION == The body of the function

UPROPERTY == Variable

UMETA == Metadata specifier

UENUM()
enum class EMyEnum : uint8
{
    // DefaultValue Tooltip
    DefaultValue = 0 UMETA(MetaTag1="Value1", MetaTag2, ..),

    // ValueWithoutMetaSpecifiers Tooltip
    ValueWithoutMetaSpecifiers,

    // ValueWithMetaSpecifiers Tooltip
    ValueWithMetaSpecifiers UMETA((MetaTag1="Value1", MetaTag2, ..),

    // FinalValue Tooltip
    FinalValue (MetaTag1="Value1", MetaTag2, ..)
};

 ​​​​​ 

 

 

  

 

 

 

 

 

 

原网站

版权声明
本文为[It's a bald rabbit]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207062236359007.html