![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <UnitConversion.h>
Public Member Functions | |
| CORE_API | FUnitSettings () |
| CORE_API bool | ShouldDisplayUnits () const |
| CORE_API void | SetShouldDisplayUnits (bool bInGlobalUnitDisplay) |
| CORE_API const TArray< EUnit > & | GetDisplayUnits (EUnitType InType) const |
| CORE_API void | SetDisplayUnits (EUnitType InType, const TArray< EUnit > &Units) |
| CORE_API void | SetDisplayUnits (EUnitType InType, EUnit Units) |
| DECLARE_EVENT (FUnitSettings, FDisplaySettingChanged) | |
| FDisplaySettingChanged & | OnDisplaySettingsChanged () |
Unit settings accessed globally through FUnitConversion::Settings()
| FUnitSettings::FUnitSettings | ( | ) |
| FUnitSettings::DECLARE_EVENT | ( | FUnitSettings | , |
| FDisplaySettingChanged | |||
| ) |
Returns an event delegate that is executed when a display setting has changed. (GlobalUnitDisplay or DefaultInputUnits)
Get/Set the specific valid units to display the specified type of unit in
|
inline |
| bool FUnitSettings::ShouldDisplayUnits | ( | ) | const |
Check whether unit display is globally enabled or disabled