class_body
{ "{"
companion_object (+167 nodes collapsed)
property_declaration (+37 nodes collapsed)
property_declaration (+37 nodes collapsed)
property_declaration (+37 nodes collapsed)
property_declaration (+26 nodes collapsed)
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "accelerometerEnabled"
= "="
call_expression
identifier "AtomicBoolean"
value_arguments
( "("
value_argument
identifier "false"
) ")"
property_declaration (+33 nodes collapsed)
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "gravityEnabled"
= "="
call_expression
identifier "AtomicBoolean"
value_arguments
( "("
value_argument
identifier "false"
) ")"
property_declaration (+33 nodes collapsed)
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "magnetometerEnabled"
= "="
call_expression
identifier "AtomicBoolean"
value_arguments
( "("
value_argument
identifier "false"
) ")"
property_declaration (+33 nodes collapsed)
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "gyroscopeEnabled"
= "="
call_expression
identifier "AtomicBoolean"
value_arguments
( "("
value_argument
identifier "false"
) ")"
property_declaration (+33 nodes collapsed)
property_declaration (+25 nodes collapsed)
property_declaration
val "val"
variable_declaration
identifier "tts"
= "="
call_expression
identifier "GodotTTS"
value_arguments
( "("
value_argument
identifier "context"
) ")"
property_declaration
val "val"
variable_declaration
identifier "directoryAccessHandler"
= "="
call_expression
identifier "DirectoryAccessHandler"
value_arguments
( "("
value_argument
identifier "context"
) ")"
property_declaration
val "val"
variable_declaration
identifier "fileAccessHandler"
= "="
call_expression
identifier "FileAccessHandler"
value_arguments
( "("
value_argument
identifier "context"
) ")"
property_declaration
val "val"
variable_declaration
identifier "netUtils"
= "="
call_expression
identifier "GodotNetUtils"
value_arguments
( "("
value_argument
identifier "context"
) ")"
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "godotInputHandler"
= "="
call_expression
identifier "GodotInputHandler"
value_arguments
( "("
value_argument
identifier "context"
, ","
value_argument
this_expression
this "this"
) ")"
property_declaration (+25 nodes collapsed)
property_declaration (+54 nodes collapsed)
block_comment "/**\n\t * Task to run when the engine terminates.\n\t */"
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "runOnTerminate"
= "="
call_expression
identifier "AtomicReference"
type_arguments
< "<"
type_projection
user_type
identifier "Runnable"
> ">"
value_arguments
( "("
) ")"
block_comment "/**\n\t * Tracks whether [GodotLib.initialize] was completed s"...
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "nativeLayerInitializeCompleted"
= "="
identifier "false"
block_comment "/**\n\t * Tracks whether [GodotLib.setup] was completed succes"...
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "nativeLayerSetupCompleted"
= "="
identifier "false"
block_comment "/**\n\t * Tracks whether [onInitRenderView] was completed succ"...
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "renderViewInitialized"
= "="
identifier "false"
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "primaryHost"
: ":"
nullable_type
user_type
identifier "GodotHost"
? "?"
= "="
identifier "null"
block_comment "/**\n\t * Tracks whether we're in the RESUMED lifecycle state."...
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "resumed"
= "="
identifier "false"
block_comment "/**\n\t * Tracks whether [onGodotSetupCompleted] fired.\n\t */"
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "godotMainLoopStarted"
= "="
call_expression
identifier "AtomicBoolean"
value_arguments
( "("
value_argument
identifier "false"
) ")"
property_declaration
val "val"
variable_declaration
identifier "io"
= "="
call_expression
identifier "GodotIO"
value_arguments
( "("
value_argument
this_expression
this "this"
) ")"
property_declaration (+28 nodes collapsed)
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "xrMode"
= "="
navigation_expression
identifier "XRMode"
. "."
identifier "REGULAR"
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "useImmersive"
= "="
call_expression
identifier "AtomicBoolean"
value_arguments
( "("
value_argument
identifier "false"
) ")"
property_declaration
modifiers
visibility_modifier
private "private"
val "val"
variable_declaration
identifier "isEdgeToEdge"
= "="
call_expression
identifier "AtomicBoolean"
value_arguments
( "("
value_argument
identifier "false"
) ")"
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "useDebugOpengl"
= "="
identifier "false"
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "darkMode"
= "="
identifier "false"
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "backgroundColor"
: ":"
user_type
identifier "Int"
= "="
navigation_expression
identifier "Color"
. "."
identifier "BLACK"
property_declaration
modifiers
visibility_modifier
private "private"
var "var"
variable_declaration
identifier "orientation"
= "="
navigation_expression
identifier "Configuration"
. "."
identifier "ORIENTATION_UNDEFINED"
property_declaration
modifiers
visibility_modifier
internal "internal"
var "var"
variable_declaration
identifier "containerLayout"
: ":"
nullable_type
user_type
identifier "FrameLayout"
? "?"
= "="
identifier "null"
property_declaration
var "var"
variable_declaration
identifier "renderView"
: ":"
nullable_type
user_type
identifier "GodotRenderView"
? "?"
= "="
identifier "null"
block_comment "/**\n\t * Returns true if the native engine has been initializ"...
function_declaration
modifiers
visibility_modifier
private "private"
fun "fun"
identifier "isNativeInitialized"
function_value_parameters
( "("
) ")"
function_body
= "="
binary_expression
identifier "nativeLayerInitializeCompleted"
&& "&&"
identifier "nativeLayerSetupCompleted"
block_comment "/**\n\t * Returns true if the engine has been initialized, fal"...
function_declaration (+22 nodes collapsed)
block_comment "/**\n\t * Provides access to the primary host [Activity]\n\t */"
function_declaration
fun "fun"
identifier "getActivity"
function_value_parameters
( "("
) ")"
function_body
= "="
navigation_expression
identifier "primaryHost"
?. "?."
identifier "activity"
block_comment "/**\n\t * Start initialization of the Godot engine.\n\t *\n\t * Th"...
function_declaration (+1302 nodes collapsed)
block_comment "/**\n\t * Enable edge-to-edge.\n\t *\n\t * Must be called from the"...
function_declaration (+521 nodes collapsed)
function_declaration (+81 nodes collapsed)
block_comment "/**\n\t * Toggle immersive mode.\n\t * Must be called from the U"...
function_declaration (+326 nodes collapsed)
block_comment "/**\n\t * Invoked from the render thread to toggle the immersi"...
function_declaration (+35 nodes collapsed)
function_declaration (+21 nodes collapsed)
function_declaration (+21 nodes collapsed)
function_declaration (+83 nodes collapsed)
function_declaration (+56 nodes collapsed)
function_declaration (+116 nodes collapsed)
block_comment "/**\n\t * Used to complete initialization of the view used by "...
function_declaration (+1204 nodes collapsed)
function_declaration (+54 nodes collapsed)
function_declaration (+85 nodes collapsed)
function_declaration (+197 nodes collapsed)
function_declaration (+52 nodes collapsed)
function_declaration (+90 nodes collapsed)
function_declaration (+54 nodes collapsed)
function_declaration (+130 nodes collapsed)
block_comment "/**\n\t * Configuration change callback\n\t*/"
function_declaration (+121 nodes collapsed)
block_comment "/**\n\t * Activity result callback\n\t */"
function_declaration (+84 nodes collapsed)
block_comment "/**\n\t * Permissions request callback\n\t */"
function_declaration (+112 nodes collapsed)
block_comment "/**\n\t * Invoked on the render thread when the Godot setup is"...
function_declaration (+301 nodes collapsed)
block_comment "/**\n\t * Invoked on the render thread when the Godot main loo"...
function_declaration (+228 nodes collapsed)
block_comment "/**\n\t * Invoked on the render thread when the engine is abou"...
function_declaration (+48 nodes collapsed)
function_declaration (+24 nodes collapsed)
function_declaration (+86 nodes collapsed)
function_declaration (+165 nodes collapsed)
block_comment "/**\n\t * Queue a runnable to be run on the render thread.\n\t *"...
function_declaration (+25 nodes collapsed)
block_comment "/**\n\t * Runs the specified action on the host thread.\n\t */"
function_declaration (+25 nodes collapsed)
block_comment "/**\n\t * Returns true if the call is being made on the Ui thr"...
function_declaration (+29 nodes collapsed)
block_comment "/**\n\t * Returns the native rendering driver.\n\t */"
function_declaration (+176 nodes collapsed)
block_comment "/**\n\t * Returns true if can fallback to OpenGL.\n\t */"
function_declaration (+46 nodes collapsed)
block_comment "/**\n\t * Returns true if the device meets the base requiremen"...
function_declaration
modifiers
visibility_modifier
private "private"
fun "fun"
identifier "meetsVulkanRequirements"
function_value_parameters
( "("
parameter
identifier "packageManager"
: ":"
nullable_type
user_type
identifier "PackageManager"
? "?"
) ")"
: ":"
user_type
identifier "Boolean"
function_body
block
{ "{"
if_expression
if "if"
( "("
binary_expression
identifier "packageManager"
== "=="
identifier "null"
) ")"
block
{ "{"
return_expression
return "return"
identifier "false"
} "}"
if_expression (+42 nodes collapsed)
line_comment "// Check for api version 1.0"
return_expression
return "return"
call_expression
navigation_expression
identifier "packageManager"
. "."
identifier "hasSystemFeature"
value_arguments
( "("
value_argument
navigation_expression
identifier "PackageManager"
. "."
identifier "FEATURE_VULKAN_HARDWARE_VERSION"
, ","
value_argument
number_literal "0x400003"
) ")"
} "}"
function_declaration (+82 nodes collapsed)
block_comment "/**\n\t * Returns true if dark mode is supported, false otherw"...
function_declaration (+50 nodes collapsed)
block_comment "/**\n\t * Returns true if dark mode is supported and enabled, "...
function_declaration (+23 nodes collapsed)
function_declaration (+105 nodes collapsed)
function_declaration (+105 nodes collapsed)
function_declaration (+53 nodes collapsed)
function_declaration (+75 nodes collapsed)
block_comment "/**\n\t * This method shows a dialog with multiple buttons.\n\t "...
function_declaration (+72 nodes collapsed)
block_comment "/**\n\t * This method shows a dialog with a text input field, "...
function_declaration (+66 nodes collapsed)
function_declaration (+64 nodes collapsed)
function_declaration (+64 nodes collapsed)
block_comment "/**\n\t * Destroys the Godot Engine and kill the process it's "...
function_declaration (+84 nodes collapsed)
function_declaration (+80 nodes collapsed)
function_declaration (+46 nodes collapsed)
block_comment "/**\n\t * Used by the native code (java_godot_wrapper.h) to vi"...
function_declaration (+219 nodes collapsed)
block_comment "/**\n\t * Used by the native code (java_godot_wrapper.h) to ac"...
function_declaration (+28 nodes collapsed)
function_declaration (+47 nodes collapsed)
function_declaration (+29 nodes collapsed)
function_declaration (+35 nodes collapsed)
block_comment "/**\n\t * Returns true if this is the Godot editor.\n\t */"
function_declaration (+23 nodes collapsed)
block_comment "/**\n\t * Returns true if this is the Godot project manager.\n\t"...
function_declaration (+23 nodes collapsed)
block_comment "/**\n\t * Returns true if the feature for the given feature ta"...
function_declaration (+30 nodes collapsed)
block_comment "/**\n\t * Internal method used to query whether the host or th"...
function_declaration (+85 nodes collapsed)
block_comment "/**\n\t * Get the list of gdextension modules to register.\n\t *"...
function_declaration (+79 nodes collapsed)
function_declaration (+30 nodes collapsed)
function_declaration (+283 nodes collapsed)
function_declaration (+25 nodes collapsed)
function_declaration (+48 nodes collapsed)
function_declaration (+38 nodes collapsed)
function_declaration (+38 nodes collapsed)
function_declaration (+32 nodes collapsed)
function_declaration (+92 nodes collapsed)
function_declaration (+56 nodes collapsed)
function_declaration (+32 nodes collapsed)
function_declaration (+32 nodes collapsed)
function_declaration (+91 nodes collapsed)
function_declaration (+73 nodes collapsed)
function_declaration (+146 nodes collapsed)
function_declaration (+80 nodes collapsed)
function_declaration (+98 nodes collapsed)
function_declaration (+55 nodes collapsed)
function_declaration (+51 nodes collapsed)
function_declaration (+53 nodes collapsed)
function_declaration (+77 nodes collapsed)
function_declaration (+62 nodes collapsed)
} "}"