Timeline animator for Transform objects.
Orchestrator(target: Transform) → OrchestratorOrchestrator(target: Transform) → Orchestrator
Timeline animator for Transform objects.
| Name | Description | Type |
|---|---|---|
finalized | Whether the orchestrator has been finalized. | bool |
finished | Whether the animation has completed. | bool |
looping | Whether the animation should loop when finished. | bool |
playing | Whether the animation is currently playing. | bool |
finalize() → Nonefinalize() → NoneFinalize the orchestrator, preventing further edits.
Must be called before play(). Logs a warning if called multiple times.
parallel(*effects: Effect) → Orchestratorparallel(*effects: Effect) → OrchestratorAdd multiple effects to run in parallel.
Args
*effects : Variable number of Effect objects to run simultaneously.Returns
Orchestrator : Self for method chaining.
pause() → Nonepause() → NonePause the animation at the current position.
play() → Noneplay() → NoneStart playing the animation from the beginning.
Logs a warning if not finalized or if there are no steps.
resume() → Noneresume() → NoneResume a paused animation.
rewind() → Nonerewind() → NoneReset the animation to the beginning without stopping.
stop() → Nonestop() → NoneStop the animation and reset to the beginning.
then(effect: Effect) → Orchestratorthen(effect: Effect) → OrchestratorAdd a single effect to the timeline.
Args
effect : The Effect to add.Returns
Orchestrator : Self for method chaining.