mitiru::world

World-space entities, anchored entities, and the spatial root that ties simulation coordinates to view coordinates.

World-space entities, anchored entities, and the spatial root that ties simulation coordinates to view coordinates.

NameKindItems
AnchoredEntitystruct5
struct AnchoredEntity 5
std::string name
[[nodiscard]] sgc::Rectf getSpriteWorldRect() const noexcept
[[nodiscard]] sgc::Rectf getHitboxWorldRect() const noexcept
void setAnchor(const sgc::Vec2f& pos) noexcept
[[nodiscard]] sgc::Vec2f getAnchorWorld() const noexcept

Sourced from docs/API_CATALOG.md, auto-generated by tools/generate_api_catalog.py.