@motion-script/core / lerpUniformRecord
Function: lerpUniformRecord()
lerpUniformRecord(
a,b,t):SkSLUniformRecord
Defined in: attributes/shape/sksl-uniforms.ts:200
Interpolate two uniform records over the union of their keys.
A key present on one side only holds at the value it has rather than
interpolating from zero: the shader still declares it, so dropping it would
write zeros mid-tween and read as the uniform snapping to black/none. This is
also what makes the self-pair lerpFillArray builds for an unmatched fill
layer a no-op on the uniforms.
Parameters
a
b
t
number