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 |
|
inlineoverridevirtual |
◆ getPosition()
| Vector2f SfmlSprite::getPosition |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getRotation()
| float SfmlSprite::getRotation |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getSize()
◆ isReady()
| bool SfmlSprite::isReady |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ setCrop()
| void SfmlSprite::setCrop |
( |
Rect< float > | rect | ) |
|
|
inlineoverridevirtual |
◆ setPosition()
| void SfmlSprite::setPosition |
( |
Vector2f | position | ) |
|
|
inlineoverridevirtual |
◆ setRotation()
| void SfmlSprite::setRotation |
( |
float | angle, |
|
|
bool | isRad = false ) |
|
inlineoverridevirtual |
◆ setSize()
| void SfmlSprite::setSize |
( |
Vector2f | size | ) |
|
|
inlineoverridevirtual |
◆ SfmlWindow
The documentation for this class was generated from the following file: