AnimatedItem.animation property
Methods
on_finish | (self, callback: Callable[[], None]) -> None |
Creates a handler that triggers when the current animation completes. |
|
on_track_time | (self, time: float, callback: Callable[[], None]) -> None |
Creates a handler that triggers on specified animation track |
|
play | (self, track: str) -> None |
Plays an animation track on this item. |
|
play | (self, track: str, start_time: float, end_time: float) -> None |
Plays an animation track on this item with defined |
|
play_looping | (self, track: str) -> None |
Plays a looping animation track on this item. |
|
play_looping | (self, track: str, start_time: float, end_time: float) -> None |
Plays a looping animation track on this item with defined |
|
play_queued | (self, track: str) -> None |
Adds an animation to the playback queue. |
|
stop | (self) -> None |
Stops playback of an animation and sets this item to its default pose. |
Properties
readonly | playing | bool |
Returns |
readonly | length | float | |
readonly | name | str |
Returns the name of the currently playing animation. |
speed | float |
Defines the playback speed of all animations on this item |
|
readonly | time | float | |
use_normalized_time | bool |
Toggles use of normalized time for animation methods on this item. Default is |