getBounds

fun getBounds(width: Float, height: Float): BoundingBox2f

Return

Scaled bounds follows com.mojang.blaze3d.platform.Window.guiScale