|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
The rectangle of this entity's content, in its own units. More...
#include <ContentRect.hpp>
Public Attributes | |
| glm::vec2 | size {100.0f, 100.0f} |
| Width and height in local units, before the transform's scale. | |
| glm::vec2 | pivot {0.5f, 0.5f} |
| The point of the rectangle the transform sits on, as a fraction of its size. | |
The rectangle of this entity's content, in its own units.
Definition at line 34 of file ContentRect.hpp.
| glm::vec2 esengine::ecs::ContentRect::pivot {0.5f, 0.5f} |
The point of the rectangle the transform sits on, as a fraction of its size.
Definition at line 41 of file ContentRect.hpp.
Referenced by EMSCRIPTEN_BINDINGS().
| glm::vec2 esengine::ecs::ContentRect::size {100.0f, 100.0f} |
Width and height in local units, before the transform's scale.
Definition at line 37 of file ContentRect.hpp.
Referenced by EMSCRIPTEN_BINDINGS().