Camera:hide()method

widget only

This method 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.
Hide and deactivate the Camera widget. Events can no longer be fired while the widget is hidden.

Return value

This method returns no value.

Example

--! luart-extensions import ui, capture local win = ui.Window("Camera:hide() sample", "fixed", 640, 520) local cam = ui.Camera(win, 10, 10, 620, 460) win:showasync() sleep(3000) cam:hide() waitall()