UM::

Metadata usable in UPROPERTY for customizing the behavior of Persona and UMG TODO: Move this to be contained in those modules specifically?

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectMacros.h

Include

#include "UObject/ObjectMacros.h"

Syntax

namespace UM
{
    enum
    {
        NeverAsPin,
        PinHiddenByDefault,
        PinShownByDefault,
        AlwaysAsPin,
        CustomizeProperty,
    }
}

Values

Name

Description

NeverAsPin

[PropertyMetadata] The property is not exposed as a data pin and is only be editable in the details panel. Applicable only to properties that will be displayed in Persona and UMG.

PinHiddenByDefault

[PropertyMetadata] The property can be exposed as a data pin, but is hidden by default. Applicable only to properties that will be displayed in Persona and UMG.

PinShownByDefault

[PropertyMetadata] The property can be exposed as a data pin and is visible by default. Applicable only to properties that will be displayed in Persona and UMG.

AlwaysAsPin

[PropertyMetadata] The property is always exposed as a data pin. Applicable only to properties that will be displayed in Persona and UMG.

CustomizeProperty

[PropertyMetadata] Indicates that the property has custom code to display and should not generate a standard property widget int he details panel. Applicable only to properties that will be displayed in Persona.

Remarks

Metadata usable in UPROPERTY for customizing the behavior of Persona and UMG TODO: Move this to be contained in those modules specifically?

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss