Namespace: safearea
Language: Lua
Type: Extension
Defold native extension that will change the view/render of a game to fit into the safe area on iPhones and Android(API 28+) with notch.
Type: FUNCTION set background color in runtime
Parameters
color (vector4) - Color will be used as background color.Type: FUNCTION returns table with top, left, right, bottom values of insets and status
Returns
tableType: FUNCTION
returns a table with top_left, top_right, bottom_left, and bottom_right values of rounded corners and status.
Returns
tableType: VARIABLE
Type: VARIABLE
Type: VARIABLE