Navigation
Unreal Engine C++ API Reference > Runtime > Slate > Widgets > Input
Inheritance Hierarchy
- INumericTypeInterface
- TDefaultNumericTypeInterface
- FVariablePrecisionNumericInterface
- FVariablePrecisionNumericInterface
- TNumericUnitTypeInterface
References
Module | Slate |
Header | /Engine/Source/Runtime/Slate/Public/Widgets/Input/NumericTypeInterface.h |
Include | #include "Widgets/Input/NumericTypeInterface.h" |
Syntax
template<typename NumericType>
struct TDefaultNumericTypeInterface : public INumericTypeInterface< NumericType >
Remarks
Default numeric type interface
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
int32 | MaxFractionalDigits | The current maximum fractional digits |
![]() |
int32 | MinFractionalDigits | The current minimum fractional digits |
Overridden from INumericTypeInterface
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TOptional< NumericType > | FromString
(
const FString& InString, |
|
![]() ![]() ![]() |
int32 | ||
![]() ![]() ![]() |
int32 | Gets the minimum and maximum fractional digits. | |
![]() ![]() ![]() |
bool | IsCharacterValid
(
TCHAR InChar |
Check whether the typed character is valid |
![]() ![]() |
void | SetMaxFractionalDigits
(
const TAttribute< TOptional< int32 >>& NewValue |
|
![]() ![]() |
void | SetMinFractionalDigits
(
const TAttribute< TOptional< int32 >>& NewValue |
Sets the minimum and maximum fractional digits - A minimum greater than 0 will always have that many trailing zeros |
![]() ![]() ![]() |
FString | ToString
(
const NumericType& Value |
Convert the type to/from a string |
Constants
Name | Description |
---|---|
DefaultMaxFractionalDigits | The default maximum fractional digits |
DefaultMinFractionalDigits | The default minimum fractional digits |