qc.Atlas#getTexture

Prototype

  • qc.Texture getTexture(string frame)
  • qc.Texture getTexture(int frame)

Parameter

Parameter Type Description
frame string、int Frame name or index
return qc.Texture The texture object.

Description

Get the qc.Texture object from an atlas.