Orchestrator

Timeline animator for Transform objects.

Constructor

Timeline animator for Transform objects.

Properties


NameDescriptionType
finalizedWhether the orchestrator has been finalized.bool
finishedWhether the animation has completed.bool
loopingWhether the animation should loop when finished.bool
playingWhether the animation is currently playing.bool

Methods


Finalize

finalize() None

Finalize the orchestrator, preventing further edits.

Must be called before play(). Logs a warning if called multiple times.

Parallel

parallel(*args) Orchestrator

Add multiple effects to run in parallel.

Args

  • *effects : Variable number of Effect objects to run simultaneously.

Returns

Orchestrator : Self for method chaining.

Pause

pause() None

Pause the animation at the current position.

Play

play() None

Start playing the animation from the beginning.

Logs a warning if not finalized or if there are no steps.

Resume

resume() None

Resume a paused animation.

Rewind

rewind() None

Reset the animation to the beginning without stopping.

Stop

stop() None

Stop the animation and reset to the beginning.

Then

then(effect: Effect) Orchestrator

Add a single effect to the timeline.

Args

  • effect : The Effect to add.

Returns

Orchestrator : Self for method chaining.