Navigation
Unreal Engine C++ API Reference > Runtime > Core > Math > FUnitConversion
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Math/UnitConversion.h |
Include | #include "Math/UnitConversion.h" |
Source | /Engine/Source/Runtime/Core/Public/Math/UnitConversion.inl |
template<typename T>
static T Convert
&40;
T InValue,
EUnit From,
EUnit To
&41;
Remarks
Convert the specified number from one unit to another. Does nothing if the units are incompatible.