diff --git a/gdnative-bindings/api.json b/gdnative-bindings/api.json index e6ef43297..8789f4cf8 100644 --- a/gdnative-bindings/api.json +++ b/gdnative-bindings/api.json @@ -6,7 +6,7 @@ "singleton": true, "singleton_name": "GlobalConstants", "instanciable": false, - "is_reference": true, + "is_reference": false, "constants": { "BUTTON_LEFT": 1, "BUTTON_MASK_LEFT": 1, @@ -471,31 +471,48 @@ "OP_STRING_CONCAT": 13, "OP_SUBTRACT": 7, "OP_XOR": 22, - "PROPERTY_HINT_COLOR_NO_ALPHA": 22, - "PROPERTY_HINT_DIR": 16, + "PROPERTY_HINT_COLOR_NO_ALPHA": 23, + "PROPERTY_HINT_DIR": 17, "PROPERTY_HINT_ENUM": 3, - "PROPERTY_HINT_ENUM_SUGGESTION": 39, + "PROPERTY_HINT_ENUM_SUGGESTION": 40, "PROPERTY_HINT_EXP_EASING": 4, "PROPERTY_HINT_EXP_RANGE": 2, - "PROPERTY_HINT_FILE": 15, - "PROPERTY_HINT_FLAGS": 8, - "PROPERTY_HINT_GLOBAL_DIR": 18, - "PROPERTY_HINT_GLOBAL_FILE": 17, - "PROPERTY_HINT_IMAGE_COMPRESS_LOSSLESS": 24, - "PROPERTY_HINT_IMAGE_COMPRESS_LOSSY": 23, - "PROPERTY_HINT_KEY_ACCEL": 7, - "PROPERTY_HINT_LAYERS_2D_NAVIGATION": 11, - "PROPERTY_HINT_LAYERS_2D_PHYSICS": 10, - "PROPERTY_HINT_LAYERS_2D_RENDER": 9, - "PROPERTY_HINT_LAYERS_3D_NAVIGATION": 14, - "PROPERTY_HINT_LAYERS_3D_PHYSICS": 13, - "PROPERTY_HINT_LAYERS_3D_RENDER": 12, + "PROPERTY_HINT_FILE": 16, + "PROPERTY_HINT_FLAGS": 9, + "PROPERTY_HINT_GLOBAL_DIR": 19, + "PROPERTY_HINT_GLOBAL_FILE": 18, + "PROPERTY_HINT_IMAGE_COMPRESS_LOSSLESS": 25, + "PROPERTY_HINT_IMAGE_COMPRESS_LOSSY": 24, + "PROPERTY_HINT_KEY_ACCEL": 8, + "PROPERTY_HINT_LAYERS_2D_NAVIGATION": 12, + "PROPERTY_HINT_LAYERS_2D_PHYSICS": 11, + "PROPERTY_HINT_LAYERS_2D_RENDER": 10, + "PROPERTY_HINT_LAYERS_3D_NAVIGATION": 15, + "PROPERTY_HINT_LAYERS_3D_PHYSICS": 14, + "PROPERTY_HINT_LAYERS_3D_RENDER": 13, "PROPERTY_HINT_LENGTH": 5, - "PROPERTY_HINT_MULTILINE_TEXT": 20, + "PROPERTY_HINT_LINK": 6, + "PROPERTY_HINT_LOCALE_ID": 41, + "PROPERTY_HINT_MAX": 42, + "PROPERTY_HINT_METHOD_OF_BASE_TYPE": 30, + "PROPERTY_HINT_METHOD_OF_INSTANCE": 31, + "PROPERTY_HINT_METHOD_OF_SCRIPT": 32, + "PROPERTY_HINT_METHOD_OF_VARIANT_TYPE": 29, + "PROPERTY_HINT_MULTILINE_TEXT": 21, + "PROPERTY_HINT_NODE_PATH_TO_EDITED_NODE": 28, + "PROPERTY_HINT_NODE_PATH_VALID_TYPES": 38, "PROPERTY_HINT_NONE": 0, - "PROPERTY_HINT_PLACEHOLDER_TEXT": 21, + "PROPERTY_HINT_OBJECT_ID": 26, + "PROPERTY_HINT_OBJECT_TOO_BIG": 37, + "PROPERTY_HINT_PLACEHOLDER_TEXT": 22, + "PROPERTY_HINT_PROPERTY_OF_BASE_TYPE": 34, + "PROPERTY_HINT_PROPERTY_OF_INSTANCE": 35, + "PROPERTY_HINT_PROPERTY_OF_SCRIPT": 36, + "PROPERTY_HINT_PROPERTY_OF_VARIANT_TYPE": 33, "PROPERTY_HINT_RANGE": 1, - "PROPERTY_HINT_RESOURCE_TYPE": 19, + "PROPERTY_HINT_RESOURCE_TYPE": 20, + "PROPERTY_HINT_SAVE_FILE": 39, + "PROPERTY_HINT_TYPE_STRING": 27, "PROPERTY_USAGE_CATEGORY": 256, "PROPERTY_USAGE_CHECKABLE": 16, "PROPERTY_USAGE_CHECKED": 32, @@ -1177,6 +1194,31 @@ "arguments": [ ] }, + { + "name": "get_transform_for_eye", + "return_type": "Transform", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "eye", + "type": "int", + "has_default_value": false, + "default_value": "" + }, + { + "name": "transform", + "type": "Transform", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "initialize", "return_type": "bool", @@ -27214,585 +27256,631 @@ "index": -1 }, { - "name": "pitch_scale", - "type": "float", - "getter": "get_pitch_scale", - "setter": "set_pitch_scale", - "index": -1 - }, - { - "name": "playing", - "type": "bool", - "getter": "is_playing", - "setter": "_set_playing", - "index": -1 - }, - { - "name": "stream", - "type": "AudioStream", - "getter": "get_stream", - "setter": "set_stream", - "index": -1 - }, - { - "name": "stream_paused", - "type": "bool", - "getter": "get_stream_paused", - "setter": "set_stream_paused", - "index": -1 - }, - { - "name": "volume_db", + "name": "panning_strength", "type": "float", - "getter": "get_volume_db", - "setter": "set_volume_db", - "index": -1 - } - ], - "signals": [ - { - "name": "finished", - "arguments": [ - ] - } - ], - "methods": [ - { - "name": "_bus_layout_changed", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": true, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "_is_active", - "return_type": "bool", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": true, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "_set_playing", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": true, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "enable", - "type": "bool", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "get_area_mask", - "return_type": "int", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_attenuation", - "return_type": "float", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_bus", - "return_type": "String", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_max_distance", - "return_type": "float", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_pitch_scale", - "return_type": "float", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_playback_position", - "return_type": "float", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_stream", - "return_type": "AudioStream", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_stream_paused", - "return_type": "bool", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_stream_playback", - "return_type": "AudioStreamPlayback", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_volume_db", - "return_type": "float", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "is_autoplay_enabled", - "return_type": "bool", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "is_playing", - "return_type": "bool", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "play", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "from_position", - "type": "float", - "has_default_value": true, - "default_value": "0" - } - ] - }, - { - "name": "seek", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "to_position", - "type": "float", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "set_area_mask", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "mask", - "type": "int", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "set_attenuation", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "curve", - "type": "float", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "set_autoplay", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "enable", - "type": "bool", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "set_bus", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "bus", - "type": "String", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "set_max_distance", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "pixels", - "type": "float", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "set_pitch_scale", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "pitch_scale", - "type": "float", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "set_stream", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "stream", - "type": "AudioStream", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "set_stream_paused", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "pause", - "type": "bool", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "set_volume_db", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "volume_db", - "type": "float", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "stop", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - } - ], - "enums": [ - ] - }, - { - "name": "AudioStreamPlayer3D", - "base_class": "Spatial", - "api_type": "core", - "singleton": false, - "singleton_name": "", - "instanciable": true, - "is_reference": false, - "constants": { - "ATTENUATION_DISABLED": 3, - "ATTENUATION_INVERSE_DISTANCE": 0, - "ATTENUATION_INVERSE_SQUARE_DISTANCE": 1, - "ATTENUATION_LOGARITHMIC": 2, - "DOPPLER_TRACKING_DISABLED": 0, - "DOPPLER_TRACKING_IDLE_STEP": 1, - "DOPPLER_TRACKING_PHYSICS_STEP": 2, - "OUT_OF_RANGE_MIX": 0, - "OUT_OF_RANGE_PAUSE": 1 - }, - "properties": [ - { - "name": "area_mask", - "type": "int", - "getter": "get_area_mask", - "setter": "set_area_mask", - "index": -1 - }, - { - "name": "attenuation_filter_cutoff_hz", - "type": "float", - "getter": "get_attenuation_filter_cutoff_hz", - "setter": "set_attenuation_filter_cutoff_hz", - "index": -1 - }, - { - "name": "attenuation_filter_db", - "type": "float", - "getter": "get_attenuation_filter_db", - "setter": "set_attenuation_filter_db", - "index": -1 - }, - { - "name": "attenuation_model", - "type": "int", - "getter": "get_attenuation_model", - "setter": "set_attenuation_model", - "index": -1 - }, - { - "name": "autoplay", - "type": "bool", - "getter": "is_autoplay_enabled", - "setter": "set_autoplay", - "index": -1 - }, - { - "name": "bus", - "type": "String", - "getter": "get_bus", - "setter": "set_bus", - "index": -1 - }, - { - "name": "doppler_tracking", - "type": "int", - "getter": "get_doppler_tracking", - "setter": "set_doppler_tracking", - "index": -1 - }, - { - "name": "emission_angle_degrees", - "type": "float", - "getter": "get_emission_angle", - "setter": "set_emission_angle", - "index": -1 - }, - { - "name": "emission_angle_enabled", - "type": "bool", - "getter": "is_emission_angle_enabled", - "setter": "set_emission_angle_enabled", - "index": -1 - }, - { - "name": "emission_angle_filter_attenuation_db", - "type": "float", - "getter": "get_emission_angle_filter_attenuation_db", - "setter": "set_emission_angle_filter_attenuation_db", - "index": -1 - }, - { - "name": "max_db", - "type": "float", - "getter": "get_max_db", - "setter": "set_max_db", - "index": -1 - }, - { - "name": "max_distance", - "type": "float", - "getter": "get_max_distance", - "setter": "set_max_distance", - "index": -1 - }, - { - "name": "out_of_range_mode", - "type": "int", - "getter": "get_out_of_range_mode", - "setter": "set_out_of_range_mode", + "getter": "get_panning_strength", + "setter": "set_panning_strength", + "index": -1 + }, + { + "name": "pitch_scale", + "type": "float", + "getter": "get_pitch_scale", + "setter": "set_pitch_scale", + "index": -1 + }, + { + "name": "playing", + "type": "bool", + "getter": "is_playing", + "setter": "_set_playing", + "index": -1 + }, + { + "name": "stream", + "type": "AudioStream", + "getter": "get_stream", + "setter": "set_stream", + "index": -1 + }, + { + "name": "stream_paused", + "type": "bool", + "getter": "get_stream_paused", + "setter": "set_stream_paused", + "index": -1 + }, + { + "name": "volume_db", + "type": "float", + "getter": "get_volume_db", + "setter": "set_volume_db", + "index": -1 + } + ], + "signals": [ + { + "name": "finished", + "arguments": [ + ] + } + ], + "methods": [ + { + "name": "_bus_layout_changed", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "_is_active", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "_set_playing", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "enable", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "get_area_mask", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_attenuation", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_bus", + "return_type": "String", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_max_distance", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_panning_strength", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_pitch_scale", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_playback_position", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_stream", + "return_type": "AudioStream", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_stream_paused", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_stream_playback", + "return_type": "AudioStreamPlayback", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_volume_db", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "is_autoplay_enabled", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "is_playing", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "play", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "from_position", + "type": "float", + "has_default_value": true, + "default_value": "0" + } + ] + }, + { + "name": "seek", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "to_position", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_area_mask", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "mask", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_attenuation", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "curve", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_autoplay", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "enable", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_bus", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "bus", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_max_distance", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "pixels", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_panning_strength", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "panning_strength", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_pitch_scale", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "pitch_scale", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_stream", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "stream", + "type": "AudioStream", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_stream_paused", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "pause", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_volume_db", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "volume_db", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "stop", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + } + ], + "enums": [ + ] + }, + { + "name": "AudioStreamPlayer3D", + "base_class": "Spatial", + "api_type": "core", + "singleton": false, + "singleton_name": "", + "instanciable": true, + "is_reference": false, + "constants": { + "ATTENUATION_DISABLED": 3, + "ATTENUATION_INVERSE_DISTANCE": 0, + "ATTENUATION_INVERSE_SQUARE_DISTANCE": 1, + "ATTENUATION_LOGARITHMIC": 2, + "DOPPLER_TRACKING_DISABLED": 0, + "DOPPLER_TRACKING_IDLE_STEP": 1, + "DOPPLER_TRACKING_PHYSICS_STEP": 2, + "OUT_OF_RANGE_MIX": 0, + "OUT_OF_RANGE_PAUSE": 1 + }, + "properties": [ + { + "name": "area_mask", + "type": "int", + "getter": "get_area_mask", + "setter": "set_area_mask", + "index": -1 + }, + { + "name": "attenuation_filter_cutoff_hz", + "type": "float", + "getter": "get_attenuation_filter_cutoff_hz", + "setter": "set_attenuation_filter_cutoff_hz", + "index": -1 + }, + { + "name": "attenuation_filter_db", + "type": "float", + "getter": "get_attenuation_filter_db", + "setter": "set_attenuation_filter_db", + "index": -1 + }, + { + "name": "attenuation_model", + "type": "int", + "getter": "get_attenuation_model", + "setter": "set_attenuation_model", + "index": -1 + }, + { + "name": "autoplay", + "type": "bool", + "getter": "is_autoplay_enabled", + "setter": "set_autoplay", + "index": -1 + }, + { + "name": "bus", + "type": "String", + "getter": "get_bus", + "setter": "set_bus", + "index": -1 + }, + { + "name": "doppler_tracking", + "type": "int", + "getter": "get_doppler_tracking", + "setter": "set_doppler_tracking", + "index": -1 + }, + { + "name": "emission_angle_degrees", + "type": "float", + "getter": "get_emission_angle", + "setter": "set_emission_angle", + "index": -1 + }, + { + "name": "emission_angle_enabled", + "type": "bool", + "getter": "is_emission_angle_enabled", + "setter": "set_emission_angle_enabled", + "index": -1 + }, + { + "name": "emission_angle_filter_attenuation_db", + "type": "float", + "getter": "get_emission_angle_filter_attenuation_db", + "setter": "set_emission_angle_filter_attenuation_db", + "index": -1 + }, + { + "name": "max_db", + "type": "float", + "getter": "get_max_db", + "setter": "set_max_db", + "index": -1 + }, + { + "name": "max_distance", + "type": "float", + "getter": "get_max_distance", + "setter": "set_max_distance", + "index": -1 + }, + { + "name": "out_of_range_mode", + "type": "int", + "getter": "get_out_of_range_mode", + "setter": "set_out_of_range_mode", + "index": -1 + }, + { + "name": "panning_strength", + "type": "float", + "getter": "get_panning_strength", + "setter": "set_panning_strength", "index": -1 }, { @@ -28034,6 +28122,19 @@ "arguments": [ ] }, + { + "name": "get_panning_strength", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_pitch_scale", "return_type": "float", @@ -28449,6 +28550,25 @@ } ] }, + { + "name": "set_panning_strength", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "panning_strength", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_pitch_scale", "return_type": "void", @@ -42884,6 +43004,19 @@ "arguments": [ ] }, + { + "name": "get_final_transform", + "return_type": "Transform2D", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_follow_viewport_scale", "return_type": "float", @@ -60542,19 +60675,6 @@ "arguments": [ ] }, - { - "name": "get_tooltip_text", - "return_type": "String", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, { "name": "is_checkable", "return_type": "bool", @@ -67962,6 +68082,13 @@ "setter": "set_mode_overrides_title", "index": -1 }, + { + "name": "root_subfolder", + "type": "String", + "getter": "get_root_subfolder", + "setter": "set_root_subfolder", + "index": -1 + }, { "name": "show_hidden_files", "type": "bool", @@ -68411,6 +68538,19 @@ "arguments": [ ] }, + { + "name": "get_root_subfolder", + "return_type": "String", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_vbox", "return_type": "VBoxContainer", @@ -68596,6 +68736,25 @@ } ] }, + { + "name": "set_root_subfolder", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "dir", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_show_hidden_files", "return_type": "void", @@ -69020,19 +69179,6 @@ "arguments": [ ] }, - { - "name": "_make_dir_confirm", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": true, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, { "name": "_make_scene_confirm", "return_type": "void", @@ -69588,12 +69734,35 @@ "instanciable": false, "is_reference": false, "constants": { + "ALIGN_BEGIN": 0, + "ALIGN_CENTER": 1, + "ALIGN_END": 2 }, "properties": [ + { + "name": "alignment", + "type": "int", + "getter": "get_alignment", + "setter": "set_alignment", + "index": -1 + } ], "signals": [ ], "methods": [ + { + "name": "get_alignment", + "return_type": "enum.FlowContainer::AlignMode", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_line_count", "return_type": "int", @@ -69606,9 +69775,36 @@ "is_from_script": false, "arguments": [ ] + }, + { + "name": "set_alignment", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "alignment", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] } ], "enums": [ + { + "name": "AlignMode", + "values": { + "ALIGN_BEGIN": 0, + "ALIGN_CENTER": 1, + "ALIGN_END": 2 + } + } ] }, { @@ -72441,6 +72637,13 @@ "setter": "set_perspective", "index": -1 }, + { + "name": "size_mag", + "type": "float", + "getter": "get_size_mag", + "setter": "set_size_mag", + "index": -1 + }, { "name": "zfar", "type": "float", @@ -72485,6 +72688,19 @@ "arguments": [ ] }, + { + "name": "get_size_mag", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_zfar", "return_type": "float", @@ -72549,6 +72765,25 @@ } ] }, + { + "name": "set_size_mag", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "size_mag", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_zfar", "return_type": "void", @@ -72586,6 +72821,356 @@ "default_value": "" } ] + }, + { + "name": "to_dictionary", + "return_type": "Dictionary", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "to_node", + "return_type": "Camera", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + } + ], + "enums": [ + ] + }, + { + "name": "GLTFCollider", + "base_class": "Resource", + "api_type": "core", + "singleton": false, + "singleton_name": "", + "instanciable": true, + "is_reference": true, + "constants": { + }, + "properties": [ + { + "name": "array_mesh", + "type": "ArrayMesh", + "getter": "get_array_mesh", + "setter": "set_array_mesh", + "index": -1 + }, + { + "name": "height", + "type": "float", + "getter": "get_height", + "setter": "set_height", + "index": -1 + }, + { + "name": "is_trigger", + "type": "bool", + "getter": "get_is_trigger", + "setter": "set_is_trigger", + "index": -1 + }, + { + "name": "mesh_index", + "type": "int", + "getter": "get_mesh_index", + "setter": "set_mesh_index", + "index": -1 + }, + { + "name": "radius", + "type": "float", + "getter": "get_radius", + "setter": "set_radius", + "index": -1 + }, + { + "name": "shape_type", + "type": "String", + "getter": "get_shape_type", + "setter": "set_shape_type", + "index": -1 + }, + { + "name": "size", + "type": "Vector3", + "getter": "get_size", + "setter": "set_size", + "index": -1 + } + ], + "signals": [ + ], + "methods": [ + { + "name": "get_array_mesh", + "return_type": "ArrayMesh", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_height", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_is_trigger", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_mesh_index", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_radius", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_shape_type", + "return_type": "String", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_size", + "return_type": "Vector3", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "set_array_mesh", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "array_mesh", + "type": "ArrayMesh", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_height", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "height", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_is_trigger", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "is_trigger", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_mesh_index", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "mesh_index", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_radius", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "radius", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_shape_type", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "shape_type", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_size", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "size", + "type": "Vector3", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "to_dictionary", + "return_type": "Dictionary", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "to_node", + "return_type": "CollisionShape", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "cache_shapes", + "type": "bool", + "has_default_value": true, + "default_value": "False" + } + ] } ], "enums": [ @@ -72605,6 +73190,394 @@ ], "signals": [ ], + "methods": [ + { + "name": "register_gltf_document_extension", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "extension", + "type": "GLTFDocumentExtension", + "has_default_value": false, + "default_value": "" + }, + { + "name": "first_priority", + "type": "bool", + "has_default_value": true, + "default_value": "False" + } + ] + }, + { + "name": "unregister_all_gltf_document_extensions", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "unregister_gltf_document_extension", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "extension", + "type": "GLTFDocumentExtension", + "has_default_value": false, + "default_value": "" + } + ] + } + ], + "enums": [ + ] + }, + { + "name": "GLTFDocumentExtension", + "base_class": "Resource", + "api_type": "core", + "singleton": false, + "singleton_name": "", + "instanciable": true, + "is_reference": true, + "constants": { + }, + "properties": [ + ], + "signals": [ + ], + "methods": [ + { + "name": "_convert_scene_node", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "state", + "type": "Object", + "has_default_value": false, + "default_value": "" + }, + { + "name": "gltf_node", + "type": "Object", + "has_default_value": false, + "default_value": "" + }, + { + "name": "scene_node", + "type": "Object", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_export_node", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "state", + "type": "Object", + "has_default_value": false, + "default_value": "" + }, + { + "name": "gltf_node", + "type": "Object", + "has_default_value": false, + "default_value": "" + }, + { + "name": "json", + "type": "Dictionary", + "has_default_value": false, + "default_value": "" + }, + { + "name": "node", + "type": "Object", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_export_post", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "state", + "type": "Object", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_export_preflight", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "state", + "type": "Object", + "has_default_value": false, + "default_value": "" + }, + { + "name": "root", + "type": "Object", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_generate_scene_node", + "return_type": "Object", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "state", + "type": "Object", + "has_default_value": false, + "default_value": "" + }, + { + "name": "gltf_node", + "type": "Object", + "has_default_value": false, + "default_value": "" + }, + { + "name": "scene_parent", + "type": "Object", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_get_supported_extensions", + "return_type": "Array", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "_import_node", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "state", + "type": "Object", + "has_default_value": false, + "default_value": "" + }, + { + "name": "gltf_node", + "type": "Object", + "has_default_value": false, + "default_value": "" + }, + { + "name": "json", + "type": "Dictionary", + "has_default_value": false, + "default_value": "" + }, + { + "name": "node", + "type": "Object", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_import_post", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "state", + "type": "Object", + "has_default_value": false, + "default_value": "" + }, + { + "name": "root", + "type": "Object", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_import_post_parse", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "state", + "type": "Object", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_import_preflight", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "state", + "type": "Object", + "has_default_value": false, + "default_value": "" + }, + { + "name": "extensions", + "type": "PoolStringArray", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "_parse_node_extensions", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "state", + "type": "Object", + "has_default_value": false, + "default_value": "" + }, + { + "name": "gltf_node", + "type": "Object", + "has_default_value": false, + "default_value": "" + }, + { + "name": "extensions", + "type": "Dictionary", + "has_default_value": false, + "default_value": "" + } + ] + } + ], + "enums": [ + ] + }, + { + "name": "GLTFDocumentExtensionPhysics", + "base_class": "GLTFDocumentExtension", + "api_type": "core", + "singleton": false, + "singleton_name": "", + "instanciable": false, + "is_reference": true, + "constants": { + }, + "properties": [ + ], + "signals": [ + ], "methods": [ ], "enums": [ @@ -72858,6 +73831,32 @@ "default_value": "" } ] + }, + { + "name": "to_dictionary", + "return_type": "Dictionary", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "to_node", + "return_type": "Light", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] } ], "enums": [ @@ -73105,6 +74104,25 @@ "signals": [ ], "methods": [ + { + "name": "get_additional_data", + "return_type": "Variant", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "extension_name", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "get_camera", "return_type": "int", @@ -73274,6 +74292,31 @@ "arguments": [ ] }, + { + "name": "set_additional_data", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "extension_name", + "type": "String", + "has_default_value": false, + "default_value": "" + }, + { + "name": "additional_data", + "type": "Variant", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_camera", "return_type": "void", @@ -73525,6 +74568,207 @@ "enums": [ ] }, + { + "name": "GLTFPhysicsBody", + "base_class": "Resource", + "api_type": "core", + "singleton": false, + "singleton_name": "", + "instanciable": true, + "is_reference": true, + "constants": { + }, + "properties": [ + { + "name": "angular_velocity", + "type": "Vector3", + "getter": "get_angular_velocity", + "setter": "set_angular_velocity", + "index": -1 + }, + { + "name": "body_type", + "type": "String", + "getter": "get_body_type", + "setter": "set_body_type", + "index": -1 + }, + { + "name": "linear_velocity", + "type": "Vector3", + "getter": "get_linear_velocity", + "setter": "set_linear_velocity", + "index": -1 + }, + { + "name": "mass", + "type": "float", + "getter": "get_mass", + "setter": "set_mass", + "index": -1 + } + ], + "signals": [ + ], + "methods": [ + { + "name": "get_angular_velocity", + "return_type": "Vector3", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_body_type", + "return_type": "String", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_linear_velocity", + "return_type": "Vector3", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_mass", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "set_angular_velocity", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "angular_velocity", + "type": "Vector3", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_body_type", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "body_type", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_linear_velocity", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "linear_velocity", + "type": "Vector3", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_mass", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "mass", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "to_dictionary", + "return_type": "Dictionary", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "to_node", + "return_type": "CollisionObject", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + } + ], + "enums": [ + ] + }, { "name": "GLTFSkeleton", "base_class": "Resource", @@ -74414,6 +75658,13 @@ "setter": "set_cameras", "index": -1 }, + { + "name": "create_animations", + "type": "bool", + "getter": "get_create_animations", + "setter": "set_create_animations", + "index": -1 + }, { "name": "glb_data", "type": "PoolByteArray", @@ -74512,6 +75763,13 @@ "setter": "set_skins", "index": -1 }, + { + "name": "texture_samplers", + "type": "Array", + "getter": "get_texture_samplers", + "setter": "set_texture_samplers", + "index": -1 + }, { "name": "textures", "type": "Array", @@ -74544,6 +75802,31 @@ "signals": [ ], "methods": [ + { + "name": "add_used_extension", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "extension_name", + "type": "String", + "has_default_value": false, + "default_value": "" + }, + { + "name": "required", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "get_accessors", "return_type": "Array", @@ -74557,6 +75840,25 @@ "arguments": [ ] }, + { + "name": "get_additional_data", + "return_type": "Variant", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "extension_name", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "get_animation_player", "return_type": "AnimationPlayer", @@ -74647,6 +75949,19 @@ "arguments": [ ] }, + { + "name": "get_create_animations", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_glb_data", "return_type": "PoolByteArray", @@ -74848,6 +76163,19 @@ "arguments": [ ] }, + { + "name": "get_texture_samplers", + "return_type": "Array", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_textures", "return_type": "Array", @@ -74919,6 +76247,31 @@ } ] }, + { + "name": "set_additional_data", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "extension_name", + "type": "String", + "has_default_value": false, + "default_value": "" + }, + { + "name": "additional_data", + "type": "Variant", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_animations", "return_type": "void", @@ -74995,6 +76348,25 @@ } ] }, + { + "name": "set_create_animations", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "create_animations", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_glb_data", "return_type": "void", @@ -75261,6 +76633,25 @@ } ] }, + { + "name": "set_texture_samplers", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "texture_samplers", + "type": "Array", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_textures", "return_type": "void", @@ -75352,6 +76743,13 @@ "constants": { }, "properties": [ + { + "name": "sampler", + "type": "int", + "getter": "get_sampler", + "setter": "set_sampler", + "index": -1 + }, { "name": "src_image", "type": "int", @@ -75363,6 +76761,19 @@ "signals": [ ], "methods": [ + { + "name": "get_sampler", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_src_image", "return_type": "int", @@ -75376,6 +76787,25 @@ "arguments": [ ] }, + { + "name": "set_sampler", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "sampler", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_src_image", "return_type": "void", @@ -75399,6 +76829,181 @@ "enums": [ ] }, + { + "name": "GLTFTextureSampler", + "base_class": "Resource", + "api_type": "core", + "singleton": false, + "singleton_name": "", + "instanciable": true, + "is_reference": true, + "constants": { + }, + "properties": [ + { + "name": "mag_filter", + "type": "int", + "getter": "get_mag_filter", + "setter": "set_mag_filter", + "index": -1 + }, + { + "name": "min_filter", + "type": "int", + "getter": "get_min_filter", + "setter": "set_min_filter", + "index": -1 + }, + { + "name": "wrap_s", + "type": "int", + "getter": "get_wrap_s", + "setter": "set_wrap_s", + "index": -1 + }, + { + "name": "wrap_t", + "type": "int", + "getter": "get_wrap_t", + "setter": "set_wrap_t", + "index": -1 + } + ], + "signals": [ + ], + "methods": [ + { + "name": "get_mag_filter", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_min_filter", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_wrap_s", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_wrap_t", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "set_mag_filter", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "filter_mode", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_min_filter", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "filter_mode", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_wrap_s", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "wrap_mode", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_wrap_t", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "wrap_mode", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + } + ], + "enums": [ + ] + }, { "name": "Generic6DOFJoint", "base_class": "Joint", @@ -77379,6 +78984,13 @@ "setter": "set_gradient", "index": -1 }, + { + "name": "use_hdr", + "type": "bool", + "getter": "is_using_hdr", + "setter": "set_use_hdr", + "index": -1 + }, { "name": "width", "type": "int", @@ -77416,6 +79028,19 @@ "arguments": [ ] }, + { + "name": "is_using_hdr", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "set_gradient", "return_type": "void", @@ -77435,6 +79060,25 @@ } ] }, + { + "name": "set_use_hdr", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "enabled", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_width", "return_type": "void", @@ -78143,6 +79787,25 @@ } ] }, + { + "name": "_graph_node_selected", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "arg0", + "type": "Node", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "_graph_node_slot_updated", "return_type": "void", @@ -78168,6 +79831,25 @@ } ] }, + { + "name": "_graph_node_unselected", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "arg0", + "type": "Node", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "_gui_input", "return_type": "void", @@ -79207,6 +80889,11 @@ } ] }, + { + "name": "selected", + "arguments": [ + ] + }, { "name": "slot_updated", "arguments": [ @@ -79217,6 +80904,11 @@ "default_value": "" } ] + }, + { + "name": "unselected", + "arguments": [ + ] } ], "methods": [ @@ -83260,8 +84952,10 @@ "ALPHA_BIT": 1, "ALPHA_BLEND": 2, "ALPHA_NONE": 0, + "COMPRESS_BPTC": 5, "COMPRESS_ETC": 3, "COMPRESS_ETC2": 4, + "COMPRESS_MAX": 6, "COMPRESS_PVRTC2": 1, "COMPRESS_PVRTC4": 2, "COMPRESS_S3TC": 0, @@ -84464,7 +86158,9 @@ "COMPRESS_PVRTC2": 1, "COMPRESS_PVRTC4": 2, "COMPRESS_ETC": 3, - "COMPRESS_ETC2": 4 + "COMPRESS_ETC2": 4, + "COMPRESS_BPTC": 5, + "COMPRESS_MAX": 6 } }, { @@ -85020,6 +86716,7 @@ "CURSOR_WAIT": 4, "MOUSE_MODE_CAPTURED": 2, "MOUSE_MODE_CONFINED": 3, + "MOUSE_MODE_CONFINED_HIDDEN": 4, "MOUSE_MODE_HIDDEN": 1, "MOUSE_MODE_VISIBLE": 0 }, @@ -85463,7 +87160,7 @@ "return_type": "Vector2", "is_editor": false, "is_noscript": false, - "is_const": true, + "is_const": false, "is_reverse": false, "is_virtual": false, "has_varargs": false, @@ -86083,7 +87780,8 @@ "MOUSE_MODE_VISIBLE": 0, "MOUSE_MODE_HIDDEN": 1, "MOUSE_MODE_CAPTURED": 2, - "MOUSE_MODE_CONFINED": 3 + "MOUSE_MODE_CONFINED": 3, + "MOUSE_MODE_CONFINED_HIDDEN": 4 } }, { @@ -86315,6 +88013,19 @@ "arguments": [ ] }, + { + "name": "is_canceled", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "is_echo", "return_type": "bool", @@ -86341,6 +88052,19 @@ "arguments": [ ] }, + { + "name": "is_released", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "set_device", "return_type": "void", @@ -87572,6 +89296,13 @@ "setter": "set_button_index", "index": -1 }, + { + "name": "canceled", + "type": "bool", + "getter": "is_canceled", + "setter": "set_canceled", + "index": -1 + }, { "name": "doubleclick", "type": "bool", @@ -87655,6 +89386,25 @@ } ] }, + { + "name": "set_canceled", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "canceled", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_doubleclick", "return_type": "void", @@ -88174,6 +89924,20 @@ "constants": { }, "properties": [ + { + "name": "canceled", + "type": "bool", + "getter": "is_canceled", + "setter": "set_canceled", + "index": -1 + }, + { + "name": "double_tap", + "type": "bool", + "getter": "is_double_tap", + "setter": "set_double_tap", + "index": -1 + }, { "name": "index", "type": "int", @@ -88225,6 +89989,57 @@ "arguments": [ ] }, + { + "name": "is_double_tap", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "set_canceled", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "canceled", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_double_tap", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "double_tap", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_index", "return_type": "void", @@ -91134,6 +92949,19 @@ } ] }, + { + "name": "force_fs_sync", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_interface", "return_type": "JavaScriptObject", @@ -96872,6 +98700,14 @@ "ALIGN_FILL": 3, "ALIGN_LEFT": 0, "ALIGN_RIGHT": 2, + "KEYBOARD_TYPE_DEFAULT": 0, + "KEYBOARD_TYPE_EMAIL_ADDRESS": 5, + "KEYBOARD_TYPE_MULTILINE": 1, + "KEYBOARD_TYPE_NUMBER": 2, + "KEYBOARD_TYPE_NUMBER_DECIMAL": 3, + "KEYBOARD_TYPE_PASSWORD": 6, + "KEYBOARD_TYPE_PHONE": 4, + "KEYBOARD_TYPE_URL": 7, "MENU_CLEAR": 3, "MENU_COPY": 1, "MENU_CUT": 0, @@ -97021,6 +98857,13 @@ "getter": "is_virtual_keyboard_enabled", "setter": "set_virtual_keyboard_enabled", "index": -1 + }, + { + "name": "virtual_keyboard_type", + "type": "int", + "getter": "get_virtual_keyboard_type", + "setter": "set_virtual_keyboard_type", + "index": -1 } ], "signals": [ @@ -97433,6 +99276,19 @@ "arguments": [ ] }, + { + "name": "get_virtual_keyboard_type", + "return_type": "enum.LineEdit::VirtualKeyboardType", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "has_selection", "return_type": "bool", @@ -97961,6 +99817,25 @@ "default_value": "" } ] + }, + { + "name": "set_virtual_keyboard_type", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "type", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] } ], "enums": [ @@ -97985,6 +99860,19 @@ "MENU_REDO": 6, "MENU_MAX": 7 } + }, + { + "name": "VirtualKeyboardType", + "values": { + "KEYBOARD_TYPE_DEFAULT": 0, + "KEYBOARD_TYPE_MULTILINE": 1, + "KEYBOARD_TYPE_NUMBER": 2, + "KEYBOARD_TYPE_NUMBER_DECIMAL": 3, + "KEYBOARD_TYPE_PHONE": 4, + "KEYBOARD_TYPE_EMAIL_ADDRESS": 5, + "KEYBOARD_TYPE_PASSWORD": 6, + "KEYBOARD_TYPE_URL": 7 + } } ] }, @@ -98112,6 +100000,13 @@ "getter": "get_underline_mode", "setter": "set_underline_mode", "index": -1 + }, + { + "name": "uri", + "type": "String", + "getter": "get_uri", + "setter": "set_uri", + "index": -1 } ], "signals": [ @@ -98143,6 +100038,19 @@ "arguments": [ ] }, + { + "name": "get_uri", + "return_type": "String", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "set_text", "return_type": "void", @@ -98180,6 +100088,25 @@ "default_value": "" } ] + }, + { + "name": "set_uri", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "uri", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] } ], "enums": [ @@ -103860,8 +105787,8 @@ "default_value": "" }, { - "name": "receiver", - "type": "Object", + "name": "object_id", + "type": "int", "has_default_value": false, "default_value": "" }, @@ -104900,6 +106827,13 @@ "setter": "set_target_desired_distance", "index": -1 }, + { + "name": "target_location", + "type": "Vector3", + "getter": "get_target_location", + "setter": "set_target_location", + "index": -1 + }, { "name": "time_horizon", "type": "float", @@ -105650,6 +107584,13 @@ "setter": "set_target_desired_distance", "index": -1 }, + { + "name": "target_location", + "type": "Vector2", + "getter": "get_target_location", + "setter": "set_target_location", + "index": -1 + }, { "name": "time_horizon", "type": "float", @@ -108757,8 +110698,8 @@ "default_value": "" }, { - "name": "receiver", - "type": "Object", + "name": "object_id", + "type": "int", "has_default_value": false, "default_value": "" }, @@ -111596,7 +113537,7 @@ "default_value": "" }, { - "name": "legible_unique_name", + "name": "force_readable_name", "type": "bool", "has_default_value": true, "default_value": "False" @@ -111627,7 +113568,7 @@ "default_value": "" }, { - "name": "legible_unique_name", + "name": "force_readable_name", "type": "bool", "has_default_value": true, "default_value": "False" @@ -112192,6 +114133,25 @@ "arguments": [ ] }, + { + "name": "is_editable_instance", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "node", + "type": "Node", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "is_greater_than", "return_type": "bool", @@ -112916,6 +114876,31 @@ } ] }, + { + "name": "set_editable_instance", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "node", + "type": "Node", + "has_default_value": false, + "default_value": "" + }, + { + "name": "is_editable", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_filename", "return_type": "void", @@ -114666,7 +116651,7 @@ "is_from_script": false, "arguments": [ { - "name": "property", + "name": "property_path", "type": "NodePath", "has_default_value": false, "default_value": "" @@ -115085,7 +117070,7 @@ "is_from_script": false, "arguments": [ { - "name": "property", + "name": "property_path", "type": "NodePath", "has_default_value": false, "default_value": "" @@ -134099,6 +136084,13 @@ "setter": "_set_items", "index": -1 }, + { + "name": "max_height", + "type": "float", + "getter": "get_max_height", + "setter": "set_max_height", + "index": -1 + }, { "name": "submenu_popup_delay", "type": "float", @@ -134143,6 +136135,32 @@ } ], "methods": [ + { + "name": "_draw_background", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "_draw_items", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "_get_items", "return_type": "Array", @@ -134937,6 +136955,19 @@ } ] }, + { + "name": "get_max_height", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_submenu_popup_delay", "return_type": "float", @@ -135630,6 +137661,25 @@ } ] }, + { + "name": "set_max_height", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "max_height", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_submenu_popup_delay", "return_type": "void", @@ -138658,133 +140708,7 @@ ] }, { - "name": "share", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "with", - "type": "Node", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "unshare", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - } - ], - "enums": [ - ] - }, - { - "name": "RayCast", - "base_class": "Spatial", - "api_type": "core", - "singleton": false, - "singleton_name": "", - "instanciable": true, - "is_reference": false, - "constants": { - }, - "properties": [ - { - "name": "cast_to", - "type": "Vector3", - "getter": "get_cast_to", - "setter": "set_cast_to", - "index": -1 - }, - { - "name": "collide_with_areas", - "type": "bool", - "getter": "is_collide_with_areas_enabled", - "setter": "set_collide_with_areas", - "index": -1 - }, - { - "name": "collide_with_bodies", - "type": "bool", - "getter": "is_collide_with_bodies_enabled", - "setter": "set_collide_with_bodies", - "index": -1 - }, - { - "name": "collision_mask", - "type": "int", - "getter": "get_collision_mask", - "setter": "set_collision_mask", - "index": -1 - }, - { - "name": "debug_shape_custom_color", - "type": "Color", - "getter": "get_debug_shape_custom_color", - "setter": "set_debug_shape_custom_color", - "index": -1 - }, - { - "name": "debug_shape_thickness", - "type": "int", - "getter": "get_debug_shape_thickness", - "setter": "set_debug_shape_thickness", - "index": -1 - }, - { - "name": "enabled", - "type": "bool", - "getter": "is_enabled", - "setter": "set_enabled", - "index": -1 - }, - { - "name": "exclude_parent", - "type": "bool", - "getter": "get_exclude_parent_body", - "setter": "set_exclude_parent_body", - "index": -1 - } - ], - "signals": [ - ], - "methods": [ - { - "name": "add_exception", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "node", - "type": "Object", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "add_exception_rid", + "name": "set_value_no_signal", "return_type": "void", "is_editor": false, "is_noscript": false, @@ -138794,407 +140718,16 @@ "has_varargs": false, "is_from_script": false, "arguments": [ - { - "name": "rid", - "type": "RID", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "clear_exceptions", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "force_raycast_update", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_cast_to", - "return_type": "Vector3", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_collider", - "return_type": "Object", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_collider_shape", - "return_type": "int", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_collision_mask", - "return_type": "int", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_collision_mask_bit", - "return_type": "bool", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "bit", - "type": "int", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "get_collision_normal", - "return_type": "Vector3", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_collision_point", - "return_type": "Vector3", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_debug_shape_custom_color", - "return_type": "Color", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_debug_shape_thickness", - "return_type": "int", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "get_exclude_parent_body", - "return_type": "bool", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "is_collide_with_areas_enabled", - "return_type": "bool", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "is_collide_with_bodies_enabled", - "return_type": "bool", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "is_colliding", - "return_type": "bool", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "is_enabled", - "return_type": "bool", - "is_editor": false, - "is_noscript": false, - "is_const": true, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - ] - }, - { - "name": "remove_exception", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "node", - "type": "Object", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "remove_exception_rid", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "rid", - "type": "RID", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "set_cast_to", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "local_point", - "type": "Vector3", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "set_collide_with_areas", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "enable", - "type": "bool", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "set_collide_with_bodies", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "enable", - "type": "bool", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "set_collision_mask", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "mask", - "type": "int", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "set_collision_mask_bit", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "bit", - "type": "int", - "has_default_value": false, - "default_value": "" - }, { "name": "value", - "type": "bool", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "set_debug_shape_custom_color", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "debug_shape_custom_color", - "type": "Color", - "has_default_value": false, - "default_value": "" - } - ] - }, - { - "name": "set_debug_shape_thickness", - "return_type": "void", - "is_editor": false, - "is_noscript": false, - "is_const": false, - "is_reverse": false, - "is_virtual": false, - "has_varargs": false, - "is_from_script": false, - "arguments": [ - { - "name": "debug_shape_thickness", - "type": "int", + "type": "float", "has_default_value": false, "default_value": "" } ] }, { - "name": "set_enabled", + "name": "share", "return_type": "void", "is_editor": false, "is_noscript": false, @@ -139205,15 +140738,15 @@ "is_from_script": false, "arguments": [ { - "name": "enabled", - "type": "bool", + "name": "with", + "type": "Node", "has_default_value": false, "default_value": "" } ] }, { - "name": "set_exclude_parent_body", + "name": "unshare", "return_type": "void", "is_editor": false, "is_noscript": false, @@ -139223,12 +140756,6 @@ "has_varargs": false, "is_from_script": false, "arguments": [ - { - "name": "mask", - "type": "bool", - "has_default_value": false, - "default_value": "" - } ] } ], @@ -139236,8 +140763,8 @@ ] }, { - "name": "RayCast2D", - "base_class": "Node2D", + "name": "RayCast", + "base_class": "Spatial", "api_type": "core", "singleton": false, "singleton_name": "", @@ -139248,7 +140775,549 @@ "properties": [ { "name": "cast_to", - "type": "Vector2", + "type": "Vector3", + "getter": "get_cast_to", + "setter": "set_cast_to", + "index": -1 + }, + { + "name": "collide_with_areas", + "type": "bool", + "getter": "is_collide_with_areas_enabled", + "setter": "set_collide_with_areas", + "index": -1 + }, + { + "name": "collide_with_bodies", + "type": "bool", + "getter": "is_collide_with_bodies_enabled", + "setter": "set_collide_with_bodies", + "index": -1 + }, + { + "name": "collision_mask", + "type": "int", + "getter": "get_collision_mask", + "setter": "set_collision_mask", + "index": -1 + }, + { + "name": "debug_shape_custom_color", + "type": "Color", + "getter": "get_debug_shape_custom_color", + "setter": "set_debug_shape_custom_color", + "index": -1 + }, + { + "name": "debug_shape_thickness", + "type": "int", + "getter": "get_debug_shape_thickness", + "setter": "set_debug_shape_thickness", + "index": -1 + }, + { + "name": "enabled", + "type": "bool", + "getter": "is_enabled", + "setter": "set_enabled", + "index": -1 + }, + { + "name": "exclude_parent", + "type": "bool", + "getter": "get_exclude_parent_body", + "setter": "set_exclude_parent_body", + "index": -1 + } + ], + "signals": [ + ], + "methods": [ + { + "name": "add_exception", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "node", + "type": "Object", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "add_exception_rid", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "rid", + "type": "RID", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "clear_exceptions", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "force_raycast_update", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_cast_to", + "return_type": "Vector3", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_collider", + "return_type": "Object", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_collider_shape", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_collision_mask", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_collision_mask_bit", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "bit", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "get_collision_normal", + "return_type": "Vector3", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_collision_point", + "return_type": "Vector3", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_debug_shape_custom_color", + "return_type": "Color", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_debug_shape_thickness", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_exclude_parent_body", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "is_collide_with_areas_enabled", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "is_collide_with_bodies_enabled", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "is_colliding", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "is_enabled", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "remove_exception", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "node", + "type": "Object", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "remove_exception_rid", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "rid", + "type": "RID", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_cast_to", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "local_point", + "type": "Vector3", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_collide_with_areas", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "enable", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_collide_with_bodies", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "enable", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_collision_mask", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "mask", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_collision_mask_bit", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "bit", + "type": "int", + "has_default_value": false, + "default_value": "" + }, + { + "name": "value", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_debug_shape_custom_color", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "debug_shape_custom_color", + "type": "Color", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_debug_shape_thickness", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "debug_shape_thickness", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_enabled", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "enabled", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_exclude_parent_body", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "mask", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + } + ], + "enums": [ + ] + }, + { + "name": "RayCast2D", + "base_class": "Node2D", + "api_type": "core", + "singleton": false, + "singleton_name": "", + "instanciable": true, + "is_reference": false, + "constants": { + }, + "properties": [ + { + "name": "cast_to", + "type": "Vector2", "getter": "get_cast_to", "setter": "set_cast_to", "index": -1 @@ -141809,6 +143878,12 @@ "type": "String", "has_default_value": false, "default_value": "" + }, + { + "name": "no_subresource_cache", + "type": "bool", + "has_default_value": false, + "default_value": "" } ] }, @@ -141968,10 +144043,30 @@ "constants": { }, "properties": [ + { + "name": "no_subresource_cache", + "type": "bool", + "getter": "get_no_subresource_cache", + "setter": "set_no_subresource_cache", + "index": -1 + } ], "signals": [ ], "methods": [ + { + "name": "get_no_subresource_cache", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_resource", "return_type": "Resource", @@ -142024,6 +144119,25 @@ "arguments": [ ] }, + { + "name": "set_no_subresource_cache", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "no_subresource_cache", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "wait", "return_type": "enum.Error", @@ -142314,7 +144428,7 @@ }, { "name": "custom_effects", - "type": "17/17:RichTextEffect", + "type": "Array", "getter": "get_effects", "setter": "set_effects", "index": -1 @@ -152121,6 +154235,1443 @@ "enums": [ ] }, + { + "name": "ShapeCast", + "base_class": "Spatial", + "api_type": "core", + "singleton": false, + "singleton_name": "", + "instanciable": true, + "is_reference": false, + "constants": { + }, + "properties": [ + { + "name": "collide_with_areas", + "type": "bool", + "getter": "is_collide_with_areas_enabled", + "setter": "set_collide_with_areas", + "index": -1 + }, + { + "name": "collide_with_bodies", + "type": "bool", + "getter": "is_collide_with_bodies_enabled", + "setter": "set_collide_with_bodies", + "index": -1 + }, + { + "name": "collision_mask", + "type": "int", + "getter": "get_collision_mask", + "setter": "set_collision_mask", + "index": -1 + }, + { + "name": "collision_result", + "type": "Array", + "getter": "_get_collision_result", + "setter": "", + "index": -1 + }, + { + "name": "debug_shape_custom_color", + "type": "Color", + "getter": "get_debug_shape_custom_color", + "setter": "set_debug_shape_custom_color", + "index": -1 + }, + { + "name": "enabled", + "type": "bool", + "getter": "is_enabled", + "setter": "set_enabled", + "index": -1 + }, + { + "name": "exclude_parent", + "type": "bool", + "getter": "get_exclude_parent_body", + "setter": "set_exclude_parent_body", + "index": -1 + }, + { + "name": "margin", + "type": "float", + "getter": "get_margin", + "setter": "set_margin", + "index": -1 + }, + { + "name": "max_results", + "type": "int", + "getter": "get_max_results", + "setter": "set_max_results", + "index": -1 + }, + { + "name": "shape", + "type": "Shape", + "getter": "get_shape", + "setter": "set_shape", + "index": -1 + }, + { + "name": "target_position", + "type": "Vector3", + "getter": "get_target_position", + "setter": "set_target_position", + "index": -1 + } + ], + "signals": [ + ], + "methods": [ + { + "name": "_get_collision_result", + "return_type": "Array", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "add_exception", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "node", + "type": "Object", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "add_exception_rid", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "rid", + "type": "RID", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "clear_exceptions", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "force_shapecast_update", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_closest_collision_safe_fraction", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_closest_collision_unsafe_fraction", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_collider", + "return_type": "Object", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "index", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "get_collider_rid", + "return_type": "RID", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "index", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "get_collider_shape", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "index", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "get_collision_count", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_collision_mask", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_collision_mask_value", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "layer_number", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "get_collision_normal", + "return_type": "Vector3", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "index", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "get_collision_point", + "return_type": "Vector3", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "index", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "get_debug_shape_custom_color", + "return_type": "Color", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_exclude_parent_body", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_margin", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_max_results", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_shape", + "return_type": "Shape", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_target_position", + "return_type": "Vector3", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "is_collide_with_areas_enabled", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "is_collide_with_bodies_enabled", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "is_colliding", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "is_enabled", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "remove_exception", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "node", + "type": "Object", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "remove_exception_rid", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "rid", + "type": "RID", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "resource_changed", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "resource", + "type": "Resource", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_collide_with_areas", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "enable", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_collide_with_bodies", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "enable", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_collision_mask", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "mask", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_collision_mask_value", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "layer_number", + "type": "int", + "has_default_value": false, + "default_value": "" + }, + { + "name": "value", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_debug_shape_custom_color", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "debug_shape_custom_color", + "type": "Color", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_enabled", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "enabled", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_exclude_parent_body", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "mask", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_margin", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "margin", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_max_results", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "max_results", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_shape", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "shape", + "type": "Shape", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_target_position", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "local_point", + "type": "Vector3", + "has_default_value": false, + "default_value": "" + } + ] + } + ], + "enums": [ + ] + }, + { + "name": "ShapeCast2D", + "base_class": "Node2D", + "api_type": "core", + "singleton": false, + "singleton_name": "", + "instanciable": true, + "is_reference": false, + "constants": { + }, + "properties": [ + { + "name": "collide_with_areas", + "type": "bool", + "getter": "is_collide_with_areas_enabled", + "setter": "set_collide_with_areas", + "index": -1 + }, + { + "name": "collide_with_bodies", + "type": "bool", + "getter": "is_collide_with_bodies_enabled", + "setter": "set_collide_with_bodies", + "index": -1 + }, + { + "name": "collision_mask", + "type": "int", + "getter": "get_collision_mask", + "setter": "set_collision_mask", + "index": -1 + }, + { + "name": "collision_result", + "type": "Array", + "getter": "_get_collision_result", + "setter": "", + "index": -1 + }, + { + "name": "enabled", + "type": "bool", + "getter": "is_enabled", + "setter": "set_enabled", + "index": -1 + }, + { + "name": "exclude_parent", + "type": "bool", + "getter": "get_exclude_parent_body", + "setter": "set_exclude_parent_body", + "index": -1 + }, + { + "name": "margin", + "type": "float", + "getter": "get_margin", + "setter": "set_margin", + "index": -1 + }, + { + "name": "max_results", + "type": "int", + "getter": "get_max_results", + "setter": "set_max_results", + "index": -1 + }, + { + "name": "shape", + "type": "Shape2D", + "getter": "get_shape", + "setter": "set_shape", + "index": -1 + }, + { + "name": "target_position", + "type": "Vector2", + "getter": "get_target_position", + "setter": "set_target_position", + "index": -1 + } + ], + "signals": [ + ], + "methods": [ + { + "name": "_get_collision_result", + "return_type": "Array", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "_redraw_shape", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "add_exception", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "node", + "type": "Object", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "add_exception_rid", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "rid", + "type": "RID", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "clear_exceptions", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "force_shapecast_update", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_closest_collision_safe_fraction", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_closest_collision_unsafe_fraction", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_collider", + "return_type": "Object", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "index", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "get_collider_rid", + "return_type": "RID", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "index", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "get_collider_shape", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "index", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "get_collision_count", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_collision_mask", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_collision_mask_value", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "layer_number", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "get_collision_normal", + "return_type": "Vector2", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "index", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "get_collision_point", + "return_type": "Vector2", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "index", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "get_exclude_parent_body", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_margin", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_max_results", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_shape", + "return_type": "Shape2D", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_target_position", + "return_type": "Vector2", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "is_collide_with_areas_enabled", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "is_collide_with_bodies_enabled", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "is_colliding", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "is_enabled", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "remove_exception", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "node", + "type": "Object", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "remove_exception_rid", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "rid", + "type": "RID", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_collide_with_areas", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "enable", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_collide_with_bodies", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "enable", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_collision_mask", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "mask", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_collision_mask_value", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "layer_number", + "type": "int", + "has_default_value": false, + "default_value": "" + }, + { + "name": "value", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_enabled", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "enabled", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_exclude_parent_body", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "mask", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_margin", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "margin", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_max_results", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "max_results", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_shape", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "shape", + "type": "Shape2D", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_target_position", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "local_point", + "type": "Vector2", + "has_default_value": false, + "default_value": "" + } + ] + } + ], + "enums": [ + ] + }, { "name": "ShortCut", "base_class": "Resource", @@ -159446,6 +162997,13 @@ "setter": "set_align", "index": -1 }, + { + "name": "custom_arrow_step", + "type": "float", + "getter": "get_custom_arrow_step", + "setter": "set_custom_arrow_step", + "index": -1 + }, { "name": "editable", "type": "bool", @@ -159490,6 +163048,19 @@ } ] }, + { + "name": "_line_edit_focus_enter", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": true, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "_line_edit_focus_exit", "return_type": "void", @@ -159580,6 +163151,19 @@ "arguments": [ ] }, + { + "name": "get_custom_arrow_step", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_line_edit", "return_type": "LineEdit", @@ -159651,6 +163235,25 @@ } ] }, + { + "name": "set_custom_arrow_step", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "arrow_step", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "set_editable", "return_type": "void", @@ -159663,7 +163266,7 @@ "is_from_script": false, "arguments": [ { - "name": "editable", + "name": "enabled", "type": "bool", "has_default_value": false, "default_value": "" @@ -177746,6 +181349,181 @@ "enums": [ ] }, + { + "name": "TorusMesh", + "base_class": "PrimitiveMesh", + "api_type": "core", + "singleton": false, + "singleton_name": "", + "instanciable": true, + "is_reference": true, + "constants": { + }, + "properties": [ + { + "name": "inner_radius", + "type": "float", + "getter": "get_inner_radius", + "setter": "set_inner_radius", + "index": -1 + }, + { + "name": "outer_radius", + "type": "float", + "getter": "get_outer_radius", + "setter": "set_outer_radius", + "index": -1 + }, + { + "name": "ring_segments", + "type": "int", + "getter": "get_ring_segments", + "setter": "set_ring_segments", + "index": -1 + }, + { + "name": "rings", + "type": "int", + "getter": "get_rings", + "setter": "set_rings", + "index": -1 + } + ], + "signals": [ + ], + "methods": [ + { + "name": "get_inner_radius", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_outer_radius", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_ring_segments", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_rings", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "set_inner_radius", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "radius", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_outer_radius", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "radius", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_ring_segments", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "rings", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_rings", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "rings", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + } + ], + "enums": [ + ] + }, { "name": "TouchScreenButton", "base_class": "Node2D", @@ -178419,6 +182197,108 @@ "arguments": [ ] }, + { + "name": "compare_locales", + "return_type": "int", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "locale_a", + "type": "String", + "has_default_value": false, + "default_value": "" + }, + { + "name": "locale_b", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "get_all_countries", + "return_type": "PoolStringArray", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_all_languages", + "return_type": "PoolStringArray", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_all_scripts", + "return_type": "PoolStringArray", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "get_country_name", + "return_type": "String", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "country", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "get_language_name", + "return_type": "String", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "language", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "get_loaded_locales", "return_type": "Array", @@ -178464,6 +182344,25 @@ } ] }, + { + "name": "get_script_name", + "return_type": "String", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "script", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "remove_translation", "return_type": "void", @@ -178502,6 +182401,25 @@ } ] }, + { + "name": "standardize_locale", + "return_type": "String", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "locale", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "translate", "return_type": "String", @@ -179550,6 +183468,31 @@ "default_value": "" } ] + }, + { + "name": "set_selected", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "item", + "type": "Object", + "has_default_value": false, + "default_value": "" + }, + { + "name": "column", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] } ], "enums": [ @@ -187273,9 +191216,10 @@ "is_reference": false, "constants": { "ENABLER_FREEZE_BODIES": 1, - "ENABLER_MAX": 6, + "ENABLER_MAX": 7, "ENABLER_PARENT_PHYSICS_PROCESS": 4, "ENABLER_PARENT_PROCESS": 3, + "ENABLER_PARENT_VISIBILITY": 6, "ENABLER_PAUSE_ANIMATED_SPRITES": 5, "ENABLER_PAUSE_ANIMATIONS": 0, "ENABLER_PAUSE_PARTICLES": 2 @@ -187322,6 +191266,13 @@ "getter": "is_enabler_enabled", "setter": "set_enabler", "index": 3 + }, + { + "name": "visibility_parent", + "type": "bool", + "getter": "is_enabler_enabled", + "setter": "set_enabler", + "index": 6 } ], "signals": [ @@ -187401,7 +191352,8 @@ "ENABLER_PARENT_PROCESS": 3, "ENABLER_PARENT_PHYSICS_PROCESS": 4, "ENABLER_PAUSE_ANIMATED_SPRITES": 5, - "ENABLER_MAX": 6 + "ENABLER_PARENT_VISIBILITY": 6, + "ENABLER_MAX": 7 } } ] @@ -187668,6 +191620,20 @@ "getter": "get_layer_mask", "setter": "set_layer_mask", "index": -1 + }, + { + "name": "sorting_offset", + "type": "float", + "getter": "get_sorting_offset", + "setter": "set_sorting_offset", + "index": -1 + }, + { + "name": "sorting_use_aabb_center", + "type": "bool", + "getter": "is_sorting_use_aabb_center", + "setter": "set_sorting_use_aabb_center", + "index": -1 } ], "signals": [ @@ -187757,6 +191723,19 @@ } ] }, + { + "name": "get_sorting_offset", + "return_type": "float", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_transformed_aabb", "return_type": "AABB", @@ -187770,6 +191749,19 @@ "arguments": [ ] }, + { + "name": "is_sorting_use_aabb_center", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "set_base", "return_type": "void", @@ -187832,6 +191824,44 @@ "default_value": "" } ] + }, + { + "name": "set_sorting_offset", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "offset", + "type": "float", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "set_sorting_use_aabb_center", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "enabled", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] } ], "enums": [ @@ -193858,6 +197888,8 @@ "MULTIMESH_CUSTOM_DATA_8BIT": 1, "MULTIMESH_CUSTOM_DATA_FLOAT": 2, "MULTIMESH_CUSTOM_DATA_NONE": 0, + "MULTIMESH_INTERP_QUALITY_FAST": 0, + "MULTIMESH_INTERP_QUALITY_HIGH": 1, "MULTIMESH_TRANSFORM_2D": 0, "MULTIMESH_TRANSFORM_3D": 1, "NINE_PATCH_STRETCH": 0, @@ -194042,6 +198074,25 @@ "arguments": [ ] }, + { + "name": "camera_reset_physics_interpolation", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "camera", + "type": "RID", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "camera_set_cull_mask", "return_type": "void", @@ -194135,6 +198186,31 @@ } ] }, + { + "name": "camera_set_interpolated", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "camera", + "type": "RID", + "has_default_value": false, + "default_value": "" + }, + { + "name": "interpolated", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "camera_set_orthogonal", "return_type": "void", @@ -196277,6 +200353,25 @@ } ] }, + { + "name": "debug_canvas_item_get_rect", + "return_type": "Rect2", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "item", + "type": "RID", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "directional_light_create", "return_type": "RID", @@ -198410,6 +202505,25 @@ } ] }, + { + "name": "instance_reset_physics_interpolation", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "instance", + "type": "RID", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "instance_set_base", "return_type": "void", @@ -198541,6 +202655,31 @@ } ] }, + { + "name": "instance_set_interpolated", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "instance", + "type": "RID", + "has_default_value": false, + "default_value": "" + }, + { + "name": "interpolated", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "instance_set_layer_mask", "return_type": "void", @@ -200611,6 +204750,31 @@ } ] }, + { + "name": "multimesh_instance_reset_physics_interpolation", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "multimesh", + "type": "RID", + "has_default_value": false, + "default_value": "" + }, + { + "name": "index", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "multimesh_instance_set_color", "return_type": "void", @@ -200760,6 +204924,37 @@ } ] }, + { + "name": "multimesh_set_as_bulk_array_interpolated", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "multimesh", + "type": "RID", + "has_default_value": false, + "default_value": "" + }, + { + "name": "array", + "type": "PoolRealArray", + "has_default_value": false, + "default_value": "" + }, + { + "name": "array_previous", + "type": "PoolRealArray", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "multimesh_set_mesh", "return_type": "void", @@ -200785,6 +204980,56 @@ } ] }, + { + "name": "multimesh_set_physics_interpolated", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "multimesh", + "type": "RID", + "has_default_value": false, + "default_value": "" + }, + { + "name": "interpolated", + "type": "bool", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "multimesh_set_physics_interpolation_quality", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "multimesh", + "type": "RID", + "has_default_value": false, + "default_value": "" + }, + { + "name": "quality", + "type": "int", + "has_default_value": false, + "default_value": "" + } + ] + }, { "name": "multimesh_set_visible_instances", "return_type": "void", @@ -203871,6 +208116,13 @@ "ENV_DOF_BLUR_QUALITY_HIGH": 2 } }, + { + "name": "MultimeshPhysicsInterpolationQuality", + "values": { + "MULTIMESH_INTERP_QUALITY_FAST": 0, + "MULTIMESH_INTERP_QUALITY_HIGH": 1 + } + }, { "name": "RenderInfo", "values": { @@ -215752,6 +220004,14 @@ "DAY_TUESDAY": 2, "DAY_WEDNESDAY": 3, "DISPLAY_HANDLE": 1, + "KEYBOARD_TYPE_DEFAULT": 0, + "KEYBOARD_TYPE_EMAIL_ADDRESS": 5, + "KEYBOARD_TYPE_MULTILINE": 1, + "KEYBOARD_TYPE_NUMBER": 2, + "KEYBOARD_TYPE_NUMBER_DECIMAL": 3, + "KEYBOARD_TYPE_PASSWORD": 6, + "KEYBOARD_TYPE_PHONE": 4, + "KEYBOARD_TYPE_URL": 7, "MONTH_APRIL": 4, "MONTH_AUGUST": 8, "MONTH_DECEMBER": 12, @@ -215785,6 +220045,10 @@ "SYSTEM_DIR_MUSIC": 5, "SYSTEM_DIR_PICTURES": 6, "SYSTEM_DIR_RINGTONES": 7, + "TTS_UTTERANCE_BOUNDARY": 3, + "TTS_UTTERANCE_CANCELED": 2, + "TTS_UTTERANCE_ENDED": 1, + "TTS_UTTERANCE_STARTED": 0, "VIDEO_DRIVER_GLES2": 1, "VIDEO_DRIVER_GLES3": 0, "WINDOW_HANDLE": 2, @@ -216738,6 +221002,19 @@ "arguments": [ ] }, + { + "name": "get_restart_on_exit_arguments", + "return_type": "PoolStringArray", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "get_scancode_string", "return_type": "String", @@ -217513,6 +221790,19 @@ } ] }, + { + "name": "is_restart_on_exit_set", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "is_scancode_unicode", "return_type": "bool", @@ -217987,6 +222277,19 @@ } ] }, + { + "name": "read_string_from_stdin", + "return_type": "String", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, { "name": "request_attention", "return_type": "void", @@ -218342,6 +222645,31 @@ } ] }, + { + "name": "set_restart_on_exit", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "restart", + "type": "bool", + "has_default_value": false, + "default_value": "" + }, + { + "name": "arguments", + "type": "PoolStringArray", + "has_default_value": true, + "default_value": "[]" + } + ] + }, { "name": "set_screen_orientation", "return_type": "void", @@ -218670,6 +222998,214 @@ "default_value": "False" } ] + }, + { + "name": "show_virtual_keyboard_type", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "existing_text", + "type": "String", + "has_default_value": true, + "default_value": "" + }, + { + "name": "type", + "type": "int", + "has_default_value": true, + "default_value": "0" + } + ] + }, + { + "name": "tts_get_voices", + "return_type": "Array", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "tts_get_voices_for_language", + "return_type": "PoolStringArray", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "language", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "tts_is_paused", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "tts_is_speaking", + "return_type": "bool", + "is_editor": false, + "is_noscript": false, + "is_const": true, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "tts_pause", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "tts_resume", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] + }, + { + "name": "tts_set_utterance_callback", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "event", + "type": "int", + "has_default_value": false, + "default_value": "" + }, + { + "name": "object", + "type": "Object", + "has_default_value": false, + "default_value": "" + }, + { + "name": "callback", + "type": "String", + "has_default_value": false, + "default_value": "" + } + ] + }, + { + "name": "tts_speak", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + { + "name": "text", + "type": "String", + "has_default_value": false, + "default_value": "" + }, + { + "name": "voice", + "type": "String", + "has_default_value": false, + "default_value": "" + }, + { + "name": "volume", + "type": "int", + "has_default_value": true, + "default_value": "50" + }, + { + "name": "pitch", + "type": "float", + "has_default_value": true, + "default_value": "1" + }, + { + "name": "rate", + "type": "float", + "has_default_value": true, + "default_value": "1" + }, + { + "name": "utterance_id", + "type": "int", + "has_default_value": true, + "default_value": "0" + }, + { + "name": "interrupt", + "type": "bool", + "has_default_value": true, + "default_value": "False" + } + ] + }, + { + "name": "tts_stop", + "return_type": "void", + "is_editor": false, + "is_noscript": false, + "is_const": false, + "is_reverse": false, + "is_virtual": false, + "has_varargs": false, + "is_from_script": false, + "arguments": [ + ] } ], "enums": [ @@ -218742,6 +223278,28 @@ "MONTH_DECEMBER": 12 } }, + { + "name": "TTSUtteranceEvent", + "values": { + "TTS_UTTERANCE_STARTED": 0, + "TTS_UTTERANCE_ENDED": 1, + "TTS_UTTERANCE_CANCELED": 2, + "TTS_UTTERANCE_BOUNDARY": 3 + } + }, + { + "name": "VirtualKeyboardType", + "values": { + "KEYBOARD_TYPE_DEFAULT": 0, + "KEYBOARD_TYPE_MULTILINE": 1, + "KEYBOARD_TYPE_NUMBER": 2, + "KEYBOARD_TYPE_NUMBER_DECIMAL": 3, + "KEYBOARD_TYPE_PHONE": 4, + "KEYBOARD_TYPE_EMAIL_ADDRESS": 5, + "KEYBOARD_TYPE_PASSWORD": 6, + "KEYBOARD_TYPE_URL": 7 + } + }, { "name": "Weekday", "values": { @@ -218925,6 +223483,12 @@ "type": "String", "has_default_value": true, "default_value": "" + }, + { + "name": "no_cache", + "type": "bool", + "has_default_value": true, + "default_value": "False" } ] }, diff --git a/gdnative-sys/build.rs b/gdnative-sys/build.rs index a4840f3fa..802263a84 100644 --- a/gdnative-sys/build.rs +++ b/gdnative-sys/build.rs @@ -449,6 +449,7 @@ mod api_wrapper { ("ANDROID", 1, 0) => format_ident!("godot_gdnative_ext_android_api_struct"), ("ANDROID", 1, 1) => format_ident!("godot_gdnative_ext_android_api_struct"), ("ARVR", 1, 1) => format_ident!("godot_gdnative_ext_arvr_api_struct"), + ("ARVR", 1, 2) => format_ident!("godot_gdnative_ext_arvr_1_2_api_struct"), ("VIDEODECODER", 0, 1) => format_ident!("godot_gdnative_ext_videodecoder_api_struct"), ("NET", 3, 1) => format_ident!("godot_gdnative_ext_net_api_struct"), ("NET", maj, min) => format_ident!("godot_gdnative_ext_net_{}_{}_api_struct", maj, min), diff --git a/gdnative-sys/godot_headers/LICENSE.md b/gdnative-sys/godot_headers/LICENSE.md index 84a1ce054..654253a64 100644 --- a/gdnative-sys/godot_headers/LICENSE.md +++ b/gdnative-sys/godot_headers/LICENSE.md @@ -1,6 +1,6 @@ # MIT License -Copyright (c) 2017-2020 GodotNativeTools +Copyright (c) 2017-2022 Godot Engine contributors. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/gdnative-sys/godot_headers/README.md b/gdnative-sys/godot_headers/README.md index 60555a9a2..bb55c9959 100644 --- a/gdnative-sys/godot_headers/README.md +++ b/gdnative-sys/godot_headers/README.md @@ -1,43 +1,58 @@ -# godot_headers -#### `GDNative / NativeScript` +# godot-headers -> `GDNative` enables the use of dynamically linked libraries inside of [**Godot**](https://github.com/godotengine/godot). +This repository contains C headers for +[**Godot Engine**](https://github.com/godotengine/godot)'s *GDNative* API, +which can be used to write *NativeScripts*. + +> `GDNative` enables the use of dynamically linked libraries inside of +> [**Godot**](https://github.com/godotengine/godot). > `NativeScript` uses GDNative to implement scripts backed by native code. -- [**Branches**](#branches) -- [**Getting Started**](#getting-started) -- [**FAQ**](#faq) +- [**Versioning**](#versioning) +- [**Getting Started**](#getting-started) +- [**FAQ**](#faq) +- [**Updating Headers**](#updating-headers) + +## Versioning -## Branches +This repositories follows the same branch versioning as the main [Godot Engine +repository](https://github.com/godotengine/godot): -We maintain branches on this repo that relate directly to the main builds of Godot. -Make sure you use the correct branch for the version of Godot you are using! +- `master` tracks the current development branch. As this is a moving target, + the headers in this repository may not always be fully in sync with upstream. + See [**Updating Headers**](#updating-headers) if you need to bring + them up to date. +- `3.x` tracks the development of the next 3.x minor release. Like `master`, it + might not always be fully up-to-date with upstream. +- Other versioned branches (e.g. `3.3`, `3.2`) track the latest stable release + in the corresponding branch. -| Branch | Version of Godot | -| --- | --- | -| [master](https://github.com/GodotNativeTools/godot_headers) | Godot master | -| [3.2](https://github.com/GodotNativeTools/godot_headers/tree/3.2) | Godot 3.2.x | -| [3.1](https://github.com/GodotNativeTools/godot_headers/tree/3.1) | Godot 3.1.x | -| [3.0](https://github.com/GodotNativeTools/godot_headers/tree/3.0) | Godot 3.0.x | +Stable releases are also tagged on this repository: +[**Tags**](https://github.com/godotengine/godot-headers/tags). + +**For any project built against a stable release of Godot, we recommend using +this repository as a Git submodule, checking out the specific tag matching your +Godot version.** ## Getting Started -| **Build latest version of Godot** | [**GitHub**](https://github.com/godotengine/godot) | [**Docs**](https://godot.readthedocs.io/en/latest/development/compiling/index.html) | +| **Build latest version of Godot** | [**GitHub**](https://github.com/godotengine/godot) | [**Docs**](https://docs.godotengine.org/en/latest/development/compiling/index.html) | | --- | --- | --- | -### Clone godot_headers into Library +### Clone `godot-headers` into Library -Clone `godot_headers` under `SimpleLibrary/` +Clone `godot-headers` under `SimpleLibrary/` ```bash cd SimpleLibrary -git clone https://github.com/GodotNativeTools/godot_headers +git clone https://github.com/godotengine/godot-headers ``` -> Note that the master branch of this repository contains the header for the latest Godot master. If you want to build GDNative modules for older versions of Godot add `-b ` to the git clone command above. i.e. `git clone https://github.com/GodotNativeTools/godot_headers -b 3.0` will retrieve headers compatible with Godot 3.0. - -> With the exception of a breaking change in the ARVR module between 3.0 and 3.1, GDNative plugins written for an older version of Godot will work in newer versions. +Note that the master branch of this repository contains the headers for the +latest Godot `master` branch. See [**Versioning**](#versioning) for details. +You can use `-b ` to the above Git clone command to retrieve a specific +branch or tag (e.g. `-b 3.x` or `-b godot-3.3.3-stable`). ```bash [SimpleLibrary] @@ -47,7 +62,7 @@ git clone https://github.com/GodotNativeTools/godot_headers ### Create Script -Create `test.c` under `SimpleLibrary/src/` +Create `test.c` under `SimpleLibrary/src/`.
@@ -58,22 +73,22 @@ Create `test.c` under `SimpleLibrary/src/` #include void *test_constructor(godot_object *obj, void *method_data) { - printf("test.constructor()\n"); - return 0; + printf("test.constructor()\n"); + return 0; } void test_destructor(godot_object *obj, void *method_data, void *user_data) { - printf("test.destructor()\n"); + printf("test.destructor()\n"); } /** func _ready() **/ godot_variant test_ready(godot_object *obj, void *method_data, void *user_data, int num_args, godot_variant **args) { - godot_variant ret; - godot_variant_new_nil(&ret); + godot_variant ret; + godot_variant_new_nil(&ret); - printf("_ready()\n"); + printf("_ready()\n"); - return ret; + return ret; } /** Library entry point **/ @@ -90,64 +105,64 @@ void GDN_EXPORT godot_nativescript_init(void *desc) { godot_instance_create_func create_func = { .create_func = &test_constructor, - .method_data = 0, - .free_func = 0 - }; - - godot_instance_destroy_func destroy_func = { - .destroy_func = &test_destructor, - .method_data = 0, - .free_func = 0 - }; - - godot_nativescript_register_class(desc, "SimpleClass", "Node", create_func, destroy_func); - - { - godot_instance_method method = { - .method = &test_ready, - .method_data = 0, - .free_func = 0 - }; - - godot_method_attributes attr = { - .rpc_type = GODOT_METHOD_RPC_MODE_DISABLED - }; - - godot_nativescript_register_method(desc, "SimpleClass", "_ready", attr, method); - } + .method_data = 0, + .free_func = 0 + }; + + godot_instance_destroy_func destroy_func = { + .destroy_func = &test_destructor, + .method_data = 0, + .free_func = 0 + }; + + godot_nativescript_register_class(desc, "SimpleClass", "Node", create_func, destroy_func); + + { + godot_instance_method method = { + .method = &test_ready, + .method_data = 0, + .free_func = 0 + }; + + godot_method_attributes attr = { + .rpc_type = GODOT_METHOD_RPC_MODE_DISABLED + }; + + godot_nativescript_register_method(desc, "SimpleClass", "_ready", attr, method); + } } godot_variant GDN_EXPORT some_test_procedure(void *data, godot_array *args) { - godot_variant ret; - godot_variant_new_int(&ret, 42); + godot_variant ret; + godot_variant_new_int(&ret, 42); - godot_string s; - godot_string_new_unicode_data(&s, L"Hello World", 11); - godot_print(&s); + godot_string s; + godot_string_new_with_wide_string(&s, L"Hello World", 11); + godot_print(&s); - godot_string_destroy(&s); + godot_string_destroy(&s); - return ret; + return ret; } ```
-`Expand details for example code.` +Expand *Details* for example code. ### Compile Library On Linux: ```bash -clang -g -fPIC -std=c99 -c src/test.c -I/path/to/godot/headers/ -o src/test.os +clang -g -fPIC -c src/test.c -I/path/to/godot/headers/ -o src/test.os clang -g -shared src/test.os -o lib/test.so ``` On MacOS: ```bash -clang -g -fPIC -std=c99 -c src/test.c -I/path/to/godot/headers/ -o src/test.os +clang -g -fPIC -c src/test.c -I/path/to/godot/headers/ -o src/test.os clang -g -shared -framework Cocoa -Wl,-undefined,dynamic_lookup src/test.os -o lib/test.dylib ``` @@ -158,9 +173,9 @@ clang -g -shared -framework Cocoa -Wl,-undefined,dynamic_lookup src/test.os -o l The GDNativeLibrary resource contains links to the libraries for each platform. 1. Create a new resource in memory and edit it. -1. Select `Resource > GDNativeLibrary`. -1. Set the library file for your platform inside the inspector. -1. Save the edited resource as a `.tres` +2. Select `Resource > GDNativeLibrary`. +3. Set the library file for your platform inside the inspector. +4. Save the edited resource as a `.tres`
@@ -174,7 +189,7 @@ The GDNativeLibrary resource contains links to the libraries for each platform.
-`Expand details for screenshots.` +Expand *Details* for screenshots. ### Using GDNativeLibrary in GDScript @@ -182,25 +197,25 @@ The GDNativeLibrary resource contains links to the libraries for each platform. extends Node func _ready(): - var gdn = GDNative.new() - gdn.library = load("res://lib/libtest.tres") + var gdn = GDNative.new() + gdn.library = load("res://lib/libtest.tres") - gdn.initialize() + gdn.initialize() - var res = gdn.call_native("standard_varcall", "some_test_procedure", []) + var res = gdn.call_native("standard_varcall", "some_test_procedure", []) - print("result: ", res) + print("result: ", res) - gdn.terminate() + gdn.terminate() ``` ### Attaching GDNativeLibrary to a Node 1. Attach a new script to a node. -1. In the pop-up dialog, choose NativeScript in the `Language` menu. -1. Enable built-in script, or create a `.gdn` file, which only contains a name. -1. Specify the `Class Name`. -1. Press `Create`. +2. In the pop-up dialog, choose NativeScript in the `Language` menu. +3. Enable built-in script, or create a `.gdn` file, which only contains a name. +4. Specify the `Class Name`. +5. Press `Create`. The GDNativeLibrary field in a NativeScript is empty by default. @@ -213,7 +228,7 @@ The GDNativeLibrary field in a NativeScript is empty by default. -`Expand details for screenshots.` +Expand *Details* for screenshots. ## FAQ @@ -227,8 +242,8 @@ use of GDNative to implement scripts backed by native code. **Which languages are binding as a NativeScript?** -[**C++**](https://github.com/GodotNativeTools/cpp_bindings), -[**D**](https://github.com/GodotNativeTools/d_bindings), +[**C++**](https://github.com/godotengine/godot-cpp), +[**D**](https://github.com/godot-d/godot-d), [**Nim**](https://github.com/pragmagic/godot-nim) **Can you debug NativeScripts?** @@ -243,5 +258,25 @@ You can! ✨ **What is the reason behind the name "GDNative"?** GDNative was originally named "cscript" because it exposes a C API, but people -mistook a relation to C#, which is sometimes abbreviated as "cs". Then named "DLScript", but that brought up some confusion, so we settled with -GDNative. 📖 +mistook a relation to C#, which is sometimes abbreviated as "cs". Then named +"DLScript", but that brought up some confusion, so we settled with GDNative. 📖 + +## Updating Headers + +See [**Versioning**](#versioning) for details on the Godot versions tracked by +each branch of this repository. + +If the relevant branch is not up-to-date for your needs, or if you want to sync +the headers with your own modified version of Godot, here is the update +procedure used to sync this repository with upstream releases: + +- Compile [Godot Engine](https://github.com/godotengine/godot) at the specific + version/commit which you are using. +- Use the compiled executable to generate the `api.json` file with: + `godot --gdnative-generate-json-api api.json` +- Copy the file `modules/gdnative/gdnative_api.json` to this repository. +- Copy the files and folders from `modules/gdnative/include` to this repository, + overwriting existing content. (To be sure to be in sync, you can delete the + folders of this repository first, then copy the upstream folders in place.) + Make sure that you compiled the correct Godot version so that the generated + `gdnative_api_struct.gen.h` is up-to-date. diff --git a/gdnative-sys/godot_headers/android/godot_android.h b/gdnative-sys/godot_headers/android/godot_android.h index 45d4eaff3..8e7397f80 100644 --- a/gdnative-sys/godot_headers/android/godot_android.h +++ b/gdnative-sys/godot_headers/android/godot_android.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_ANDROID_GDN_H -#define GODOT_ANDROID_GDN_H +#ifndef GODOT_ANDROID_H +#define GODOT_ANDROID_H #include @@ -53,4 +53,4 @@ bool GDAPI godot_android_is_activity_resumed(); } #endif -#endif /* !GODOT_ANDROID_GDN_H */ +#endif // GODOT_ANDROID_H diff --git a/gdnative-sys/godot_headers/arvr/godot_arvr.h b/gdnative-sys/godot_headers/arvr/godot_arvr.h index aaef31a85..7a07380b8 100644 --- a/gdnative-sys/godot_headers/arvr/godot_arvr.h +++ b/gdnative-sys/godot_headers/arvr/godot_arvr.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_NATIVEARVR_H -#define GODOT_NATIVEARVR_H +#ifndef GODOT_ARVR_H +#define GODOT_ARVR_H #include @@ -42,7 +42,7 @@ extern "C" { // Use these to populate version in your plugin #define GODOTVR_API_MAJOR 1 -#define GODOTVR_API_MINOR 1 +#define GODOTVR_API_MINOR 2 typedef struct { godot_gdnative_api_version version; /* version of our API */ @@ -65,6 +65,8 @@ typedef struct { godot_int (*get_external_texture_for_eye)(void *, godot_int); void (*notification)(void *, godot_int); godot_int (*get_camera_feed_id)(void *); + // only in 1.2 onwards + godot_int (*get_external_depth_for_eye)(void *, godot_int); } godot_arvr_interface_gdnative; void GDAPI godot_arvr_register_interface(const godot_arvr_interface_gdnative *p_interface); @@ -85,8 +87,12 @@ void GDAPI godot_arvr_set_controller_button(godot_int p_controller_id, godot_int void GDAPI godot_arvr_set_controller_axis(godot_int p_controller_id, godot_int p_axis, godot_real p_value, godot_bool p_can_be_negative); godot_real GDAPI godot_arvr_get_controller_rumble(godot_int p_controller_id); +// ARVR 1.2 functions +void GDAPI godot_arvr_set_interface(godot_object *p_arvr_interface, const godot_arvr_interface_gdnative *p_gdn_interface); +godot_int GDAPI godot_arvr_get_depthid(godot_rid *p_render_target); + #ifdef __cplusplus } #endif -#endif /* !GODOT_NATIVEARVR_H */ +#endif // GODOT_ARVR_H diff --git a/gdnative-sys/godot_headers/gdnative/aabb.h b/gdnative-sys/godot_headers/gdnative/aabb.h index 9f41e9d4c..df81a4950 100644 --- a/gdnative-sys/godot_headers/gdnative/aabb.h +++ b/gdnative-sys/godot_headers/gdnative/aabb.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_AABB_H -#define GODOT_AABB_H +#ifndef GDNATIVE_AABB_H +#define GDNATIVE_AABB_H #ifdef __cplusplus extern "C" { @@ -115,4 +115,4 @@ godot_bool GDAPI godot_aabb_operator_equal(const godot_aabb *p_self, const godot } #endif -#endif // GODOT_AABB_H +#endif // GDNATIVE_AABB_H diff --git a/gdnative-sys/godot_headers/gdnative/array.h b/gdnative-sys/godot_headers/gdnative/array.h index 36b5c7787..a9e3a517e 100644 --- a/gdnative-sys/godot_headers/gdnative/array.h +++ b/gdnative-sys/godot_headers/gdnative/array.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_ARRAY_H -#define GODOT_ARRAY_H +#ifndef GDNATIVE_ARRAY_H +#define GDNATIVE_ARRAY_H #ifdef __cplusplus extern "C" { @@ -144,4 +144,4 @@ void GDAPI godot_array_shuffle(godot_array *p_self); } #endif -#endif // GODOT_ARRAY_H +#endif // GDNATIVE_ARRAY_H diff --git a/gdnative-sys/godot_headers/gdnative/basis.h b/gdnative-sys/godot_headers/gdnative/basis.h index c7425ebbf..85c6f76dc 100644 --- a/gdnative-sys/godot_headers/gdnative/basis.h +++ b/gdnative-sys/godot_headers/gdnative/basis.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_BASIS_H -#define GODOT_BASIS_H +#ifndef GDNATIVE_BASIS_H +#define GDNATIVE_BASIS_H #ifdef __cplusplus extern "C" { @@ -133,4 +133,4 @@ godot_basis GDAPI godot_basis_slerp(const godot_basis *p_self, const godot_basis } #endif -#endif // GODOT_BASIS_H +#endif // GDNATIVE_BASIS_H diff --git a/gdnative-sys/godot_headers/gdnative/color.h b/gdnative-sys/godot_headers/gdnative/color.h index 3f046b7f0..3e55b17c4 100644 --- a/gdnative-sys/godot_headers/gdnative/color.h +++ b/gdnative-sys/godot_headers/gdnative/color.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_COLOR_H -#define GODOT_COLOR_H +#ifndef GDNATIVE_COLOR_H +#define GDNATIVE_COLOR_H #ifdef __cplusplus extern "C" { @@ -117,4 +117,4 @@ godot_bool GDAPI godot_color_operator_less(const godot_color *p_self, const godo } #endif -#endif // GODOT_COLOR_H +#endif // GDNATIVE_COLOR_H diff --git a/gdnative-sys/godot_headers/gdnative/dictionary.h b/gdnative-sys/godot_headers/gdnative/dictionary.h index 873efaa9b..00e697a39 100644 --- a/gdnative-sys/godot_headers/gdnative/dictionary.h +++ b/gdnative-sys/godot_headers/gdnative/dictionary.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_DICTIONARY_H -#define GODOT_DICTIONARY_H +#ifndef GDNATIVE_DICTIONARY_H +#define GDNATIVE_DICTIONARY_H #ifdef __cplusplus extern "C" { @@ -102,8 +102,12 @@ godot_bool GDAPI godot_dictionary_erase_with_return(godot_dictionary *p_self, co godot_variant GDAPI godot_dictionary_get_with_default(const godot_dictionary *p_self, const godot_variant *p_key, const godot_variant *p_default); +// GDNative core 1.3 + +void GDAPI godot_dictionary_merge(godot_dictionary *p_self, const godot_dictionary *p_dictionary, const godot_bool p_overwrite); + #ifdef __cplusplus } #endif -#endif // GODOT_DICTIONARY_H +#endif // GDNATIVE_DICTIONARY_H diff --git a/gdnative-sys/godot_headers/gdnative/gdnative.h b/gdnative-sys/godot_headers/gdnative/gdnative.h index e19a2ec14..67a6919e0 100644 --- a/gdnative-sys/godot_headers/gdnative/gdnative.h +++ b/gdnative-sys/godot_headers/gdnative/gdnative.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_GDNATIVE_H -#define GODOT_GDNATIVE_H +#ifndef GDNATIVE_GDNATIVE_H +#define GDNATIVE_GDNATIVE_H #ifdef __cplusplus extern "C" { @@ -53,11 +53,15 @@ extern "C" { #endif // This is for libraries *using* the header, NOT GODOT EXPOSING STUFF!! -#ifdef _WIN32 +#if !defined(GDN_EXPORT) +#if defined(_WIN32) #define GDN_EXPORT __declspec(dllexport) +#elif defined(__GNUC__) +#define GDN_EXPORT __attribute__((visibility("default"))) #else #define GDN_EXPORT #endif +#endif #include #include @@ -297,4 +301,4 @@ godot_object GDAPI *godot_instance_from_id(godot_int p_instance_id); } #endif -#endif // GODOT_C_H +#endif // GDNATIVE_GDNATIVE_H diff --git a/gdnative-sys/godot_headers/gdnative/node_path.h b/gdnative-sys/godot_headers/gdnative/node_path.h index 0cd0c3cb9..36e1535e8 100644 --- a/gdnative-sys/godot_headers/gdnative/node_path.h +++ b/gdnative-sys/godot_headers/gdnative/node_path.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_NODE_PATH_H -#define GODOT_NODE_PATH_H +#ifndef GDNATIVE_NODE_PATH_H +#define GDNATIVE_NODE_PATH_H #ifdef __cplusplus extern "C" { @@ -86,4 +86,4 @@ godot_node_path godot_node_path_get_as_property_path(const godot_node_path *p_se } #endif -#endif // GODOT_NODE_PATH_H +#endif // GDNATIVE_NODE_PATH_H diff --git a/gdnative-sys/godot_headers/gdnative/plane.h b/gdnative-sys/godot_headers/gdnative/plane.h index b759a8cc1..834ceeb85 100644 --- a/gdnative-sys/godot_headers/gdnative/plane.h +++ b/gdnative-sys/godot_headers/gdnative/plane.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_PLANE_H -#define GODOT_PLANE_H +#ifndef GDNATIVE_PLANE_H +#define GDNATIVE_PLANE_H #ifdef __cplusplus extern "C" { @@ -100,4 +100,4 @@ void GDAPI godot_plane_set_d(godot_plane *p_self, const godot_real p_d); } #endif -#endif // GODOT_PLANE_H +#endif // GDNATIVE_PLANE_H diff --git a/gdnative-sys/godot_headers/gdnative/pool_arrays.h b/gdnative-sys/godot_headers/gdnative/pool_arrays.h index 7d51b3cd5..54aa5d953 100644 --- a/gdnative-sys/godot_headers/gdnative/pool_arrays.h +++ b/gdnative-sys/godot_headers/gdnative/pool_arrays.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_POOL_ARRAYS_H -#define GODOT_POOL_ARRAYS_H +#ifndef GDNATIVE_POOL_ARRAYS_H +#define GDNATIVE_POOL_ARRAYS_H #ifdef __cplusplus extern "C" { @@ -182,6 +182,8 @@ void GDAPI godot_pool_byte_array_remove(godot_pool_byte_array *p_self, const god void GDAPI godot_pool_byte_array_resize(godot_pool_byte_array *p_self, const godot_int p_size); +void GDAPI godot_pool_byte_array_sort(godot_pool_byte_array *p_self); + godot_pool_byte_array_read_access GDAPI *godot_pool_byte_array_read(const godot_pool_byte_array *p_self); godot_pool_byte_array_write_access GDAPI *godot_pool_byte_array_write(godot_pool_byte_array *p_self); @@ -193,6 +195,8 @@ godot_int GDAPI godot_pool_byte_array_size(const godot_pool_byte_array *p_self); godot_bool GDAPI godot_pool_byte_array_empty(const godot_pool_byte_array *p_self); +godot_bool GDAPI godot_pool_byte_array_has(const godot_pool_byte_array *p_self, const uint8_t p_data); + void GDAPI godot_pool_byte_array_destroy(godot_pool_byte_array *p_self); // int @@ -215,6 +219,8 @@ void GDAPI godot_pool_int_array_remove(godot_pool_int_array *p_self, const godot void GDAPI godot_pool_int_array_resize(godot_pool_int_array *p_self, const godot_int p_size); +void GDAPI godot_pool_int_array_sort(godot_pool_int_array *p_self); + godot_pool_int_array_read_access GDAPI *godot_pool_int_array_read(const godot_pool_int_array *p_self); godot_pool_int_array_write_access GDAPI *godot_pool_int_array_write(godot_pool_int_array *p_self); @@ -226,6 +232,8 @@ godot_int GDAPI godot_pool_int_array_size(const godot_pool_int_array *p_self); godot_bool GDAPI godot_pool_int_array_empty(const godot_pool_int_array *p_self); +godot_bool GDAPI godot_pool_int_array_has(const godot_pool_int_array *p_self, const godot_int p_data); + void GDAPI godot_pool_int_array_destroy(godot_pool_int_array *p_self); // real @@ -248,6 +256,8 @@ void GDAPI godot_pool_real_array_remove(godot_pool_real_array *p_self, const god void GDAPI godot_pool_real_array_resize(godot_pool_real_array *p_self, const godot_int p_size); +void GDAPI godot_pool_real_array_sort(godot_pool_real_array *p_self); + godot_pool_real_array_read_access GDAPI *godot_pool_real_array_read(const godot_pool_real_array *p_self); godot_pool_real_array_write_access GDAPI *godot_pool_real_array_write(godot_pool_real_array *p_self); @@ -259,6 +269,8 @@ godot_int GDAPI godot_pool_real_array_size(const godot_pool_real_array *p_self); godot_bool GDAPI godot_pool_real_array_empty(const godot_pool_real_array *p_self); +godot_bool GDAPI godot_pool_real_array_has(const godot_pool_real_array *p_self, const godot_real p_data); + void GDAPI godot_pool_real_array_destroy(godot_pool_real_array *p_self); // string @@ -275,12 +287,16 @@ godot_error GDAPI godot_pool_string_array_insert(godot_pool_string_array *p_self void GDAPI godot_pool_string_array_invert(godot_pool_string_array *p_self); +godot_string GDAPI godot_pool_string_array_join(const godot_pool_string_array *p_self, const godot_string *p_delimiter); + void GDAPI godot_pool_string_array_push_back(godot_pool_string_array *p_self, const godot_string *p_data); void GDAPI godot_pool_string_array_remove(godot_pool_string_array *p_self, const godot_int p_idx); void GDAPI godot_pool_string_array_resize(godot_pool_string_array *p_self, const godot_int p_size); +void GDAPI godot_pool_string_array_sort(godot_pool_string_array *p_self); + godot_pool_string_array_read_access GDAPI *godot_pool_string_array_read(const godot_pool_string_array *p_self); godot_pool_string_array_write_access GDAPI *godot_pool_string_array_write(godot_pool_string_array *p_self); @@ -292,6 +308,8 @@ godot_int GDAPI godot_pool_string_array_size(const godot_pool_string_array *p_se godot_bool GDAPI godot_pool_string_array_empty(const godot_pool_string_array *p_self); +godot_bool GDAPI godot_pool_string_array_has(const godot_pool_string_array *p_self, const godot_string *p_data); + void GDAPI godot_pool_string_array_destroy(godot_pool_string_array *p_self); // vector2 @@ -314,6 +332,8 @@ void GDAPI godot_pool_vector2_array_remove(godot_pool_vector2_array *p_self, con void GDAPI godot_pool_vector2_array_resize(godot_pool_vector2_array *p_self, const godot_int p_size); +void GDAPI godot_pool_vector2_array_sort(godot_pool_vector2_array *p_self); + godot_pool_vector2_array_read_access GDAPI *godot_pool_vector2_array_read(const godot_pool_vector2_array *p_self); godot_pool_vector2_array_write_access GDAPI *godot_pool_vector2_array_write(godot_pool_vector2_array *p_self); @@ -325,6 +345,8 @@ godot_int GDAPI godot_pool_vector2_array_size(const godot_pool_vector2_array *p_ godot_bool GDAPI godot_pool_vector2_array_empty(const godot_pool_vector2_array *p_self); +godot_bool GDAPI godot_pool_vector2_array_has(const godot_pool_vector2_array *p_self, const godot_vector2 *p_data); + void GDAPI godot_pool_vector2_array_destroy(godot_pool_vector2_array *p_self); // vector3 @@ -347,6 +369,8 @@ void GDAPI godot_pool_vector3_array_remove(godot_pool_vector3_array *p_self, con void GDAPI godot_pool_vector3_array_resize(godot_pool_vector3_array *p_self, const godot_int p_size); +void GDAPI godot_pool_vector3_array_sort(godot_pool_vector3_array *p_self); + godot_pool_vector3_array_read_access GDAPI *godot_pool_vector3_array_read(const godot_pool_vector3_array *p_self); godot_pool_vector3_array_write_access GDAPI *godot_pool_vector3_array_write(godot_pool_vector3_array *p_self); @@ -358,6 +382,8 @@ godot_int GDAPI godot_pool_vector3_array_size(const godot_pool_vector3_array *p_ godot_bool GDAPI godot_pool_vector3_array_empty(const godot_pool_vector3_array *p_self); +godot_bool GDAPI godot_pool_vector3_array_has(const godot_pool_vector3_array *p_self, const godot_vector3 *p_data); + void GDAPI godot_pool_vector3_array_destroy(godot_pool_vector3_array *p_self); // color @@ -380,6 +406,8 @@ void GDAPI godot_pool_color_array_remove(godot_pool_color_array *p_self, const g void GDAPI godot_pool_color_array_resize(godot_pool_color_array *p_self, const godot_int p_size); +void GDAPI godot_pool_color_array_sort(godot_pool_color_array *p_self); + godot_pool_color_array_read_access GDAPI *godot_pool_color_array_read(const godot_pool_color_array *p_self); godot_pool_color_array_write_access GDAPI *godot_pool_color_array_write(godot_pool_color_array *p_self); @@ -391,6 +419,8 @@ godot_int GDAPI godot_pool_color_array_size(const godot_pool_color_array *p_self godot_bool GDAPI godot_pool_color_array_empty(const godot_pool_color_array *p_self); +godot_bool GDAPI godot_pool_color_array_has(const godot_pool_color_array *p_self, const godot_color *p_data); + void GDAPI godot_pool_color_array_destroy(godot_pool_color_array *p_self); // @@ -475,4 +505,4 @@ void GDAPI godot_pool_color_array_write_access_destroy(godot_pool_color_array_wr } #endif -#endif // GODOT_POOL_ARRAYS_H +#endif // GDNATIVE_POOL_ARRAYS_H diff --git a/gdnative-sys/godot_headers/gdnative/quat.h b/gdnative-sys/godot_headers/gdnative/quat.h index d315b2d75..243f95966 100644 --- a/gdnative-sys/godot_headers/gdnative/quat.h +++ b/gdnative-sys/godot_headers/gdnative/quat.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_QUAT_H -#define GODOT_QUAT_H +#ifndef GDNATIVE_QUAT_H +#define GDNATIVE_QUAT_H #ifdef __cplusplus extern "C" { @@ -115,4 +115,4 @@ void GDAPI godot_quat_set_axis_angle(godot_quat *p_self, const godot_vector3 *p_ } #endif -#endif // GODOT_QUAT_H +#endif // GDNATIVE_QUAT_H diff --git a/gdnative-sys/godot_headers/gdnative/rect2.h b/gdnative-sys/godot_headers/gdnative/rect2.h index 0ecf07247..d046e6d17 100644 --- a/gdnative-sys/godot_headers/gdnative/rect2.h +++ b/gdnative-sys/godot_headers/gdnative/rect2.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_RECT2_H -#define GODOT_RECT2_H +#ifndef GDNATIVE_RECT2_H +#define GDNATIVE_RECT2_H #ifdef __cplusplus extern "C" { @@ -99,4 +99,4 @@ void GDAPI godot_rect2_set_size(godot_rect2 *p_self, const godot_vector2 *p_size } #endif -#endif // GODOT_RECT2_H +#endif // GDNATIVE_RECT2_H diff --git a/gdnative-sys/godot_headers/gdnative/rid.h b/gdnative-sys/godot_headers/gdnative/rid.h index 04661cedc..a9862eb04 100644 --- a/gdnative-sys/godot_headers/gdnative/rid.h +++ b/gdnative-sys/godot_headers/gdnative/rid.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_RID_H -#define GODOT_RID_H +#ifndef GDNATIVE_RID_H +#define GDNATIVE_RID_H #ifdef __cplusplus extern "C" { @@ -71,4 +71,4 @@ godot_bool GDAPI godot_rid_operator_less(const godot_rid *p_self, const godot_ri } #endif -#endif // GODOT_RID_H +#endif // GDNATIVE_RID_H diff --git a/gdnative-sys/godot_headers/gdnative/string.h b/gdnative-sys/godot_headers/gdnative/string.h index b676d21fb..32e4fff87 100644 --- a/gdnative-sys/godot_headers/gdnative/string.h +++ b/gdnative-sys/godot_headers/gdnative/string.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_STRING_H -#define GODOT_STRING_H +#ifndef GDNATIVE_STRING_H +#define GDNATIVE_STRING_H #ifdef __cplusplus extern "C" { @@ -129,6 +129,8 @@ godot_string GDAPI godot_string_md5(const uint8_t *p_md5); godot_string GDAPI godot_string_num(double p_num); godot_string GDAPI godot_string_num_int64(int64_t p_num, godot_int p_base); godot_string GDAPI godot_string_num_int64_capitalized(int64_t p_num, godot_int p_base, godot_bool p_capitalize_hex); +godot_string GDAPI godot_string_num_uint64(uint64_t p_num, godot_int p_base); +godot_string GDAPI godot_string_num_uint64_capitalized(uint64_t p_num, godot_int p_base, godot_bool p_capitalize_hex); godot_string GDAPI godot_string_num_real(double p_num); godot_string GDAPI godot_string_num_scientific(double p_num); godot_string GDAPI godot_string_num_with_decimals(double p_num, godot_int p_decimals); @@ -179,6 +181,8 @@ godot_array GDAPI godot_string_split_ints_mk(const godot_string *p_self, const g godot_array GDAPI godot_string_split_ints_mk_allows_empty(const godot_string *p_self, const godot_array *p_splitters); godot_array GDAPI godot_string_split_spaces(const godot_string *p_self); +godot_string GDAPI godot_string_join(const godot_string *p_self, const godot_array *p_parts); + wchar_t GDAPI godot_string_char_lowercase(wchar_t p_char); wchar_t GDAPI godot_string_char_uppercase(wchar_t p_char); godot_string GDAPI godot_string_to_lower(const godot_string *p_self); @@ -219,7 +223,7 @@ godot_bool godot_string_empty(const godot_string *p_self); // path functions godot_string GDAPI godot_string_get_base_dir(const godot_string *p_self); godot_string GDAPI godot_string_get_file(const godot_string *p_self); -godot_string GDAPI godot_string_humanize_size(size_t p_size); +godot_string GDAPI godot_string_humanize_size(uint64_t p_size); godot_bool GDAPI godot_string_is_abs_path(const godot_string *p_self); godot_bool GDAPI godot_string_is_rel_path(const godot_string *p_self); godot_bool GDAPI godot_string_is_resource_file(const godot_string *p_self); @@ -260,4 +264,4 @@ void GDAPI godot_string_destroy(godot_string *p_self); } #endif -#endif // GODOT_STRING_H +#endif // GDNATIVE_STRING_H diff --git a/gdnative-sys/godot_headers/gdnative/string_name.h b/gdnative-sys/godot_headers/gdnative/string_name.h index f2555ab98..e6a353e4f 100644 --- a/gdnative-sys/godot_headers/gdnative/string_name.h +++ b/gdnative-sys/godot_headers/gdnative/string_name.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_STRING_NAME_H -#define GODOT_STRING_NAME_H +#ifndef GDNATIVE_STRING_NAME_H +#define GDNATIVE_STRING_NAME_H #ifdef __cplusplus extern "C" { @@ -75,4 +75,4 @@ void GDAPI godot_string_name_destroy(godot_string_name *p_self); } #endif -#endif // GODOT_STRING_NAME_H +#endif // GDNATIVE_STRING_NAME_H diff --git a/gdnative-sys/godot_headers/gdnative/transform.h b/gdnative-sys/godot_headers/gdnative/transform.h index bc51438b1..18d1ff2ec 100644 --- a/gdnative-sys/godot_headers/gdnative/transform.h +++ b/gdnative-sys/godot_headers/gdnative/transform.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_TRANSFORM_H -#define GODOT_TRANSFORM_H +#ifndef GDNATIVE_TRANSFORM_H +#define GDNATIVE_TRANSFORM_H #ifdef __cplusplus extern "C" { @@ -108,4 +108,4 @@ godot_aabb GDAPI godot_transform_xform_inv_aabb(const godot_transform *p_self, c } #endif -#endif // GODOT_TRANSFORM_H +#endif // GDNATIVE_TRANSFORM_H diff --git a/gdnative-sys/godot_headers/gdnative/transform2d.h b/gdnative-sys/godot_headers/gdnative/transform2d.h index 6b414ca7b..d63272216 100644 --- a/gdnative-sys/godot_headers/gdnative/transform2d.h +++ b/gdnative-sys/godot_headers/gdnative/transform2d.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_TRANSFORM2D_H -#define GODOT_TRANSFORM2D_H +#ifndef GDNATIVE_TRANSFORM2D_H +#define GDNATIVE_TRANSFORM2D_H #ifdef __cplusplus extern "C" { @@ -106,4 +106,4 @@ godot_rect2 GDAPI godot_transform2d_xform_inv_rect2(const godot_transform2d *p_s } #endif -#endif // GODOT_TRANSFORM2D_H +#endif // GDNATIVE_TRANSFORM2D_H diff --git a/gdnative-sys/godot_headers/gdnative/variant.h b/gdnative-sys/godot_headers/gdnative/variant.h index 5da6d9718..47b571c61 100644 --- a/gdnative-sys/godot_headers/gdnative/variant.h +++ b/gdnative-sys/godot_headers/gdnative/variant.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_VARIANT_H -#define GODOT_VARIANT_H +#ifndef GDNATIVE_VARIANT_H +#define GDNATIVE_VARIANT_H #ifdef __cplusplus extern "C" { @@ -252,4 +252,4 @@ void GDAPI godot_variant_evaluate(godot_variant_operator p_op, const godot_varia } #endif -#endif +#endif // GDNATIVE_VARIANT_H diff --git a/gdnative-sys/godot_headers/gdnative/vector2.h b/gdnative-sys/godot_headers/gdnative/vector2.h index 15a1a6063..b548c897a 100644 --- a/gdnative-sys/godot_headers/gdnative/vector2.h +++ b/gdnative-sys/godot_headers/gdnative/vector2.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_VECTOR2_H -#define GODOT_VECTOR2_H +#ifndef GDNATIVE_VECTOR2_H +#define GDNATIVE_VECTOR2_H #ifdef __cplusplus extern "C" { @@ -139,4 +139,4 @@ godot_real GDAPI godot_vector2_get_y(const godot_vector2 *p_self); } #endif -#endif // GODOT_VECTOR2_H +#endif // GDNATIVE_VECTOR2_H diff --git a/gdnative-sys/godot_headers/gdnative/vector3.h b/gdnative-sys/godot_headers/gdnative/vector3.h index 1b344590e..a5084c13d 100644 --- a/gdnative-sys/godot_headers/gdnative/vector3.h +++ b/gdnative-sys/godot_headers/gdnative/vector3.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_VECTOR3_H -#define GODOT_VECTOR3_H +#ifndef GDNATIVE_VECTOR3_H +#define GDNATIVE_VECTOR3_H #ifdef __cplusplus extern "C" { @@ -146,4 +146,4 @@ godot_real GDAPI godot_vector3_get_axis(const godot_vector3 *p_self, const godot } #endif -#endif // GODOT_VECTOR3_H +#endif // GDNATIVE_VECTOR3_H diff --git a/gdnative-sys/godot_headers/gdnative_api.json b/gdnative-sys/godot_headers/gdnative_api.json index 8ccb8d228..c8827a3b6 100644 --- a/gdnative-sys/godot_headers/gdnative_api.json +++ b/gdnative-sys/godot_headers/gdnative_api.json @@ -17,7 +17,163 @@ "major": 1, "minor": 2 }, - "next": null, + "next": { + "type": "CORE", + "version": { + "major": 1, + "minor": 3 + }, + "next": null, + "api": [ + { + "name": "godot_dictionary_merge", + "return_type": "void", + "arguments": [ + ["godot_dictionary *", "p_self"], + ["const godot_dictionary *", "p_dictionary"], + ["const godot_bool", "p_overwrite"] + ] + }, + { + "name": "godot_pool_byte_array_has", + "return_type": "godot_bool", + "arguments": [ + ["const godot_pool_byte_array *", "p_self"], + ["const uint8_t", "p_data"] + ] + }, + { + "name": "godot_pool_byte_array_sort", + "return_type": "void", + "arguments": [ + ["godot_pool_byte_array *", "p_self"] + ] + }, + { + "name": "godot_pool_int_array_has", + "return_type": "godot_bool", + "arguments": [ + ["const godot_pool_int_array *", "p_self"], + ["const godot_int", "p_data"] + ] + }, + { + "name": "godot_pool_int_array_sort", + "return_type": "void", + "arguments": [ + ["godot_pool_int_array *", "p_self"] + ] + }, + { + "name": "godot_pool_real_array_has", + "return_type": "godot_bool", + "arguments": [ + ["const godot_pool_real_array *", "p_self"], + ["const godot_real", "p_data"] + ] + }, + { + "name": "godot_pool_real_array_sort", + "return_type": "void", + "arguments": [ + ["godot_pool_real_array *", "p_self"] + ] + }, + { + "name": "godot_pool_string_array_has", + "return_type": "godot_bool", + "arguments": [ + ["const godot_pool_string_array *", "p_self"], + ["const godot_string *", "p_data"] + ] + }, + { + "name": "godot_pool_string_array_join", + "return_type": "godot_string", + "arguments": [ + ["const godot_pool_string_array *", "p_self"], + ["const godot_string *", "p_delimiter"] + ] + }, + { + "name": "godot_pool_string_array_sort", + "return_type": "void", + "arguments": [ + ["godot_pool_string_array *", "p_self"] + ] + }, + { + "name": "godot_pool_vector2_array_has", + "return_type": "godot_bool", + "arguments": [ + ["const godot_pool_vector2_array *", "p_self"], + ["const godot_vector2 *", "p_data"] + ] + }, + { + "name": "godot_pool_vector2_array_sort", + "return_type": "void", + "arguments": [ + ["godot_pool_vector2_array *", "p_self"] + ] + }, + { + "name": "godot_pool_vector3_array_has", + "return_type": "godot_bool", + "arguments": [ + ["const godot_pool_vector3_array *", "p_self"], + ["const godot_vector3 *", "p_data"] + ] + }, + { + "name": "godot_pool_vector3_array_sort", + "return_type": "void", + "arguments": [ + ["godot_pool_vector3_array *", "p_self"] + ] + }, + { + "name": "godot_pool_color_array_has", + "return_type": "godot_bool", + "arguments": [ + ["const godot_pool_color_array *", "p_self"], + ["const godot_color *", "p_data"] + ] + }, + { + "name": "godot_pool_color_array_sort", + "return_type": "void", + "arguments": [ + ["godot_pool_color_array *", "p_self"] + ] + }, + { + "name": "godot_string_join", + "return_type": "godot_string", + "arguments": [ + ["const godot_string *", "p_self"], + ["const godot_array *", "p_parts"] + ] + }, + { + "name": "godot_string_num_uint64", + "return_type": "godot_string", + "arguments": [ + ["uint64_t", "p_num"], + ["godot_int", "p_base"] + ] + }, + { + "name": "godot_string_num_uint64_capitalized", + "return_type": "godot_string", + "arguments": [ + ["uint64_t", "p_num"], + ["godot_int", "p_base"], + ["godot_bool", "p_capitalize_hex"] + ] + } + ] + }, "api": [ { "name": "godot_dictionary_duplicate", @@ -4275,6 +4431,13 @@ ["const godot_transform2d *", "p_self"] ] }, + { + "name": "godot_transform2d_determinant", + "return_type": "godot_real", + "arguments": [ + ["const godot_transform2d *", "p_self"] + ] + }, { "name": "godot_transform2d_orthonormalized", "return_type": "godot_transform2d", @@ -5847,7 +6010,7 @@ "name": "godot_string_humanize_size", "return_type": "godot_string", "arguments": [ - ["size_t", "p_size"] + ["uint64_t", "p_size"] ] }, { @@ -6459,7 +6622,32 @@ "major": 1, "minor": 1 }, - "next": null, + "next": { + "name": "arvr", + "type": "ARVR", + "version": { + "major": 1, + "minor": 2 + }, + "next": null, + "api": [ + { + "name": "godot_arvr_set_interface", + "return_type": "void", + "arguments": [ + ["godot_object *", "p_arvr_interface"], + ["const godot_arvr_interface_gdnative *", "p_gdn_interface"] + ] + }, + { + "name": "godot_arvr_get_depthid", + "return_type": "godot_int", + "arguments": [ + ["godot_rid *", "p_render_target"] + ] + } + ] + }, "api": [ { "name": "godot_arvr_register_interface", diff --git a/gdnative-sys/godot_headers/gdnative_api_struct.gen.h b/gdnative-sys/godot_headers/gdnative_api_struct.gen.h index d5f773da2..aec1fbca6 100644 --- a/gdnative-sys/godot_headers/gdnative_api_struct.gen.h +++ b/gdnative-sys/godot_headers/gdnative_api_struct.gen.h @@ -105,6 +105,14 @@ typedef struct godot_gdnative_ext_android_api_struct { bool (*godot_android_is_activity_resumed)(); } godot_gdnative_ext_android_api_struct; +typedef struct godot_gdnative_ext_arvr_1_2_api_struct { + unsigned int type; + godot_gdnative_api_version version; + const godot_gdnative_api_struct *next; + void (*godot_arvr_set_interface)(godot_object *p_arvr_interface, const godot_arvr_interface_gdnative *p_gdn_interface); + godot_int (*godot_arvr_get_depthid)(godot_rid *p_render_target); +} godot_gdnative_ext_arvr_1_2_api_struct; + typedef struct godot_gdnative_ext_arvr_api_struct { unsigned int type; godot_gdnative_api_version version; @@ -149,6 +157,31 @@ typedef struct godot_gdnative_ext_net_api_struct { void (*godot_net_bind_multiplayer_peer)(godot_object *p_obj, const godot_net_multiplayer_peer *p_interface); } godot_gdnative_ext_net_api_struct; +typedef struct godot_gdnative_core_1_3_api_struct { + unsigned int type; + godot_gdnative_api_version version; + const godot_gdnative_api_struct *next; + void (*godot_dictionary_merge)(godot_dictionary *p_self, const godot_dictionary *p_dictionary, const godot_bool p_overwrite); + godot_bool (*godot_pool_byte_array_has)(const godot_pool_byte_array *p_self, const uint8_t p_data); + void (*godot_pool_byte_array_sort)(godot_pool_byte_array *p_self); + godot_bool (*godot_pool_int_array_has)(const godot_pool_int_array *p_self, const godot_int p_data); + void (*godot_pool_int_array_sort)(godot_pool_int_array *p_self); + godot_bool (*godot_pool_real_array_has)(const godot_pool_real_array *p_self, const godot_real p_data); + void (*godot_pool_real_array_sort)(godot_pool_real_array *p_self); + godot_bool (*godot_pool_string_array_has)(const godot_pool_string_array *p_self, const godot_string *p_data); + godot_string (*godot_pool_string_array_join)(const godot_pool_string_array *p_self, const godot_string *p_delimiter); + void (*godot_pool_string_array_sort)(godot_pool_string_array *p_self); + godot_bool (*godot_pool_vector2_array_has)(const godot_pool_vector2_array *p_self, const godot_vector2 *p_data); + void (*godot_pool_vector2_array_sort)(godot_pool_vector2_array *p_self); + godot_bool (*godot_pool_vector3_array_has)(const godot_pool_vector3_array *p_self, const godot_vector3 *p_data); + void (*godot_pool_vector3_array_sort)(godot_pool_vector3_array *p_self); + godot_bool (*godot_pool_color_array_has)(const godot_pool_color_array *p_self, const godot_color *p_data); + void (*godot_pool_color_array_sort)(godot_pool_color_array *p_self); + godot_string (*godot_string_join)(const godot_string *p_self, const godot_array *p_parts); + godot_string (*godot_string_num_uint64)(uint64_t p_num, godot_int p_base); + godot_string (*godot_string_num_uint64_capitalized)(uint64_t p_num, godot_int p_base, godot_bool p_capitalize_hex); +} godot_gdnative_core_1_3_api_struct; + typedef struct godot_gdnative_core_1_2_api_struct { unsigned int type; godot_gdnative_api_version version; @@ -916,7 +949,7 @@ typedef struct godot_gdnative_core_api_struct { godot_bool (*godot_string_empty)(const godot_string *p_self); godot_string (*godot_string_get_base_dir)(const godot_string *p_self); godot_string (*godot_string_get_file)(const godot_string *p_self); - godot_string (*godot_string_humanize_size)(size_t p_size); + godot_string (*godot_string_humanize_size)(uint64_t p_size); godot_bool (*godot_string_is_abs_path)(const godot_string *p_self); godot_bool (*godot_string_is_rel_path)(const godot_string *p_self); godot_bool (*godot_string_is_resource_file)(const godot_string *p_self); diff --git a/gdnative-sys/godot_headers/images/faq/create_dlscript.png b/gdnative-sys/godot_headers/images/faq/create_dlscript.png index 7e1f838c4..20020b9b6 100644 Binary files a/gdnative-sys/godot_headers/images/faq/create_dlscript.png and b/gdnative-sys/godot_headers/images/faq/create_dlscript.png differ diff --git a/gdnative-sys/godot_headers/images/faq/dllibrary_create_new_dllibrary.png b/gdnative-sys/godot_headers/images/faq/dllibrary_create_new_dllibrary.png index e17ebcabc..57c45ec67 100644 Binary files a/gdnative-sys/godot_headers/images/faq/dllibrary_create_new_dllibrary.png and b/gdnative-sys/godot_headers/images/faq/dllibrary_create_new_dllibrary.png differ diff --git a/gdnative-sys/godot_headers/images/faq/dllibrary_create_new_resource.png b/gdnative-sys/godot_headers/images/faq/dllibrary_create_new_resource.png index fe2d274e3..7e0cc8f11 100644 Binary files a/gdnative-sys/godot_headers/images/faq/dllibrary_create_new_resource.png and b/gdnative-sys/godot_headers/images/faq/dllibrary_create_new_resource.png differ diff --git a/gdnative-sys/godot_headers/images/faq/dllibrary_save_as_resource.png b/gdnative-sys/godot_headers/images/faq/dllibrary_save_as_resource.png index f5d9a066c..6d4075f07 100644 Binary files a/gdnative-sys/godot_headers/images/faq/dllibrary_save_as_resource.png and b/gdnative-sys/godot_headers/images/faq/dllibrary_save_as_resource.png differ diff --git a/gdnative-sys/godot_headers/images/faq/set_project_dllibrary.png b/gdnative-sys/godot_headers/images/faq/set_project_dllibrary.png deleted file mode 100644 index 63901a945..000000000 Binary files a/gdnative-sys/godot_headers/images/faq/set_project_dllibrary.png and /dev/null differ diff --git a/gdnative-sys/godot_headers/images/faq/set_script_dllibrary.png b/gdnative-sys/godot_headers/images/faq/set_script_dllibrary.png index 223ac8ce2..c1d262e67 100644 Binary files a/gdnative-sys/godot_headers/images/faq/set_script_dllibrary.png and b/gdnative-sys/godot_headers/images/faq/set_script_dllibrary.png differ diff --git a/gdnative-sys/godot_headers/nativescript/godot_nativescript.h b/gdnative-sys/godot_headers/nativescript/godot_nativescript.h index d2ed4fb3e..42fad628e 100644 --- a/gdnative-sys/godot_headers/nativescript/godot_nativescript.h +++ b/gdnative-sys/godot_headers/nativescript/godot_nativescript.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -61,8 +61,10 @@ typedef enum { GODOT_PROPERTY_HINT_FLAGS, ///< hint_text= "flag1,flag2,etc" (as bit flags) GODOT_PROPERTY_HINT_LAYERS_2D_RENDER, GODOT_PROPERTY_HINT_LAYERS_2D_PHYSICS, + GODOT_PROPERTY_HINT_LAYERS_2D_NAVIGATION, GODOT_PROPERTY_HINT_LAYERS_3D_RENDER, GODOT_PROPERTY_HINT_LAYERS_3D_PHYSICS, + GODOT_PROPERTY_HINT_LAYERS_3D_NAVIGATION, GODOT_PROPERTY_HINT_FILE, ///< a file path must be passed, hint_text (optionally) is a filter "*.png,*.wav,*.doc," GODOT_PROPERTY_HINT_DIR, ///< a directory path must be passed GODOT_PROPERTY_HINT_GLOBAL_FILE, ///< a file path must be passed, hint_text (optionally) is a filter "*.png,*.wav,*.doc," @@ -145,7 +147,7 @@ typedef struct { } godot_method_attributes; typedef struct { - // instance pointer, method data, user data, num args, args - return result as varaint + // instance pointer, method data, user data, num args, args - return result as variant GDCALLINGCONV godot_variant (*method)(godot_object *, void *, void *, int, godot_variant **); void *method_data; GDCALLINGCONV void (*free_func)(void *); @@ -247,4 +249,4 @@ void GDAPI godot_nativescript_profiling_add_data(const char *p_signature, uint64 } #endif -#endif +#endif // GODOT_NATIVESCRIPT_H diff --git a/gdnative-sys/godot_headers/net/godot_net.h b/gdnative-sys/godot_headers/net/godot_net.h index d245f3b96..4834c18e7 100644 --- a/gdnative-sys/godot_headers/net/godot_net.h +++ b/gdnative-sys/godot_headers/net/godot_net.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_NATIVENET_H -#define GODOT_NATIVENET_H +#ifndef GODOT_NET_H +#define GODOT_NET_H #include @@ -45,7 +45,6 @@ extern "C" { #define GODOT_NET_API_MINOR 1 typedef struct { - godot_gdnative_api_version version; /* version of our API */ godot_object *data; /* User reference */ @@ -118,4 +117,4 @@ void GDAPI godot_net_bind_multiplayer_peer(godot_object *p_obj, const godot_net_ // WebRTC Bindings #include "net/godot_webrtc.h" -#endif /* GODOT_NATIVENET_H */ +#endif // GODOT_NET_H diff --git a/gdnative-sys/godot_headers/net/godot_webrtc.h b/gdnative-sys/godot_headers/net/godot_webrtc.h index 15e2df85c..f51c0bc18 100644 --- a/gdnative-sys/godot_headers/net/godot_webrtc.h +++ b/gdnative-sys/godot_headers/net/godot_webrtc.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_NATIVEWEBRTC_H -#define GODOT_NATIVEWEBRTC_H +#ifndef GODOT_WEBRTC_H +#define GODOT_WEBRTC_H #include @@ -38,7 +38,7 @@ extern "C" { #endif #define GODOT_NET_WEBRTC_API_MAJOR 3 -#define GODOT_NET_WEBRTC_API_MINOR 2 +#define GODOT_NET_WEBRTC_API_MINOR 4 /* Library Interface (used to set default GDNative WebRTC implementation */ typedef struct { @@ -108,6 +108,13 @@ typedef struct { void *next; /* For extension? */ } godot_net_webrtc_data_channel; +/* Extensions to WebRTCDataChannel */ +typedef struct { + int (*get_buffered_amount)(const void *); + + void *next; /* For extension? */ +} godot_net_webrtc_data_channel_ext; + /* Set the default GDNative library */ godot_error GDAPI godot_net_set_webrtc_library(const godot_net_webrtc_library *); /* Binds a WebRTCPeerConnectionGDNative to the provided interface */ @@ -119,4 +126,4 @@ void GDAPI godot_net_bind_webrtc_data_channel(godot_object *p_obj, const godot_n } #endif -#endif +#endif // GODOT_WEBRTC_H diff --git a/gdnative-sys/godot_headers/pluginscript/godot_pluginscript.h b/gdnative-sys/godot_headers/pluginscript/godot_pluginscript.h index 2c2528b8b..7f4f96572 100644 --- a/gdnative-sys/godot_headers/pluginscript/godot_pluginscript.h +++ b/gdnative-sys/godot_headers/pluginscript/godot_pluginscript.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ diff --git a/gdnative-sys/godot_headers/videodecoder/godot_videodecoder.h b/gdnative-sys/godot_headers/videodecoder/godot_videodecoder.h index 714991ca7..cb215d673 100644 --- a/gdnative-sys/godot_headers/videodecoder/godot_videodecoder.h +++ b/gdnative-sys/godot_headers/videodecoder/godot_videodecoder.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef GODOT_NATIVEVIDEODECODER_H -#define GODOT_NATIVEVIDEODECODER_H +#ifndef GODOT_VIDEODECODER_H +#define GODOT_VIDEODECODER_H #include @@ -46,7 +46,7 @@ typedef struct void *next; void *(*constructor)(godot_object *); void (*destructor)(void *); - const char *(*get_plugin_name)(void); + const char *(*get_plugin_name)(); const char **(*get_supported_extensions)(int *count); godot_bool (*open_file)(void *, void *); // data struct, and a FileAccess pointer godot_real (*get_length)(const void *); @@ -72,4 +72,4 @@ void GDAPI godot_videodecoder_register_decoder(const godot_videodecoder_interfac } #endif -#endif /* GODOT_NATIVEVIDEODECODER_H */ +#endif // GODOT_VIDEODECODER_H