我正在尝试使用精灵批处理来旋转具有如下纹理的矩形:
game.batch.draw(图像, (float)x, (float)y, (float)42.5, (float)33, (float)85, (float)66, (float)1, (float)1, (float )角度度);
但我得到错误:
The method draw(Texture, float, float, float, float, float, float, float, float) in the type SpriteBatch is not applicable for the arguments (Texture, float, float, float, float, float, float, float, float, float)
我想我有正确数量的参数,它们都是浮点数,我错过了什么。