Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnitConversion.h |
| Include | #include "Math/UnitConversion.h" |
Syntax
class FUnitSettings
Remarks
Unit settings accessed globally through FUnitConversion::Settings()
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TArray< EUnit > & | GetDisplayUnits
(
EUnitType InType |
Get/Set the specific valid units to display the specified type of unit in | |
| FDisplaySettingChanged & | |||
| void | SetDisplayUnits
(
EUnitType InType, |
||
| void | SetDisplayUnits
(
EUnitType InType, |
||
| void | SetShouldDisplayUnits
(
bool bInGlobalUnitDisplay |
||
| bool | Check whether unit display is globally enabled or disabled |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FDisplaySettingChanged | Returns an event delegate that is executed when a display setting has changed. |