Navigation
Unreal Engine C++ API Reference > Editor > DetailCustomizations > Customizations
Inheritance Hierarchy
References
Module | DetailCustomizations |
Header | /Engine/Source/Editor/DetailCustomizations/Public/Customizations/SlateFontInfoCustomization.h |
Include | #include "Customizations/SlateFontInfoCustomization.h" |
Syntax
class FSlateFontInfoStructCustomization : public [IPropertyTypeCustomization](API\Editor\PropertyEditor\IPropertyTypeCustomization)
Remarks
Customize the appearance of an FSlateFontInfo
Variables
Type | Name | Description |
---|---|---|
bool | bIsUsingSlider | True if the slider is being used to change the value of the property |
TSharedPtr< SCo... | FontEntryCombo | Font entry combo box widget |
TArray< TShared... | FontEntryComboData | Source data for the font entry combo widget |
TSharedPtr< IPr... | FontObjectProperty | Handle to the "FontObject" property being edited |
TSharedPtr< IPr... | FontSizeProperty | Handle to the "Size" property being edited |
float | LastSliderFontSizeCommittedValue | When using the slider, what was the last committed value |
TSharedPtr< IPr... | StructPropertyHandle | Handle to the struct property being edited |
TSharedPtr< IPr... | TypefaceFontNameProperty | Handle to the "TypefaceFontName" property being edited |
Functions
Type | Name | Description |
---|---|---|
void | AddFontSizeProperty ( IDetailChildrenBuilder& InStructBu... ) | |
float | ConvertFontSizeFromDisplayToNative ( float FontSize ) | |
float | ConvertFontSizeFromNativeToDisplay ( float FontSize ) | |
FName | GetActiveFontEntry () | Get the name of the currently active font entry (may not be the selected entry if the entry is set to use "None") |
FText | GetFontEntryComboText () | Get the text to use for the font entry combo button |
TArray< FSla... | GetFontInfoBeingEdited () | Get the array of FSlateFontInfo instances this customization is currently editing |
TArray< cons... | GetFontInfoBeingEdited () | Get the array of FSlateFontInfo instances this customization is currently editing |
FText | GetFontSizeTooltipText () | |
bool | IsFontEntryComboEnabled () | Called to see whether the font entry combo should be enabled |
TSharedRef< ... | MakeFontEntryWidget ( TSharedPtr< FName > InFontEntry ) | Make the widget for an entry in the font entry combo |
TSharedRef< ... | MakeInstance () | |
bool | OnFilterFontAsset ( const FAssetData& InAssetData ) | Called to filter out invalid font assets |
void | OnFontChanged ( const FAssetData& InAssetData ) | Called when the font object used by this FSlateFontInfo has been changed |
void | OnFontEntryComboOpening () | Called before the font entry combo is opened - used to update the list of available font entries |
void | OnFontEntrySelectionChanged ( TSharedPtr< FName > InNewSelection, ESelectInfo::Type ) | Called when the selection of the font entry combo is changed |
void | OnFontSizeBeginSliderMovement () | Called when the slider begins to move. We create a transaction here to undo the property |
void | OnFontSizeEndSliderMovement ( float NewDisplayValue ) | Called when the slider stops moving. We end the previously created transaction |
TOptional< f... | OnFontSizeGetValue () | |
void | OnFontSizeValueChanged ( float NewDisplayValue ) | |
void | OnFontSizeValueCommitted ( float NewDisplayValue, ETextCommit::Type CommitInfo ) |
Overridden from IPropertyTypeCustomization
Type | Name | Description |
---|---|---|
void | CustomizeChildren ( TSharedRef< class IPropertyHandle >..., IDetailChildrenBuilder& ChildBuild..., IPropertyTypeCustomizationUtils& C... ) | Called when the children of the property should be customized or extra rows added |
void | CustomizeHeader ( TSharedRef< class IPropertyHandle >..., FDetailWidgetRow& InHeaderRow, IPropertyTypeCustomizationUtils& I... ) | IPropertyTypeCustomization interface |