Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Editor/PropertyEditor/Public/PropertyEditorModule.h |
Include |
#include "PropertyEditorModule.h" |
Source |
/Engine/Source/Editor/PropertyEditor/Private/PropertyEditorModule.cpp |
virtual void RegisterCustomPropertyTypeLayout
(
FName PropertyTypeName,
FOnGetPropertyTypeCustomizationInstance PropertyTypeLayoutDelegate,
TSharedPtr< IPropertyTypeIdentifier > Identifier
)
Registers a property type customization A property type is a specific FProperty type, a struct, or enum type
Parameter |
Description |
---|---|
PropertyTypeName |
The name of the property type to customize. For structs and enums this is the name of the struct class or enum (not StructProperty or ByteProperty) |
PropertyTypeLayoutDelegate |
The delegate to call when querying for a custom layout of the property type |
Identifier |
An identifier to use to differentiate between two customizations on the same type |