| 123456789 |
- $#include "SpriteSheet2D.h"
- class SpriteSheet2D : public Resource
- {
- public:
- Texture2D* GetTexture() const;
- Sprite2D* GetSprite(const String name) const;
- void DefineSprite(const String name, const IntRect& rectangle, const Vector2& hotSpot = Vector2(0.5f, 0.5f), const IntVector2& originSize = IntVector2::ZERO);
- };
|