unreal.PropertyAnimatorClock
¶
- class unreal.PropertyAnimatorClock(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
PropertyAnimatorCoreBase
Animate supported string properties with a clock feature
C++ Source:
Plugin: PropertyAnimator
Module: PropertyAnimator
File: PropertyAnimatorClock.h
Editor Properties: (see get_editor_property/set_editor_property)
active_time_source
(PropertyAnimatorCoreTimeSourceBase): [Read-Only] Active time source with its options, determined by its nameanimator_display_name
(Name): [Read-Only] Display name as title property for component array, hide it but must be visible to editor for array title propertyanimator_enabled
(bool): [Read-Write] Enable control of properties linked to this Animatorcountdown_duration
(str): [Read-Write] Countdown duration format : 120 = 2 minutes 02:00 = 2 minutes 00:02:00 = 2 minutes 2m = 2 minutes 1h = 1 hour 120s = 2 minutesdisplay_format
(str): [Read-Write] 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-366linked_properties
(Array[PropertyAnimatorCoreContext]): [Read-Write] Context for properties linked to this Animatormode
(PropertyAnimatorClockMode): [Read-Write] Mode chosen for this clock animatorproperty_groups
(Array[PropertyAnimatorCoreGroupBase]): [Read-Write] Groups for properties linked to this Animatortime_source_name
(Name): [Read-Write] The time source to use
- property countdown_duration: str¶
[Read-Write] Countdown duration format: 120 = 2 minutes 02:00 = 2 minutes 00:02:00 = 2 minutes 2m = 2 minutes 1h = 1 hour 120s = 2 minutes
- Type:
(str)
- property display_format: str¶
[Read-Write] 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
- Type:
(str)
- property mode: PropertyAnimatorClockMode¶
[Read-Write] Mode chosen for this clock animator
- Type: