ArticyXImporter
ArticyXImporter for Unreal Engine
Loading...
Searching...
No Matches
FArticyRefCustomization Class Referencefinal

Customizes the ArticyRef property in the Unreal Engine editor's details panel. More...

#include <ArticyRefCustomization.h>

Inheritance diagram for FArticyRefCustomization:

Public Member Functions

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.

Static Public Member Functions

static TSharedRef< IPropertyTypeCustomization > MakeInstance ()
 Creates a shared instance of FArticyRefCustomization.
static FArticyRefRetrieveArticyRef (IPropertyHandle *ArticyIdHandle)
 Retrieves the ArticyRef object from a given property handle.
static FArticyId GetIdFromValueString (FString SourceString)
 Retrieves the ArticyId from a formatted value string.

Detailed Description

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.

Member Function Documentation

◆ 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
PropertyHandleThe handle to the property being customized.
ChildBuilderThe builder for customizing the children.
CustomizationUtilsUtilities 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
PropertyHandleThe handle to the property being customized.
HeaderRowThe header row where custom UI elements are added.
CustomizationUtilsUtilities for property customization.

◆ GetIdFromValueString()

FArticyId FArticyRefCustomization::GetIdFromValueString ( FString SourceString)
static

Retrieves the ArticyId from a formatted value string.

Parameters
SourceStringThe formatted value string containing the ArticyId.
Returns
The ArticyId extracted from the value string.

◆ MakeInstance()

TSharedRef< IPropertyTypeCustomization > FArticyRefCustomization::MakeInstance ( )
static

Creates a shared instance of FArticyRefCustomization.

Returns
A shared pointer to a new instance of FArticyRefCustomization.

◆ RetrieveArticyRef()

FArticyRef * FArticyRefCustomization::RetrieveArticyRef ( IPropertyHandle * ArticyRefHandle)
static

Retrieves the ArticyRef object from a given property handle.

Parameters
ArticyIdHandleThe handle to the ArticyRef property.
Returns
A pointer to the ArticyRef object.
Parameters
ArticyRefHandleThe 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