Choose your operating system:
Windows
macOS
Linux
| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Editor/DetailCustomizations/Public/Customizations/MathStructCustomizations.h |
Include |
#include "Customizations/MathStructCustomizations.h" |
class FMathStructCustomization : public IPropertyTypeCustomization
Base class for math struct customization (e.g, vector, rotator, color)
Name | Description | ||
---|---|---|---|
|
bIsUsingSlider |
True if a value is being changed by dragging a slider |
|
|
bPreserveScaleRatio |
True if the ratio is locked when scaling occurs (uniform scaling) |
|
|
NumericEntryBoxWidgetList |
All created numeric entry box widget for this customization |
|
|
OnNumericEntryBoxDynamicSliderMaxValueChanged |
||
|
OnNumericEntryBoxDynamicSliderMinValueChanged |
||
|
SortedChildHandles |
All the sorted children of the struct that should be displayed |
Name | Description | |
---|---|---|
|
FMathStructCustomization() |
Name | Description | |
---|---|---|
|
~FMathStructCustomization() |
Name | Description | ||
---|---|---|---|
|
ExtractNumericMetadata ( |
Utility function that will extract common Math related numeric metadata |
|
|
FOnNumericEn... |
GetOnNumericEntryBoxDynamicSliderMaxValueChangedDelegate() |
Return max/min slider value changed delegate (only apply if SupportDynamicSliderMaxValue or SupportDynamicSliderMinValue are true) |
|
FOnNumericEn... |
GetOnNumericEntryBoxDynamicSliderMinValueChangedDelegate() |
|
|
GetSortedChildren ( |
Gets the sorted children for the struct |
|
|
IsValueEnabled ( |
Called to see if the value is enabled for editing |
|
|
TSharedRef< ... |
MakeChildWidget ( |
Constructs a widget for the property handle |
|
MakeHeaderRow ( |
Makes the header row for the customization |
|
|
TSharedRef< ... |
MakeInstance() |
|
|
OnDynamicSliderMaxValueChanged |
Callback when the max/min spinner value are changed (only apply if SupportDynamicSliderMaxValue or SupportDynamicSliderMinValue are true) |
|
|
OnDynamicSliderMinValueChanged |
||
|
TOptional< N... |
OnGetValue ( |
Gets the value as a float for the provided property handle |
|
OnGetValueToolTip ( |
Gets the tooltip for the value. |
|
|
OnValueChanged ( |
Called when the value is changed in the property editor |
|
|
OnValueCommitted ( |
Called when the value is committed from the property editor |
|
|
SetValue ( |
Called to set the value of the property handle. |
Name | Description | ||
---|---|---|---|
|
CustomizeChildren ( |
Called when the children of the property should be customized or extra rows added |
|
|
CustomizeHeader ( |
IPropertyTypeCustomization instance |
Name |
Description |
|
---|---|---|
|
FNumericMetadata |
Argument struct for ExtractNumericMetadata, to make it easier to add new metadata to extract. |
Name |
Description |
---|---|
FOnNumericEntryBoxDynamicSliderMinMaxValueChanged |
Notification when the max/min slider values are changed (only apply if SupportDynamicSliderMaxValue or SupportDynamicSliderMinValue are true) |
Name | Description | ||
---|---|---|---|
|
ExtractNumericMetadata ( |
Use ExtractNumericMetadata overload with struct argument instead. |