Customizes the ArticyRef property in the Unreal Engine editor's details panel.
More...
#include <ArticyRefCustomization.h>
|
| virtual void | CustomizeHeader (TSharedRef< IPropertyHandle > PropertyHandle, FDetailWidgetRow &HeaderRow, IPropertyTypeCustomizationUtils &CustomizationUtils) override |
| | Customizes the header of the ArticyRef property in the details panel.
|
| virtual void | CustomizeChildren (TSharedRef< IPropertyHandle > PropertyHandle, IDetailChildrenBuilder &ChildBuilder, IPropertyTypeCustomizationUtils &CustomizationUtils) override |
| | Customizes the children of the ArticyRef property in the details panel.
|
Customizes the ArticyRef property in the Unreal Engine editor's details panel.
This class provides custom UI elements and functionality for editing ArticyRef properties, including class restrictions and value display.
◆ CustomizeChildren()
| void FArticyRefCustomization::CustomizeChildren |
( |
TSharedRef< IPropertyHandle > | PropertyHandle, |
|
|
IDetailChildrenBuilder & | ChildBuilder, |
|
|
IPropertyTypeCustomizationUtils & | CustomizationUtils ) |
|
overridevirtual |
Customizes the children of the ArticyRef property in the details panel.
This function does not add any custom children to the ArticyRef property.
- Parameters
-
| PropertyHandle | The handle to the property being customized. |
| ChildBuilder | The builder for customizing the children. |
| CustomizationUtils | Utilities for property customization. |
◆ CustomizeHeader()
| void FArticyRefCustomization::CustomizeHeader |
( |
TSharedRef< IPropertyHandle > | PropertyHandle, |
|
|
FDetailWidgetRow & | HeaderRow, |
|
|
IPropertyTypeCustomizationUtils & | CustomizationUtils ) |
|
overridevirtual |
Customizes the header of the ArticyRef property in the details panel.
IPropertyTypeCustomization interface
This function sets up the custom UI elements for the ArticyRef property header.
- Parameters
-
| PropertyHandle | The handle to the property being customized. |
| HeaderRow | The header row where custom UI elements are added. |
| CustomizationUtils | Utilities for property customization. |
◆ GetIdFromValueString()
| FArticyId FArticyRefCustomization::GetIdFromValueString |
( |
FString | SourceString | ) |
|
|
static |
Retrieves the ArticyId from a formatted value string.
- Parameters
-
| SourceString | The formatted value string containing the ArticyId. |
- Returns
- The ArticyId extracted from the value string.
◆ MakeInstance()
| TSharedRef< IPropertyTypeCustomization > FArticyRefCustomization::MakeInstance |
( |
| ) |
|
|
static |
◆ RetrieveArticyRef()
| FArticyRef * FArticyRefCustomization::RetrieveArticyRef |
( |
IPropertyHandle * | ArticyRefHandle | ) |
|
|
static |
Retrieves the ArticyRef object from a given property handle.
- Parameters
-
| ArticyIdHandle | The handle to the ArticyRef property. |
- Returns
- A pointer to the ArticyRef object.
- Parameters
-
| ArticyRefHandle | The handle to the ArticyRef property. |
- Returns
- A pointer to the ArticyRef object.
The documentation for this class was generated from the following files:
- Source/ArticyEditor/Public/Customizations/Details/ArticyRefCustomization.h
- Source/ArticyEditor/Private/Customizations/Details/ArticyRefCustomization.cpp