setTextureRect


Description:

[ CCode ( cname = "sfSprite_setTextureRect" ) ]
public void setTextureRect (IntRect rectangle)

Set the texture rectangle of the sprite.

Parameters:

rectangle

The new texture rectangle of the sprite.