30/09/2018, 18:00

phương thức draw() SpriteBatch libgdx

em không hiểu các đối số x, y, originX, originY mặc dù đã đọc qua docs của nó rồi
anh chị nào biết giải thích dùm em với !

SpriteBatch có phương thức public void draw(Texture texture,
                 float x,
                 float y,
                 float originX,
                 float originY,
                 float width,
                 float height,
                 float scaleX,
                 float scaleY,
                 float rotation,
                 int srcX,
                 int srcY,
                 int srcWidth,
                 int srcHeight,
                 boolean flipX,
                 boolean flipY)
Bài liên quan
0