Canvas.drawTextureAtlas

Function/Meaning

Draw a part of the texture

Type
Canvasclassmethod of
Syntax
drawTextureAtlas(rect:Rect, texture:Texture)
Arguments
rect

Rectangular area to draw in the texture

texture

Texture to draw

Return value
None (void)
Explanation

It is drawn with the defaultShader.