gdextension: Sync with upstream commit f8818f85e6c43cdf1277e8ae85eba19ca0a003b0 (4.2-beta2)

pull/1277/head
Rémi Verschelde 2023-10-20 08:40:49 +02:00
parent 7a260f5e93
commit 5182624141
No known key found for this signature in database
GPG Key ID: C3336907360768E1
2 changed files with 298 additions and 56 deletions

View File

@ -3,9 +3,9 @@
"version_major": 4, "version_major": 4,
"version_minor": 2, "version_minor": 2,
"version_patch": 0, "version_patch": 0,
"version_status": "beta1", "version_status": "beta2",
"version_build": "official", "version_build": "official",
"version_full_name": "Godot Engine v4.2.beta1.official" "version_full_name": "Godot Engine v4.2.beta2.official"
}, },
"builtin_class_sizes": [ "builtin_class_sizes": [
{ {
@ -73568,6 +73568,23 @@
"return_value": { "return_value": {
"type": "bool" "type": "bool"
} }
},
{
"name": "is_case_sensitive",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3927539163,
"return_value": {
"type": "bool"
},
"arguments": [
{
"name": "path",
"type": "String"
}
]
} }
], ],
"properties": [ "properties": [
@ -78720,7 +78737,7 @@
{ {
"name": "EditorCommandPalette", "name": "EditorCommandPalette",
"is_refcounted": false, "is_refcounted": false,
"is_instantiable": false, "is_instantiable": true,
"inherits": "ConfirmationDialog", "inherits": "ConfirmationDialog",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -78773,7 +78790,7 @@
{ {
"name": "EditorDebuggerPlugin", "name": "EditorDebuggerPlugin",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "RefCounted", "inherits": "RefCounted",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -79024,28 +79041,28 @@
{ {
"name": "EditorExportPlatformAndroid", "name": "EditorExportPlatformAndroid",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "EditorExportPlatform", "inherits": "EditorExportPlatform",
"api_type": "editor" "api_type": "editor"
}, },
{ {
"name": "EditorExportPlatformIOS", "name": "EditorExportPlatformIOS",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "EditorExportPlatform", "inherits": "EditorExportPlatform",
"api_type": "editor" "api_type": "editor"
}, },
{ {
"name": "EditorExportPlatformLinuxBSD", "name": "EditorExportPlatformLinuxBSD",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "EditorExportPlatformPC", "inherits": "EditorExportPlatformPC",
"api_type": "editor" "api_type": "editor"
}, },
{ {
"name": "EditorExportPlatformMacOS", "name": "EditorExportPlatformMacOS",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "EditorExportPlatform", "inherits": "EditorExportPlatform",
"api_type": "editor" "api_type": "editor"
}, },
@ -79059,21 +79076,21 @@
{ {
"name": "EditorExportPlatformWeb", "name": "EditorExportPlatformWeb",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "EditorExportPlatform", "inherits": "EditorExportPlatform",
"api_type": "editor" "api_type": "editor"
}, },
{ {
"name": "EditorExportPlatformWindows", "name": "EditorExportPlatformWindows",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "EditorExportPlatformPC", "inherits": "EditorExportPlatformPC",
"api_type": "editor" "api_type": "editor"
}, },
{ {
"name": "EditorExportPlugin", "name": "EditorExportPlugin",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "RefCounted", "inherits": "RefCounted",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -79640,7 +79657,7 @@
{ {
"name": "EditorFeatureProfile", "name": "EditorFeatureProfile",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "RefCounted", "inherits": "RefCounted",
"api_type": "editor", "api_type": "editor",
"enums": [ "enums": [
@ -79892,7 +79909,7 @@
{ {
"name": "EditorFileDialog", "name": "EditorFileDialog",
"is_refcounted": false, "is_refcounted": false,
"is_instantiable": false, "is_instantiable": true,
"inherits": "ConfirmationDialog", "inherits": "ConfirmationDialog",
"api_type": "editor", "api_type": "editor",
"enums": [ "enums": [
@ -80506,7 +80523,7 @@
{ {
"name": "EditorFileSystemDirectory", "name": "EditorFileSystemDirectory",
"is_refcounted": false, "is_refcounted": false,
"is_instantiable": false, "is_instantiable": true,
"inherits": "Object", "inherits": "Object",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -80734,7 +80751,7 @@
{ {
"name": "EditorFileSystemImportFormatSupportQuery", "name": "EditorFileSystemImportFormatSupportQuery",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "RefCounted", "inherits": "RefCounted",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -80773,7 +80790,7 @@
{ {
"name": "EditorImportPlugin", "name": "EditorImportPlugin",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "ResourceImporter", "inherits": "ResourceImporter",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -80994,7 +81011,7 @@
{ {
"name": "EditorInspector", "name": "EditorInspector",
"is_refcounted": false, "is_refcounted": false,
"is_instantiable": false, "is_instantiable": true,
"inherits": "ScrollContainer", "inherits": "ScrollContainer",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -81112,7 +81129,7 @@
{ {
"name": "EditorInspectorPlugin", "name": "EditorInspectorPlugin",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "RefCounted", "inherits": "RefCounted",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -82044,7 +82061,7 @@
{ {
"name": "EditorNode3DGizmo", "name": "EditorNode3DGizmo",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "Node3DGizmo", "inherits": "Node3DGizmo",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -82510,7 +82527,7 @@
{ {
"name": "EditorNode3DGizmoPlugin", "name": "EditorNode3DGizmoPlugin",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "Resource", "inherits": "Resource",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -82988,7 +83005,7 @@
{ {
"name": "EditorPaths", "name": "EditorPaths",
"is_refcounted": false, "is_refcounted": false,
"is_instantiable": false, "is_instantiable": true,
"inherits": "Object", "inherits": "Object",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -83063,7 +83080,7 @@
{ {
"name": "EditorPlugin", "name": "EditorPlugin",
"is_refcounted": false, "is_refcounted": false,
"is_instantiable": false, "is_instantiable": true,
"inherits": "Node", "inherits": "Node",
"api_type": "editor", "api_type": "editor",
"enums": [ "enums": [
@ -84143,7 +84160,7 @@
{ {
"name": "EditorProperty", "name": "EditorProperty",
"is_refcounted": false, "is_refcounted": false,
"is_instantiable": false, "is_instantiable": true,
"inherits": "Container", "inherits": "Container",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -84622,7 +84639,7 @@
{ {
"name": "EditorResourceConversionPlugin", "name": "EditorResourceConversionPlugin",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "RefCounted", "inherits": "RefCounted",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -84673,7 +84690,7 @@
{ {
"name": "EditorResourcePicker", "name": "EditorResourcePicker",
"is_refcounted": false, "is_refcounted": false,
"is_instantiable": false, "is_instantiable": true,
"inherits": "HBoxContainer", "inherits": "HBoxContainer",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -85001,7 +85018,7 @@
{ {
"name": "EditorResourcePreviewGenerator", "name": "EditorResourcePreviewGenerator",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "RefCounted", "inherits": "RefCounted",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -85094,7 +85111,7 @@
{ {
"name": "EditorResourceTooltipPlugin", "name": "EditorResourceTooltipPlugin",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "RefCounted", "inherits": "RefCounted",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -85161,7 +85178,7 @@
{ {
"name": "EditorSceneFormatImporter", "name": "EditorSceneFormatImporter",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "RefCounted", "inherits": "RefCounted",
"api_type": "editor", "api_type": "editor",
"constants": [ "constants": [
@ -85283,28 +85300,28 @@
{ {
"name": "EditorSceneFormatImporterBlend", "name": "EditorSceneFormatImporterBlend",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "EditorSceneFormatImporter", "inherits": "EditorSceneFormatImporter",
"api_type": "editor" "api_type": "editor"
}, },
{ {
"name": "EditorSceneFormatImporterFBX", "name": "EditorSceneFormatImporterFBX",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "EditorSceneFormatImporter", "inherits": "EditorSceneFormatImporter",
"api_type": "editor" "api_type": "editor"
}, },
{ {
"name": "EditorSceneFormatImporterGLTF", "name": "EditorSceneFormatImporterGLTF",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "EditorSceneFormatImporter", "inherits": "EditorSceneFormatImporter",
"api_type": "editor" "api_type": "editor"
}, },
{ {
"name": "EditorScenePostImport", "name": "EditorScenePostImport",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "RefCounted", "inherits": "RefCounted",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -85340,7 +85357,7 @@
{ {
"name": "EditorScenePostImportPlugin", "name": "EditorScenePostImportPlugin",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "RefCounted", "inherits": "RefCounted",
"api_type": "editor", "api_type": "editor",
"enums": [ "enums": [
@ -85614,7 +85631,7 @@
{ {
"name": "EditorScript", "name": "EditorScript",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "RefCounted", "inherits": "RefCounted",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -85666,7 +85683,7 @@
{ {
"name": "EditorScriptPicker", "name": "EditorScriptPicker",
"is_refcounted": false, "is_refcounted": false,
"is_instantiable": false, "is_instantiable": true,
"inherits": "EditorResourcePicker", "inherits": "EditorResourcePicker",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -85708,7 +85725,7 @@
{ {
"name": "EditorSelection", "name": "EditorSelection",
"is_refcounted": false, "is_refcounted": false,
"is_instantiable": false, "is_instantiable": true,
"inherits": "Object", "inherits": "Object",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -85780,7 +85797,7 @@
{ {
"name": "EditorSettings", "name": "EditorSettings",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "Resource", "inherits": "Resource",
"api_type": "editor", "api_type": "editor",
"constants": [ "constants": [
@ -86060,7 +86077,7 @@
{ {
"name": "EditorSpinSlider", "name": "EditorSpinSlider",
"is_refcounted": false, "is_refcounted": false,
"is_instantiable": false, "is_instantiable": true,
"inherits": "Range", "inherits": "Range",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -86240,7 +86257,7 @@
{ {
"name": "EditorSyntaxHighlighter", "name": "EditorSyntaxHighlighter",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "SyntaxHighlighter", "inherits": "SyntaxHighlighter",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -86269,7 +86286,7 @@
{ {
"name": "EditorTranslationParserPlugin", "name": "EditorTranslationParserPlugin",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "RefCounted", "inherits": "RefCounted",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -86548,7 +86565,7 @@
{ {
"name": "EditorVCSInterface", "name": "EditorVCSInterface",
"is_refcounted": false, "is_refcounted": false,
"is_instantiable": false, "is_instantiable": true,
"inherits": "Object", "inherits": "Object",
"api_type": "editor", "api_type": "editor",
"enums": [ "enums": [
@ -95114,6 +95131,31 @@
"meta": "int32" "meta": "int32"
} }
}, },
{
"name": "set_fixed_size_scale_mode",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1660989956,
"arguments": [
{
"name": "fixed_size_scale_mode",
"type": "enum::TextServer.FixedSizeScaleMode"
}
]
},
{
"name": "get_fixed_size_scale_mode",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 753873478,
"return_value": {
"type": "enum::TextServer.FixedSizeScaleMode"
}
},
{ {
"name": "set_allow_system_fallback", "name": "set_allow_system_fallback",
"is_const": false, "is_const": false,
@ -96764,6 +96806,12 @@
"setter": "set_fixed_size", "setter": "set_fixed_size",
"getter": "get_fixed_size" "getter": "get_fixed_size"
}, },
{
"type": "int",
"name": "fixed_size_scale_mode",
"setter": "set_fixed_size_scale_mode",
"getter": "get_fixed_size_scale_mode"
},
{ {
"type": "Dictionary", "type": "Dictionary",
"name": "opentype_feature_overrides", "name": "opentype_feature_overrides",
@ -124857,6 +124905,33 @@
"meta": "int32" "meta": "int32"
} }
}, },
{
"name": "set_bounce_indirect_energy",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 373806689,
"arguments": [
{
"name": "bounce_indirect_energy",
"type": "float",
"meta": "float"
}
]
},
{
"name": "get_bounce_indirect_energy",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1740695150,
"return_value": {
"type": "float",
"meta": "float"
}
},
{ {
"name": "set_generate_probes", "name": "set_generate_probes",
"is_const": false, "is_const": false,
@ -125140,6 +125215,31 @@
"type": "bool" "type": "bool"
} }
}, },
{
"name": "set_use_texture_for_bounces",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 2586408642,
"arguments": [
{
"name": "use_texture_for_bounces",
"type": "bool"
}
]
},
{
"name": "is_using_texture_for_bounces",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 36873697,
"return_value": {
"type": "bool"
}
},
{ {
"name": "set_camera_attributes", "name": "set_camera_attributes",
"is_const": false, "is_const": false,
@ -125179,12 +125279,24 @@
"setter": "set_bounces", "setter": "set_bounces",
"getter": "get_bounces" "getter": "get_bounces"
}, },
{
"type": "float",
"name": "bounce_indirect_energy",
"setter": "set_bounce_indirect_energy",
"getter": "get_bounce_indirect_energy"
},
{ {
"type": "bool", "type": "bool",
"name": "directional", "name": "directional",
"setter": "set_directional", "setter": "set_directional",
"getter": "is_directional" "getter": "is_directional"
}, },
{
"type": "bool",
"name": "use_texture_for_bounces",
"setter": "set_use_texture_for_bounces",
"getter": "is_using_texture_for_bounces"
},
{ {
"type": "bool", "type": "bool",
"name": "interior", "name": "interior",
@ -207363,49 +207475,49 @@
{ {
"name": "ResourceImporterBMFont", "name": "ResourceImporterBMFont",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "ResourceImporter", "inherits": "ResourceImporter",
"api_type": "editor" "api_type": "editor"
}, },
{ {
"name": "ResourceImporterBitMap", "name": "ResourceImporterBitMap",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "ResourceImporter", "inherits": "ResourceImporter",
"api_type": "editor" "api_type": "editor"
}, },
{ {
"name": "ResourceImporterCSVTranslation", "name": "ResourceImporterCSVTranslation",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "ResourceImporter", "inherits": "ResourceImporter",
"api_type": "editor" "api_type": "editor"
}, },
{ {
"name": "ResourceImporterDynamicFont", "name": "ResourceImporterDynamicFont",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "ResourceImporter", "inherits": "ResourceImporter",
"api_type": "editor" "api_type": "editor"
}, },
{ {
"name": "ResourceImporterImage", "name": "ResourceImporterImage",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "ResourceImporter", "inherits": "ResourceImporter",
"api_type": "editor" "api_type": "editor"
}, },
{ {
"name": "ResourceImporterImageFont", "name": "ResourceImporterImageFont",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "ResourceImporter", "inherits": "ResourceImporter",
"api_type": "editor" "api_type": "editor"
}, },
{ {
"name": "ResourceImporterLayeredTexture", "name": "ResourceImporterLayeredTexture",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "ResourceImporter", "inherits": "ResourceImporter",
"api_type": "editor" "api_type": "editor"
}, },
@ -207419,7 +207531,7 @@
{ {
"name": "ResourceImporterOBJ", "name": "ResourceImporterOBJ",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "ResourceImporter", "inherits": "ResourceImporter",
"api_type": "editor" "api_type": "editor"
}, },
@ -207469,35 +207581,35 @@
{ {
"name": "ResourceImporterScene", "name": "ResourceImporterScene",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "ResourceImporter", "inherits": "ResourceImporter",
"api_type": "editor" "api_type": "editor"
}, },
{ {
"name": "ResourceImporterShaderFile", "name": "ResourceImporterShaderFile",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "ResourceImporter", "inherits": "ResourceImporter",
"api_type": "editor" "api_type": "editor"
}, },
{ {
"name": "ResourceImporterTexture", "name": "ResourceImporterTexture",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "ResourceImporter", "inherits": "ResourceImporter",
"api_type": "editor" "api_type": "editor"
}, },
{ {
"name": "ResourceImporterTextureAtlas", "name": "ResourceImporterTextureAtlas",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "ResourceImporter", "inherits": "ResourceImporter",
"api_type": "editor" "api_type": "editor"
}, },
{ {
"name": "ResourceImporterWAV", "name": "ResourceImporterWAV",
"is_refcounted": true, "is_refcounted": true,
"is_instantiable": false, "is_instantiable": true,
"inherits": "ResourceImporter", "inherits": "ResourceImporter",
"api_type": "editor" "api_type": "editor"
}, },
@ -214804,7 +214916,7 @@
{ {
"name": "ScriptCreateDialog", "name": "ScriptCreateDialog",
"is_refcounted": false, "is_refcounted": false,
"is_instantiable": false, "is_instantiable": true,
"inherits": "ConfirmationDialog", "inherits": "ConfirmationDialog",
"api_type": "editor", "api_type": "editor",
"methods": [ "methods": [
@ -239409,6 +239521,24 @@
"value": 6 "value": 6
} }
] ]
},
{
"name": "FixedSizeScaleMode",
"is_bitfield": false,
"values": [
{
"name": "FIXED_SIZE_SCALE_DISABLE",
"value": 0
},
{
"name": "FIXED_SIZE_SCALE_INTEGER_ONLY",
"value": 1
},
{
"name": "FIXED_SIZE_SCALE_ENABLED",
"value": 2
}
]
} }
], ],
"methods": [ "methods": [
@ -240105,6 +240235,41 @@
} }
] ]
}, },
{
"name": "font_set_fixed_size_scale_mode",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1029390307,
"arguments": [
{
"name": "font_rid",
"type": "RID"
},
{
"name": "fixed_size_scale_mode",
"type": "enum::TextServer.FixedSizeScaleMode"
}
]
},
{
"name": "font_get_fixed_size_scale_mode",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 4113120379,
"return_value": {
"type": "enum::TextServer.FixedSizeScaleMode"
},
"arguments": [
{
"name": "font_rid",
"type": "RID"
}
]
},
{ {
"name": "font_set_allow_system_fallback", "name": "font_set_allow_system_fallback",
"is_const": false, "is_const": false,
@ -244404,6 +244569,39 @@
} }
] ]
}, },
{
"name": "_font_set_fixed_size_scale_mode",
"is_const": false,
"is_static": false,
"is_vararg": false,
"is_virtual": true,
"arguments": [
{
"name": "font_rid",
"type": "RID"
},
{
"name": "fixed_size_scale_mode",
"type": "enum::TextServer.FixedSizeScaleMode"
}
]
},
{
"name": "_font_get_fixed_size_scale_mode",
"is_const": true,
"is_static": false,
"is_vararg": false,
"is_virtual": true,
"return_value": {
"type": "enum::TextServer.FixedSizeScaleMode"
},
"arguments": [
{
"name": "font_rid",
"type": "RID"
}
]
},
{ {
"name": "_font_set_allow_system_fallback", "name": "_font_set_allow_system_fallback",
"is_const": false, "is_const": false,
@ -252743,6 +252941,43 @@
} }
] ]
}, },
{
"name": "set_layer_navigation_enabled",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 300928843,
"arguments": [
{
"name": "layer",
"type": "int",
"meta": "int32"
},
{
"name": "enabled",
"type": "bool"
}
]
},
{
"name": "is_layer_navigation_enabled",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1116898809,
"return_value": {
"type": "bool"
},
"arguments": [
{
"name": "layer",
"type": "int",
"meta": "int32"
}
]
},
{ {
"name": "set_layer_navigation_map", "name": "set_layer_navigation_map",
"is_const": false, "is_const": false,
@ -283413,6 +283648,10 @@
"name": "ThemeDB", "name": "ThemeDB",
"type": "ThemeDB" "type": "ThemeDB"
}, },
{
"name": "EditorInterface",
"type": "EditorInterface"
},
{ {
"name": "JavaClassWrapper", "name": "JavaClassWrapper",
"type": "JavaClassWrapper" "type": "JavaClassWrapper"

View File

@ -590,7 +590,10 @@ typedef GDExtensionInterfaceFunctionPtr (*GDExtensionInterfaceGetProcAddress)(co
* *
* For example: * For example:
* *
* GDExtensionInterfaceGetGodotVersion *get_godot_version = (GDExtensionInterfaceGetGodotVersion)p_get_proc_address("get_godot_version"); * GDExtensionInterfaceGetGodotVersion get_godot_version = (GDExtensionInterfaceGetGodotVersion)p_get_proc_address("get_godot_version");
*
* (Note that snippet may cause "cast between incompatible function types" on some compilers, you can
* silence this by adding an intermediary `void*` cast.)
* *
* You can then call it like a normal function: * You can then call it like a normal function:
* *