Navigation
API > API/Plugins > API/Plugins/PropertyAnimator > API/Plugins/PropertyAnimator/Animators
References
| Module | PropertyAnimator |
| Header | /Engine/Plugins/Experimental/PropertyAnimator/Source/PropertyAnimator/Public/Animators/PropertyAnimatorCounter.h |
| Include | #include "Animators/PropertyAnimatorCounter.h" |
Syntax
USTRUCT (BlueprintType )
struct FPropertyAnimatorCounterFormat
Remarks
Format options used to convert a number to string
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bTruncate | Truncate when the value exceeds the display format | |
| bool | bUseSign | Add a prefix symbol to show the sign of the number (+, -) | |
| FString | DecimalCharacter | Decimal separator character | |
| FName | FormatName | Format friendly name | |
| FString | GroupingCharacter | Thousands separator character | |
| uint8 | GroupingSize | Used to group numbers together like thousands | |
| uint8 | MaxDecimalCount | Maximum number of decimal precision after the decimal separator | |
| uint8 | MinIntegerCount | Minimum number of integer before the decimal separator for padding | |
| FString | PaddingCharacter | Filling character for leading blanks | |
| EPropertyAnimatorCounterRoundingMode | RoundingMode | Whether rounding the number is needed |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPropertyAnimatorCounterFormat
(
FName InFormatName |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Clamp custom characters to one char only | ||
| FString | FormatNumber
(
double InNumber |
Format a number using these options |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FPropertyAnimatorCounterFormat& InOther |
||
| bool | operator==
(
const FPropertyAnimatorCounterFormat& InOther |