FReflectionMetaData

Reflection meta-data that can be used by the widget reflector to determine additional information about slate widgets that are constructed by [UObject](API\Runtime\CoreUObject\UObject\UObject) classes for UMG.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

ISlateMetaData

FReflectionMetaData

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Types/ReflectionMetadata.h

Include

#include "Types/ReflectionMetadata.h"

Syntax

class FReflectionMetaData : public ISlateMetaData

Remarks

Reflection meta-data that can be used by the widget reflector to determine additional information about slate widgets that are constructed by UObject classes for UMG.

Variables

Name Description

Public variable

TWeakObjectPtr<...

 

Asset

The asset that owns the widget and is responsible for its specific existence.

Public variable

TWeakObjectPtr<...

 

Class

The class the constructed the slate widget.

Public variable

FName

 

Name

The name of the widget in the hierarchy

Public variable

TWeakObjectPtr<...

 

SourceObject

The UObject wrapper that creates the widget, this is expected to be a UWidget.

Constructors

Name Description

Public function

FReflectionMetaData

(
    FName InName,
    UClass* InClass,
    UObject* InSourceObject,
    const UObject* InAsset
)

Functions

Name Description

Public function Static

const FName ...

 

GetTypeId()

Public function Static

FString

 

GetWidgetDebugInfo

(
    const SWidget* InWidget
)

Public function Static

FString

 

GetWidgetDebugInfo

(
    const SWidget& InWidget
)

Public function Static

TSharedPtr< ...

 

GetWidgetOrParentMetaData

(
    const SWidget* InWidget
)

Public function Static

FString

 

GetWidgetPath

(
    const SWidget* InWidget,
    bool bShort,
    bool bNativePathOnly
)

Public function Static

FString

 

GetWidgetPath

(
    const SWidget& InWidget,
    bool bShort,
    bool bNativePathOnly
)

Overridden from ISlateMetaData

Name Description

Public function Virtual Const

bool

 

IsOfTypeImpl

(
    const FName& Type
)

Checks whether this drag and drop operation can cast safely to the specified type.