ReadonlycurrentIndex of the most-recently-arrived-at waypoint. While the
camera is in transit from i to i + 1, this still reads
i — it flips to i + 1 when the transit completes and the
destination dwell begins.
Readonlyplayingtrue if currently advancing time.
ReadonlytourThe tour being played. Same instance passed to playCameraTour.
Release the tick subscription. Idempotent.
Pause playback. The camera stays where it is and time stops
accumulating; play() resumes from the exact same position.
Resume playback after pause(). No-op if already playing.
Teleport the camera to a specific waypoint and start its
dwell phase. Out-of-range indices are silently clamped to
[0, waypoints.length - 1] (no throw).
Stop playback. Equivalent to pause() but also resets the
cursor to the start waypoint — calling play() again
restarts the tour from the beginning.
Control handle returned by playCameraTour. Callers keep this around as long as they want playback running — call CameraTourPlayback.destroy to release the tick subscription.