Choose your operating system:
Windows
macOS
Linux
| INumericTypeInterface
|
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Input/NumericTypeInterface.h |
Include |
#include "Widgets/Input/NumericTypeInterface.h" |
template<typename NumericType>
struct TNumericUnitTypeInterface : public TDefaultNumericTypeInterface< NumericType >
Numeric interface that specifies how to interact with a number in a specific unit. Include NumericUnitTypeInterface.inl for symbol definitions.
Name | Description | ||
---|---|---|---|
|
FixedDisplayUnits |
Optional units that this type interface will be fixed on |
|
|
const EUnit |
UnderlyingUnits |
The underlying units which the numeric type are specified in. |
Name | Description | |
---|---|---|
|
TNumericUnitTypeInterface ( |
Constructor |
Name | Description | ||
---|---|---|---|
|
SetupFixedDisplay ( |
Set up this interface to use a fixed display unit based on the specified value |
Name | Description | ||
---|---|---|---|
|
TOptional< N... |
FromString ( |
Attempt to parse a numeral with our units from the specified string. |
|
IsCharacterValid ( |
Check whether the specified typed character is valid |
|
|
ToString ( |
Convert this type to a string |