API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classTweenManager
Owns and advances a collection of Tween instances, driving them once per frame from Application.update. Created tweens are tracked automatically; manually constructed tweens can be opted in via TweenManager.add. Custom updatables (such as TweenSequencer) can be registered via TweenManager.addTicker so they share the same frame tick. Update iteration uses a snapshot so callbacks may freely add or remove tweens during the same frame without corrupting the loop. Completed and stopped tweens are evicted automatically.
import { TweenManager } from '@codexo/exojs' Owns and advances a collection of Tween instances, driving them once per frame from Application.update. Created tweens are tracked automatically; manually constructed tweens can be opted in via TweenManager.add.
Custom updatables (such as TweenSequencer) can be registered via TweenManager.addTicker so they share the same frame tick.
Update iteration uses a snapshot so callbacks may freely add or remove tweens during the same frame without corrupting the loop. Completed and stopped tweens are evicted automatically.
new(): TweenManager add(tween: Tween): this addTicker(ticker: Ticker): this clear(): this create(target: T): Tween<T> createSequencer(): TweenSequencer destroy(): void remove(tween: Tween): this removeTicker(ticker: Ticker): this sequence(tweens: readonly Tween<object>[]): Tween update(delta: Time): void