API Docs for: v2.1.0
Show:

CGSGInterpolatorLinear Class

Linear intepolation

Item Index

Methods

Methods

compute

(
  • keys
  • steps
)
Array

Parameters:

  • keys Array

    Array of all the animation keys

  • steps Array

    Array of steps between 2 keys. steps.length = keys.length - 1.

Returns:

Array:

Array of {x, y} object corresponding to all the points in the curve