Represents a 2D tile grid in the scene. References a tileset by its disk path (.tileset file). The TilemapSystem loads the tileset, builds a packed atlas, and generates a single mesh + material per tilemap entity.
More...
#include <Tilemap.hpp>
Represents a 2D tile grid in the scene. References a tileset by its disk path (.tileset file). The TilemapSystem loads the tileset, builds a packed atlas, and generates a single mesh + material per tilemap entity.
◆ height
| int Engine::TilemapComponent::height = 0 |
◆ isDirty
| bool Engine::TilemapComponent::isDirty = true |
Flag requesting mesh + collision rebuild next frame.
◆ tiles
| std::vector<int> Engine::TilemapComponent::tiles |
◆ tilesetPath
| std::string Engine::TilemapComponent::tilesetPath |
◆ tileSize
| float Engine::TilemapComponent::tileSize = 1.0f |
◆ width
| int Engine::TilemapComponent::width = 0 |
The documentation for this struct was generated from the following file: