![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <NumericTypeInterface.h>
Inheritance diagram for INumericTypeInterface< NumericType >:Public Member Functions | |
| virtual | ~INumericTypeInterface () |
| virtual int32 | GetMinFractionalDigits () const =0 |
| virtual int32 | GetMaxFractionalDigits () const =0 |
| virtual bool | GetIndicateNearlyInteger () const |
| virtual void | SetMinFractionalDigits (const TAttribute< TOptional< int32 > > &NewValue)=0 |
| virtual void | SetMaxFractionalDigits (const TAttribute< TOptional< int32 > > &NewValue)=0 |
| virtual void | SetIndicateNearlyInteger (const TAttribute< TOptional< bool > > &NewValue) |
| virtual FString | ToString (const NumericType &Value) const =0 |
| virtual TOptional< NumericType > | FromString (const FString &InString, const NumericType &ExistingValue)=0 |
| virtual bool | IsCharacterValid (TCHAR InChar) const =0 |
| virtual FOnSettingChanged * | GetOnSettingChanged () |
Interface to provide specific functionality for dealing with a numeric type. Currently includes string conversion functionality.
|
inlinevirtual |
|
pure virtual |
|
inlinevirtual |
Reimplemented in TDefaultNumericTypeInterface< NumericType >.
|
pure virtual |
Implemented in TDefaultNumericTypeInterface< NumericType >, and FFrameNumberInterface.
|
pure virtual |
Gets the minimum and maximum fractional digits.
Implemented in TDefaultNumericTypeInterface< NumericType >, and FFrameNumberInterface.
|
inlinevirtual |
Optional callback to broadcast when a setting in the type interface changes
Reimplemented in FFrameNumberInterface.
|
pure virtual |
Check whether the typed character is valid
Implemented in TDefaultNumericTypeInterface< NumericType >, TNumericUnitTypeInterface< NumericType >, and FFrameNumberInterface.
|
inlinevirtual |
Sets if we should indicate that a value is being rounded to an integer via '...' (Ex: 0.0 shown, real value 1e-18).
Reimplemented in TDefaultNumericTypeInterface< NumericType >.
|
pure virtual |
Implemented in TDefaultNumericTypeInterface< NumericType >, and FFrameNumberInterface.
|
pure virtual |
Sets the minimum and maximum fractional digits - A minimum greater than 0 will always have that many trailing zeros
Implemented in TDefaultNumericTypeInterface< NumericType >, and FFrameNumberInterface.
|
pure virtual |
Convert the type to/from a string
Implemented in FFrameNumberInterface, TDefaultNumericTypeInterface< NumericType >, and TNumericUnitTypeInterface< NumericType >.