[]如何获取animation对象像素值

项目代码如下:


this.body.texture.getPixels(this.bound.x + i, this.bound.y + j, 1, 1);


问题:
  this.body已经是被显示在舞台上的animation对象了
  animation的texture属性为什么是null。要去获取对象像素值怎么获取?
 
已邀请:

cuixueying

赞同来自:

  LayaAir下不支持像素级别的操作,因为太耗性能了!

要回复问题请先

商务合作
商务合作