SushiEngine::Simulation::IWorldEditor
set_ui_target_size
virtual void set_ui_target_size(std::uint32_t width, std::uint32_t height)=0Parameters
| Name | Type | Description |
|---|---|---|
width | std::uint32_t | Target width in pixels (clamped to at least 1). |
height | std::uint32_t | Target height in pixels (clamped to at least 1). |
Description
Tells the world the pixel size the UI is currently being viewed at.
See also
engine/world/simulation/include/EDITOR.md

