Camera.height readwrite

widget only

This property is only available when the ui module is loaded before capture and Camera is used as a widget. Accessing it in object mode will raise an error.
Get or set the Camera widget height. The height starts from 0 (top side of the Camera) and increases downward.

Example

--! luart-extensions import ui, capture local win = ui.Window("Camera.height sample", "fixed", 640, 520) local cam = ui.Camera(win, 10, 10, 300, 240) print("Camera height: "..cam.height) await win:showasync()