Skip to content

Screen

Class | orca.UIKit | extends Node2D

Top-level container representing a display surface or window

Overview

Properties

Property Type Description
ClearColor color Background clear color for the screen
ResizeMode ResizeMode Specifies how the window can be resized or displayed
DialogResult float Result value for dialog interactions

Messages

UpdateLayout

Requests the screen to recompute its layout for the given dimensions.

Field Type Description
Width float
Height float

RenderScreen

Requests the screen to render a frame to the specified render target.

Field Type Description
width uint The width of the render screen
height uint The height of the render screen
stereo float The stereo value of the render screen
angle float The angle of the render screen
target Texture The target handle of the render screen