List of all members.
Public Member Functions |
| Canvas (GameObject *gameObject) |
virtual void | deactivated () override |
virtual void | render (EngineUniforms *engineUniforms, Material *replacementMaterial=nullptr) override |
virtual void | update () override |
virtual int | renderOrder () |
std::shared_ptr< Camera > | camera () const |
void | setCamera (std::shared_ptr< Camera > camera) |
template<typename C , typename... T> |
std::shared_ptr< C > | addComponent (T...t) |
std::shared_ptr< ToggleButton > | createToggleButton (std::string text="") |
std::shared_ptr< Button > | createButton (std::string text="") |
std::shared_ptr< Sprite > | createSprite (std::shared_ptr< TextureAtlas > textureAtlas, std::string spriteName, glm::vec2 pos=glm::vec2{0}) |
std::shared_ptr< Label > | createLabel (std::string text, int fontsize=16) |
Friends |
class | Component2D |
Detailed Description
Definition at line 27 of file canvas.h.
The documentation for this class was generated from the following files:
- /Users/morten/Programmering/cpp/kick/src/kick/2d/canvas.h
- /Users/morten/Programmering/cpp/kick/src/kick/2d/canvas.cpp
- /Users/morten/Programmering/cpp/kick/src/kick/2d/canvas.inl