Navigation
Unreal Engine C++ API Reference > Editor > DetailCustomizations > Customizations > FMathStructProxyCustomization
References
Module | DetailCustomizations |
Header | /Engine/Source/Editor/DetailCustomizations/Public/Customizations/MathStructProxyCustomizations.h |
Include | #include "Customizations/MathStructProxyCustomizations.h" |
Source | /Engine/Source/Editor/DetailCustomizations/Private/MathStructProxyCustomizations.cpp |
template<typename ProxyType, typename NumericType> [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > MakeNumericProxyWidget ( [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [IPropertyHandle](API\Editor\PropertyEditor\IPropertyHandle) > & StructPropertyHandle, [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< TProxyProperty< ProxyType, NumericType > > & ProxyValue, const [FText](API\Runtime\Core\Internationalization\FText) & Label, bool bRotationInDegrees, const [FLinearColor](API\Runtime\Core\Math\FLinearColor) & LabelColor )
Remarks
Helper function to make a numeric property widget to edit a proxy value. the newly created widget.
Parameters
Name | Description |
---|---|
StructPropertyHandle | Property handle to the containing struct |
ProxyValue | The value we will be editing in the proxy data. |
Label | A label to use for this value. |
bRotationInDegrees | Whether this is to be used for a rotation value (configures sliders appropriately). |