Navigation
API > API/Editor > API/Editor/DetailCustomizations > API/Editor/DetailCustomizations/Customizations > API/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 < SWidget > MakeNumericProxyWidget
(
TSharedRef < IPropertyHandle > & StructPropertyHandle,
TSharedRef < TProxyProperty < ProxyType, NumericType > > & ProxyValue,
const FText & Label,
bool bRotationInDegrees,
const 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). |