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