summaryrefslogtreecommitdiffstats
path: root/gdextension/extension_api.json
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-02-08 14:47:21 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-02-08 14:47:21 +0100
commit516fad14e45d341211121832bb3daa172aebd6e1 (patch)
treee5c75a28e16bb47264a7e3f55d01c494d8c73e44 /gdextension/extension_api.json
parent52e63ddd222df6321bfbdc1c0819c0d76ced2ed0 (diff)
downloadredot-cpp-516fad14e45d341211121832bb3daa172aebd6e1.tar.gz
gdextension: Sync with upstream commit c4fb119f03477ad9a494ba6cdad211b35a8efcce (4.0-rc1)
Diffstat (limited to 'gdextension/extension_api.json')
-rw-r--r--gdextension/extension_api.json253
1 files changed, 228 insertions, 25 deletions
diff --git a/gdextension/extension_api.json b/gdextension/extension_api.json
index 0f3020f..30e0211 100644
--- a/gdextension/extension_api.json
+++ b/gdextension/extension_api.json
@@ -3,9 +3,9 @@
"version_major": 4,
"version_minor": 0,
"version_patch": 0,
- "version_status": "beta17",
+ "version_status": "rc1",
"version_build": "official",
- "version_full_name": "Godot Engine v4.0.beta17.official"
+ "version_full_name": "Godot Engine v4.0.rc1.official"
},
"builtin_class_sizes": [
{
@@ -19199,9 +19199,9 @@
"name": "bsearch",
"return_type": "int",
"is_vararg": false,
- "is_const": false,
+ "is_const": true,
"is_static": false,
- "hash": 2634019015,
+ "hash": 3372222236,
"arguments": [
{
"name": "value",
@@ -19218,9 +19218,9 @@
"name": "bsearch_custom",
"return_type": "int",
"is_vararg": false,
- "is_const": false,
+ "is_const": true,
"is_static": false,
- "hash": 135832563,
+ "hash": 161317131,
"arguments": [
{
"name": "value",
@@ -28441,6 +28441,36 @@
"signals": [
{
"name": "tree_changed"
+ },
+ {
+ "name": "animation_node_renamed",
+ "arguments": [
+ {
+ "name": "object_id",
+ "type": "int"
+ },
+ {
+ "name": "old_name",
+ "type": "String"
+ },
+ {
+ "name": "new_name",
+ "type": "String"
+ }
+ ]
+ },
+ {
+ "name": "animation_node_removed",
+ "arguments": [
+ {
+ "name": "object_id",
+ "type": "int"
+ },
+ {
+ "name": "name",
+ "type": "String"
+ }
+ ]
}
],
"properties": [
@@ -32227,24 +32257,6 @@
}
},
{
- "name": "rename_parameter",
- "is_const": false,
- "is_vararg": false,
- "is_static": false,
- "is_virtual": false,
- "hash": 3186203200,
- "arguments": [
- {
- "name": "old_name",
- "type": "String"
- },
- {
- "name": "new_name",
- "type": "String"
- }
- ]
- },
- {
"name": "advance",
"is_const": false,
"is_vararg": false,
@@ -66111,7 +66123,7 @@
},
"arguments": [
{
- "name": "position",
+ "name": "point",
"type": "Vector2"
}
]
@@ -77215,6 +77227,26 @@
"is_virtual": true
},
{
+ "name": "_get_export_features",
+ "is_const": true,
+ "is_static": false,
+ "is_vararg": false,
+ "is_virtual": true,
+ "return_value": {
+ "type": "PackedStringArray"
+ },
+ "arguments": [
+ {
+ "name": "platform",
+ "type": "EditorExportPlatform"
+ },
+ {
+ "name": "debug",
+ "type": "bool"
+ }
+ ]
+ },
+ {
"name": "_get_name",
"is_const": true,
"is_static": false,
@@ -78642,6 +78674,38 @@
"type": "typedarray::String"
}
]
+ },
+ {
+ "name": "append_import_external_resource",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 3645925746,
+ "return_value": {
+ "type": "enum::Error"
+ },
+ "arguments": [
+ {
+ "name": "path",
+ "type": "String"
+ },
+ {
+ "name": "custom_options",
+ "type": "Dictionary",
+ "default_value": "{}"
+ },
+ {
+ "name": "custom_importer",
+ "type": "String",
+ "default_value": "\"\""
+ },
+ {
+ "name": "generator_parameters",
+ "type": "Variant",
+ "default_value": "null"
+ }
+ ]
}
]
},
@@ -171258,6 +171322,17 @@
]
},
{
+ "name": "get_global_class_list",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2915620761,
+ "return_value": {
+ "type": "typedarray::Dictionary"
+ }
+ },
+ {
"name": "set_order",
"is_const": false,
"is_vararg": false,
@@ -192882,6 +192957,24 @@
]
},
{
+ "name": "canvas_light_set_blend_mode",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 804895945,
+ "arguments": [
+ {
+ "name": "light",
+ "type": "RID"
+ },
+ {
+ "name": "mode",
+ "type": "enum::RenderingServer.CanvasLightBlendMode"
+ }
+ ]
+ },
+ {
"name": "canvas_light_occluder_create",
"is_const": false,
"is_vararg": false,
@@ -195161,6 +195254,24 @@
"value": 26
}
]
+ },
+ {
+ "name": "MenuItems",
+ "is_bitfield": false,
+ "values": [
+ {
+ "name": "MENU_COPY",
+ "value": 0
+ },
+ {
+ "name": "MENU_SELECT_ALL",
+ "value": 1
+ },
+ {
+ "name": "MENU_MAX",
+ "value": 2
+ }
+ ]
}
],
"methods": [
@@ -196646,6 +196757,21 @@
"return_value": {
"type": "bool"
}
+ },
+ {
+ "name": "menu_option",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 1286410249,
+ "arguments": [
+ {
+ "name": "option",
+ "type": "int",
+ "meta": "int32"
+ }
+ ]
}
],
"signals": [
@@ -250082,6 +250208,31 @@
}
},
{
+ "name": "set_physics_object_picking_sort",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2586408642,
+ "arguments": [
+ {
+ "name": "enable",
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "get_physics_object_picking_sort",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2240911060,
+ "return_value": {
+ "type": "bool"
+ }
+ },
+ {
"name": "get_viewport_rid",
"is_const": true,
"is_vararg": false,
@@ -251195,6 +251346,12 @@
},
{
"type": "bool",
+ "name": "physics_object_picking_sort",
+ "setter": "set_physics_object_picking_sort",
+ "getter": "get_physics_object_picking_sort"
+ },
+ {
+ "type": "bool",
"name": "gui_disable_input",
"setter": "set_disable_input",
"getter": "is_input_disabled"
@@ -264690,6 +264847,24 @@
"value": 4
}
]
+ },
+ {
+ "name": "EnvironmentBlendMode",
+ "is_bitfield": false,
+ "values": [
+ {
+ "name": "XR_ENV_BLEND_MODE_OPAQUE",
+ "value": 0
+ },
+ {
+ "name": "XR_ENV_BLEND_MODE_ADDITIVE",
+ "value": 1
+ },
+ {
+ "name": "XR_ENV_BLEND_MODE_ALPHA_BLEND",
+ "value": 2
+ }
+ ]
}
],
"methods": [
@@ -265031,6 +265206,34 @@
"meta": "double"
}
]
+ },
+ {
+ "name": "get_supported_environment_blend_modes",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 2915620761,
+ "return_value": {
+ "type": "Array"
+ }
+ },
+ {
+ "name": "set_environment_blend_mode",
+ "is_const": false,
+ "is_vararg": false,
+ "is_static": false,
+ "is_virtual": false,
+ "hash": 551152418,
+ "return_value": {
+ "type": "bool"
+ },
+ "arguments": [
+ {
+ "name": "mode",
+ "type": "enum::XRInterface.EnvironmentBlendMode"
+ }
+ ]
}
],
"signals": [