Sfml Sprite class - references a SfmlTexture, does not own it. Deleting the sprite never touches the texture.
More...
#include <SfmlSprite.hpp>
Sfml Sprite class - references a SfmlTexture, does not own it. Deleting the sprite never touches the texture.
◆ SfmlSprite()
◆ ~SfmlSprite()
| SfmlSprite::~SfmlSprite |
( |
| ) |
|
|
overridedefault |
◆ getBounds()
| Rect< float > SfmlSprite::getBounds |
( |
| ) |
const |
|
inlineoverride |
◆ getPosition()
| Vector2f SfmlSprite::getPosition |
( |
| ) |
const |
|
inlineoverride |
◆ getRotation()
| float SfmlSprite::getRotation |
( |
| ) |
const |
|
inlineoverride |
◆ getSize()
| Vector2f SfmlSprite::getSize |
( |
| ) |
const |
|
inlineoverride |
◆ isReady()
| bool SfmlSprite::isReady |
( |
| ) |
const |
|
inlineoverride |
◆ setCrop()
| void SfmlSprite::setCrop |
( |
Rect< float > |
rect | ) |
|
|
inlineoverride |
◆ setPosition()
| void SfmlSprite::setPosition |
( |
Vector2f |
position | ) |
|
|
inlineoverride |
◆ setRotation()
| void SfmlSprite::setRotation |
( |
float |
angle, |
|
|
bool |
isRad = false |
|
) |
| |
|
inlineoverride |
◆ setSize()
| void SfmlSprite::setSize |
( |
Vector2f |
size | ) |
|
|
inlineoverride |
◆ SfmlWindow
The documentation for this class was generated from the following file: