kick
Public Member Functions
kick::Sprite Class Reference
Inheritance diagram for kick::Sprite:
kick::Component2D kick::Component kick::Button kick::ToggleButton

List of all members.

Public Member Functions

 Sprite (GameObject *gameObject, std::shared_ptr< Canvas > canvas)
std::shared_ptr< TextureAtlastextureAtlas () 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 Shadershader () 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:
 All Classes Functions Variables