![]() |
FastEngine 0.9.4
A multiplayer oriented 2D engine made with Vulkan.
|
Public Member Functions | |
| Character (fge::Color const &fillColor, fge::Color const &outlineColor) | |
| void | clear () |
| void | addLine (bool outlineVertices, float lineLength, float lineTop, float offset, float thickness, float outlineThickness=0.0f) |
| void | addGlyphQuad (bool outlineVertices, fge::Vector2f const &size, fge::Glyph const &glyph, fge::Vector2i const &textureSize, float italicShear) |
| void | draw (fge::TransformUboData const &externalTransform, fge::RenderTarget const &target, fge::RenderStates const &states) const |
| void | setFillColor (fge::Color const &color) |
| void | setOutlineColor (fge::Color const &color) |
| fge::Color const & | getFillColor () const |
| fge::Color const & | getOutlineColor () const |
| void | setVisibility (bool visibility) |
| bool | isVisible () const |
| uint32_t | getUnicode () const |
| void | setPosition (Vector2f const &position) |
| Vector2f const & | getPosition () const |
| void | move (Vector2f const &offset) |
| void | setRotation (float angle) |
| float | getRotation () const |
| void | rotate (float angle) |
| void | setScale (Vector2f const &factors) |
| void | setScale (float factor) |
| Vector2f const & | getScale () const |
| void | scale (Vector2f const &factor) |
| void | scale (float factor) |
| void | setOrigin (Vector2f const &origin) |
| Vector2f const & | getOrigin () const |
| glm::mat4 const & | getTransform () const |
| glm::mat4 const & | getInverseTransform () const |