Navigation
API > API/Plugins > API/Plugins/PropertyAnimator > API/Plugins/PropertyAnimator/Animators
Inheritance Hierarchy
- UObject
- IPropertyAnimatorCorePresetable
- UPropertyAnimatorCoreBase
- UPropertyAnimatorTextBase
- UPropertyAnimatorCounter
References
| Module | PropertyAnimator |
| Header | /Engine/Plugins/Experimental/PropertyAnimator/Source/PropertyAnimator/Public/Animators/PropertyAnimatorCounter.h |
| Include | #include "Animators/PropertyAnimatorCounter.h" |
Syntax
UCLASS (MinimalAPI, AutoExpandCategories=("Animator"))
class UPropertyAnimatorCounter : public UPropertyAnimatorTextBase
Remarks
Animate supported string properties to display a counter
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bUseCustomFormat | Use available presets formats or custom format | |
| TInstancedStruct< FPropertyAnimatorCounterFormat > | CustomFormat | Custom format | |
| FText | DisplayPattern | Display pattern for the output to add prefix and suffix, use {0} as replacement symbol | |
| FName | PresetFormatName | Preset format defined in the project settings |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FString | FormatNumber
(
double InNumber |
||
| TArray< FName > | |||
| const FPropertyAnimatorCounterFormat * | |||
| const FText & | |||
| const FPropertyAnimatorCounterFormat * | GetFormat () |
||
| FName | |||
| bool | |||
| FName | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | SetCustomFormat
(
const FPropertyAnimatorCounterFormat* InFormat |
||
| void | SetDisplayPattern
(
const FText& InPattern |
||
| void | SetPresetFormatName
(
FName InPresetName |
||
| void | SetUseCustomFormat
(
bool bInUseCustom |
Overridden from UPropertyAnimatorCoreBase
| Type | Name | Description | |
|---|---|---|---|
| void | EvaluateProperties
(
FInstancedPropertyBag& InParameters |
Apply animators effect on linked properties | |
| void | OnAnimatorRegistered
(
FPropertyAnimatorCoreMetadata& InMetadata |
||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& InPropertyChangedEvent |
Overridden from IPropertyAnimatorCorePresetable
| Type | Name | Description | |
|---|---|---|---|
| bool | ExportPreset
(
const UPropertyAnimatorCorePresetBase* InPreset, |
Export a specific preset | |
| bool | ImportPreset
(
const UPropertyAnimatorCorePresetBase* InPreset, |
Import a specific preset |