@modoki/engine / index / evalColorTrack
Function: evalColorTrack()
evalColorTrack(
keys,time):number
Evaluate a packed-0xRRGGBB color track. Per-channel linear interpolation, but a STEPPED (or non-finite) out-tangent on the left key HOLDS that key's color (snap cut), matching the numeric evalTrack stepped behaviour — so an authored constant/stepped color key snaps instead of cross-fading. Returns 0xRRGGBB.
Parameters
keys
Keyframe[]
time
number
Returns
number