Navigation
API > API/Plugins > API/Plugins/PropertyAnimator > API/Plugins/PropertyAnimator/Animators
Inheritance Hierarchy
- UObject
- UPropertyAnimatorCoreBase
- UPropertyAnimatorClock
References
| Module | PropertyAnimator |
| Header | /Engine/Plugins/Experimental/PropertyAnimator/Source/PropertyAnimator/Public/Animators/PropertyAnimatorClock.h |
| Include | #include "Animators/PropertyAnimatorClock.h" |
Syntax
UCLASS (MinimalAPI, AutoExpandCategories=("Animator"))
class UPropertyAnimatorClock : public UPropertyAnimatorCoreBase
Remarks
Animate supported string properties with a clock feature
Variables
| Type | Name | Description | |
|---|---|---|---|
| FString | CountdownDuration | Countdown duration format : 120 = 2 minutes 02:00 = 2 minutes 00:02:00 = 2 minutes 2m = 2 minutes 1h = 1 hour 120s = 2 minutes | |
| FString | DisplayFormat | Display date time format : a - Weekday, eg) Sun A - Weekday, eg) Sunday w - Weekday, 0-6 (Sunday is 0) y - Year, YY Y - Year, YYYY b - Month, eg) Jan B - Month, eg) January m - Month, 01-12 d - Day, 01-31 e - Day, 1-31 l - 12h Hour, 1-12 I - 12h Hour, 01-12 H - 24h Hour, 00-23 M - Minute, 00-59 S - Second, 00-60 p - AM or PM P - am or PM j - Day of the Year, 001-366 | |
| EPropertyAnimatorClockMode | Mode | Mode chosen for this clock animator |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FString & | |||
| const FString & | |||
| EPropertyAnimatorClockMode | GetMode () |
||
| void | |||
| FTimespan | |||
| void | SetCountdownDuration
(
const FString& InDuration |
||
| void | SetDisplayFormat
(
const FString& InDisplayFormat |
||
| void | SetMode
(
EPropertyAnimatorClockMode InMode |
Overridden from UPropertyAnimatorCoreBase
| Type | Name | Description | |
|---|---|---|---|
| void | EvaluateProperties
(
const FPropertyAnimatorCoreEvaluationParameters& InParameters |
Apply animators effect on linked properties | |
| bool | IsPropertyDirectlySupported
(
const FPropertyAnimatorCoreData& InPropertyData |
Override this to check if a property is directly supported by this animator | |
| bool | IsPropertyIndirectlySupported
(
const FPropertyAnimatorCoreData& InPropertyData |
Override this to check if a property is indirectly supported by this animator with conversions | |
| void | OnPropertyLinked
(
UPropertyAnimatorCoreContext* InLinkedProperty |
||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& InPropertyChangedEvent |
||
| void | PostLoad () |
Constants
| Name | Description |
|---|---|
| DefaultControllerName |