SetSpriteAngleRad
Description
Immediately rotates the specified sprite to the given angle in radians. By default sprites rotate around their center, see SetSpriteOffset to change this.
Definition
SetSpriteAngleRad( iSpriteIndex, fAng )
void agk::SetSpriteAngleRad( uint32_t iSpriteIndex, float fAng )
Parameters
- iSpriteIndex - The ID of the sprite to rotate.
- fAng - The angle to set the sprite in radians.