Skip to content
On this page

Animation.matrix

2D 变换矩阵。

transform-function matrix

返回值

Animation

Example

ts
const anim = ek.createAnimation()
const animData = anim
  .matrix(1, 2, -1, 1, 80, 80)
  .step()
  .export()