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