Register a function override that phase-rotates the base color array
along the path index. Returns a handle whose cancel() removes the
override.
The override computes its value purely from performance.now(), so
there's no per-frame progress to register with the animator's tick
loop. To keep the loop alive (so <SceneCanvas animator>'s onTick
subscription continues firing redraws while the cycle is installed),
cycleVertexColors holds an animator.keepAlive() entry for the
lifetime of the cycle; cancel() releases it.
Register a function override that phase-rotates the base color array along the path index. Returns a handle whose
cancel()removes the override.The override computes its value purely from
performance.now(), so there's no per-frame progress to register with the animator's tick loop. To keep the loop alive (so<SceneCanvas animator>'s onTick subscription continues firing redraws while the cycle is installed), cycleVertexColors holds ananimator.keepAlive()entry for the lifetime of the cycle;cancel()releases it.