Contents

SushiEngine::Simulation::IWorldEditor

set_ui_target_size

virtual void set_ui_target_size(std::uint32_t width, std::uint32_t height)=0

Parameters

NameTypeDescription
widthstd::uint32_t

Target width in pixels (clamped to at least 1).

heightstd::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