List of all members.
Public Member Functions |
|
| Sprite (GameObject *gameObject, std::shared_ptr< Canvas > canvas) |
|
std::shared_ptr< TextureAtlas > | textureAtlas () const |
|
void | setTextureAtlas (std::shared_ptr< TextureAtlas > textureAtlas) |
|
std::string const & | spriteName () const |
|
void | setSpriteName (std::string const &spriteName) |
|
TextureAtlasEntry | entry () const |
|
Bounds2 | trimmedBounds () const |
|
virtual Bounds2 | bounds () const override |
|
virtual void | setBounds (Bounds2 b) override |
|
virtual Shader * | shader () const |
|
glm::vec2 | sliceX () const |
|
void | setSliceX (glm::vec2 sliceX) |
|
glm::vec2 | sliceY () const |
|
void | setSliceY (glm::vec2 sliceY) |
|
glm::vec2 | anchor () const |
|
void | setAnchor (glm::vec2 anchor) |
|
glm::vec2 | scale () const |
|
void | setScale (glm::vec2 scale) |
|
SpriteType | type () const |
|
void | setType (SpriteType type) |
|
glm::vec4 | color () const |
|
void | setColor (glm::vec4 color) |
Detailed Description
Definition at line 25 of file sprite.h.
The documentation for this class was generated from the following files:
- /Users/morten/Programmering/cpp/kick/src/kick/2d/sprite.h
- /Users/morten/Programmering/cpp/kick/src/kick/2d/sprite.cpp