Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/editor/project_upgrade/renames_map_3_to_4.cpp
9896 views
1
/**************************************************************************/
2
/* renames_map_3_to_4.cpp */
3
/**************************************************************************/
4
/* This file is part of: */
5
/* GODOT ENGINE */
6
/* https://godotengine.org */
7
/**************************************************************************/
8
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
9
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */
10
/* */
11
/* Permission is hereby granted, free of charge, to any person obtaining */
12
/* a copy of this software and associated documentation files (the */
13
/* "Software"), to deal in the Software without restriction, including */
14
/* without limitation the rights to use, copy, modify, merge, publish, */
15
/* distribute, sublicense, and/or sell copies of the Software, and to */
16
/* permit persons to whom the Software is furnished to do so, subject to */
17
/* the following conditions: */
18
/* */
19
/* The above copyright notice and this permission notice shall be */
20
/* included in all copies or substantial portions of the Software. */
21
/* */
22
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
23
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
24
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
25
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
26
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
27
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
28
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
29
/**************************************************************************/
30
31
#include "renames_map_3_to_4.h"
32
33
#ifndef DISABLE_DEPRECATED
34
35
const char *RenamesMap3To4::enum_renames[][2] = {
36
// Constants
37
// @GlobalScope
38
{ "BUTTON_LEFT", "MOUSE_BUTTON_LEFT" },
39
{ "BUTTON_MASK_LEFT", "MOUSE_BUTTON_MASK_LEFT" },
40
{ "BUTTON_MASK_MIDDLE", "MOUSE_BUTTON_MASK_MIDDLE" },
41
{ "BUTTON_MASK_RIGHT", "MOUSE_BUTTON_MASK_RIGHT" },
42
{ "BUTTON_MASK_XBUTTON1", "MOUSE_BUTTON_MASK_XBUTTON1" },
43
{ "BUTTON_MASK_XBUTTON2", "MOUSE_BUTTON_MASK_XBUTTON2" },
44
{ "BUTTON_MIDDLE", "MOUSE_BUTTON_MIDDLE" },
45
{ "BUTTON_RIGHT", "MOUSE_BUTTON_RIGHT" },
46
{ "BUTTON_WHEEL_DOWN", "MOUSE_BUTTON_WHEEL_DOWN" },
47
{ "BUTTON_WHEEL_LEFT", "MOUSE_BUTTON_WHEEL_LEFT" },
48
{ "BUTTON_WHEEL_RIGHT", "MOUSE_BUTTON_WHEEL_RIGHT" },
49
{ "BUTTON_WHEEL_UP", "MOUSE_BUTTON_WHEEL_UP" },
50
{ "BUTTON_XBUTTON1", "MOUSE_BUTTON_XBUTTON1" },
51
{ "BUTTON_XBUTTON2", "MOUSE_BUTTON_XBUTTON2" },
52
{ "KEY_CONTROL", "KEY_CTRL" },
53
{ "SIDE_BOTTOM", "MARGIN_BOTTOM" },
54
{ "SIDE_LEFT", "MARGIN_LEFT" },
55
{ "SIDE_RIGHT", "MARGIN_RIGHT" },
56
{ "SIDE_TOP", "MARGIN_TOP" },
57
{ "TYPE_COLOR_ARRAY", "TYPE_PACKED_COLOR_ARRAY" },
58
{ "TYPE_FLOAT64_ARRAY", "TYPE_PACKED_FLOAT64_ARRAY" },
59
{ "TYPE_INT64_ARRAY", "TYPE_PACKED_INT64_ARRAY" },
60
{ "TYPE_INT_ARRAY", "TYPE_PACKED_INT32_ARRAY" },
61
{ "TYPE_QUAT", "TYPE_QUATERNION" },
62
{ "TYPE_RAW_ARRAY", "TYPE_PACKED_BYTE_ARRAY" },
63
{ "TYPE_REAL", "TYPE_FLOAT" },
64
{ "TYPE_REAL_ARRAY", "TYPE_PACKED_FLOAT32_ARRAY" },
65
{ "TYPE_STRING_ARRAY", "TYPE_PACKED_STRING_ARRAY" },
66
{ "TYPE_TRANSFORM", "TYPE_TRANSFORM3D" },
67
{ "TYPE_VECTOR2_ARRAY", "TYPE_PACKED_VECTOR2_ARRAY" },
68
{ "TYPE_VECTOR3_ARRAY", "TYPE_PACKED_VECTOR3_ARRAY" },
69
70
// { "FLAG_MAX", "PARTICLE_FLAG_MAX" }, // CPUParticles2D -- Used in more classes.
71
{ "ALIGN_BEGIN", "ALIGNMENT_BEGIN" }, // AspectRatioContainer
72
{ "ALIGN_CENTER", "ALIGNMENT_CENTER" }, // AspectRatioContainer
73
{ "ALIGN_END", "ALIGNMENT_END" }, // AspectRatioContainer
74
{ "ARRAY_COMPRESS_BASE", "ARRAY_COMPRESS_FLAGS_BASE" }, // Mesh
75
{ "ARVR_AR", "XR_AR" }, // XRInterface
76
{ "ARVR_EXCESSIVE_MOTION", "XR_EXCESSIVE_MOTION" }, // XRInterface
77
{ "ARVR_EXTERNAL", "XR_EXTERNAL" }, // XRInterface
78
{ "ARVR_INSUFFICIENT_FEATURES", "XR_INSUFFICIENT_FEATURES" }, // XRInterface
79
{ "ARVR_MONO", "XR_MONO" }, // XRInterface
80
{ "ARVR_NONE", "XR_NONE" }, // XRInterface
81
{ "ARVR_NORMAL_TRACKING", "XR_NORMAL_TRACKING" }, // XRInterface
82
{ "ARVR_NOT_TRACKING", "XR_NOT_TRACKING" }, // XRInterface
83
{ "ARVR_STEREO", "XR_STEREO" }, // XRInterface
84
{ "ARVR_UNKNOWN_TRACKING", "XR_UNKNOWN_TRACKING" }, // XRInterface
85
{ "BAKE_ERROR_INVALID_MESH", "BAKE_ERROR_MESHES_INVALID" }, // LightmapGI
86
{ "BODY_MODE_CHARACTER", "BODY_MODE_RIGID_LINEAR" }, // PhysicsServer
87
{ "CLEAR_MODE_ONLY_NEXT_FRAME", "CLEAR_MODE_ONCE" }, // SubViewport
88
{ "COMPRESS_PVRTC4", "COMPRESS_PVRTC1_4" }, // Image
89
{ "CONNECT_ONESHOT", "CONNECT_ONE_SHOT" }, // Object
90
{ "CONTAINER_PROPERTY_EDITOR_BOTTOM", "CONTAINER_INSPECTOR_BOTTOM" }, // EditorPlugin
91
{ "CUBEMAP_BACK", "CUBEMAP_LAYER_BACK" }, // RenderingServer
92
{ "CUBEMAP_BOTTOM", "CUBEMAP_LAYER_BOTTOM" }, // RenderingServer
93
{ "CUBEMAP_FRONT", "CUBEMAP_LAYER_FRONT" }, // RenderingServer
94
{ "CUBEMAP_LEFT", "CUBEMAP_LAYER_LEFT" }, // RenderingServer
95
{ "CUBEMAP_RIGHT", "CUBEMAP_LAYER_RIGHT" }, // RenderingServer
96
{ "CUBEMAP_TOP", "CUBEMAP_LAYER_TOP" }, // RenderingServer
97
{ "DAMPED_STRING_DAMPING", "DAMPED_SPRING_DAMPING" }, // PhysicsServer2D
98
{ "DAMPED_STRING_REST_LENGTH", "DAMPED_SPRING_REST_LENGTH" }, // PhysicsServer2D
99
{ "DAMPED_STRING_STIFFNESS", "DAMPED_SPRING_STIFFNESS" }, // PhysicsServer2D
100
{ "FLAG_ALIGN_Y_TO_VELOCITY", "PARTICLE_FLAG_ALIGN_Y_TO_VELOCITY" }, // CPUParticles2D
101
{ "FLAG_DISABLE_Z", "PARTICLE_FLAG_DISABLE_Z" }, // CPUParticles2D
102
{ "FLAG_ROTATE_Y", "PARTICLE_FLAG_ROTATE_Y" }, // CPUParticles2D
103
{ "FLAG_USE_BAKED_LIGHT", "GI_MODE_BAKED" }, // GeometryInstance3D
104
{ "FORMAT_PVRTC2", "FORMAT_PVRTC1_2" }, // Image
105
{ "FORMAT_PVRTC2A", "FORMAT_PVRTC1_2A" }, // Image
106
{ "FORMAT_PVRTC4", "FORMAT_PVRTC1_4" }, // Image
107
{ "FORMAT_PVRTC4A", "FORMAT_PVRTC1_4A" }, // Image
108
{ "FUNC_FRAC", "FUNC_FRACT" }, // VisualShaderNodeVectorFunc
109
{ "INSTANCE_LIGHTMAP_CAPTURE", "INSTANCE_LIGHTMAP" }, // RenderingServer
110
{ "JOINT_6DOF", "JOINT_TYPE_6DOF" }, // PhysicsServer3D
111
{ "JOINT_CONE_TWIST", "JOINT_TYPE_CONE_TWIST" }, // PhysicsServer3D
112
{ "JOINT_DAMPED_SPRING", "JOINT_TYPE_DAMPED_SPRING" }, // PhysicsServer2D
113
{ "JOINT_GROOVE", "JOINT_TYPE_GROOVE" }, // PhysicsServer2D
114
{ "JOINT_HINGE", "JOINT_TYPE_HINGE" }, // PhysicsServer3D
115
{ "JOINT_PIN", "JOINT_TYPE_PIN" }, // PhysicsServer2D
116
{ "JOINT_SLIDER", "JOINT_TYPE_SLIDER" }, // PhysicsServer3D
117
{ "LOOP_PING_PONG", "LOOP_PINGPONG" }, // AudioStreamWAV
118
{ "MODE_KINEMATIC", "FREEZE_MODE_KINEMATIC" }, // RigidBody
119
{ "MODE_OPEN_ANY", "FILE_MODE_OPEN_ANY" }, // FileDialog
120
{ "MODE_OPEN_DIR", "FILE_MODE_OPEN_DIR" }, // FileDialog
121
{ "MODE_OPEN_FILE", "FILE_MODE_OPEN_FILE" }, // FileDialog
122
{ "MODE_OPEN_FILES", "FILE_MODE_OPEN_FILES" }, // FileDialog
123
{ "MODE_SAVE_FILE", "FILE_MODE_SAVE_FILE" }, // FileDialog
124
{ "MODE_STATIC", "FREEZE_MODE_STATIC" }, // RigidBody
125
{ "NOTIFICATION_APP_PAUSED", "NOTIFICATION_APPLICATION_PAUSED" }, // MainLoop
126
{ "NOTIFICATION_APP_RESUMED", "NOTIFICATION_APPLICATION_RESUMED" }, // MainLoop
127
{ "NOTIFICATION_INSTANCED", "NOTIFICATION_SCENE_INSTANTIATED" }, // Node
128
{ "NOTIFICATION_PATH_CHANGED", "NOTIFICATION_PATH_RENAMED" }, //Node
129
{ "NOTIFICATION_WM_FOCUS_IN", "NOTIFICATION_APPLICATION_FOCUS_IN" }, // MainLoop
130
{ "NOTIFICATION_WM_FOCUS_OUT", "NOTIFICATION_APPLICATION_FOCUS_OUT" }, // MainLoop
131
{ "NOTIFICATION_WM_UNFOCUS_REQUEST", "NOTIFICATION_WM_WINDOW_FOCUS_OUT" }, //Node
132
{ "PAUSE_MODE_INHERIT", "PROCESS_MODE_INHERIT" }, // Node
133
{ "PAUSE_MODE_PROCESS", "PROCESS_MODE_ALWAYS" }, // Node
134
{ "PAUSE_MODE_STOP", "PROCESS_MODE_PAUSABLE" }, // Node
135
{ "RENDER_DRAW_CALLS_IN_FRAME", "RENDER_TOTAL_DRAW_CALLS_IN_FRAME" }, // Performance
136
{ "RENDER_OBJECTS_IN_FRAME", "RENDER_TOTAL_OBJECTS_IN_FRAME" }, // Performance
137
{ "SOURCE_GEOMETRY_NAVMESH_CHILDREN", "SOURCE_GEOMETRY_ROOT_NODE_CHILDREN" }, // NavigationMesh
138
{ "TEXTURE_TYPE_2D_ARRAY", "TEXTURE_LAYERED_2D_ARRAY" }, // RenderingServer
139
{ "TEXTURE_TYPE_CUBEMAP", "TEXTURE_LAYERED_CUBEMAP_ARRAY" }, // RenderingServer
140
{ "TRACKER_LEFT_HAND", "TRACKER_HAND_LEFT" }, // XRPositionalTracker
141
{ "TRACKER_RIGHT_HAND", "TRACKER_HAND_RIGHT" }, // XRPositionalTracker
142
{ "TYPE_NORMALMAP", "TYPE_NORMAL_MAP" }, // VisualShaderNodeCubemap
143
144
// Enums
145
{ "AlignMode", "AlignmentMode" }, // AspectRatioContainer
146
{ "AnimationProcessMode", "AnimationProcessCallback" }, // AnimationTree, AnimationPlayer
147
{ "Camera2DProcessMode", "Camera2DProcessCallback" }, // Camera2D
148
{ "CubeMapSide", "CubeMapLayer" }, // RenderingServer
149
{ "DampedStringParam", "DampedSpringParam" }, // PhysicsServer2D
150
{ "FFT_Size", "FFTSize" }, // AudioEffectPitchShift, AudioEffectSpectrumAnalyzer
151
{ "PauseMode", "ProcessMode" }, // Node
152
{ "TimerProcessMode", "TimerProcessCallback" }, // Timer
153
{ "Tracking_status", "TrackingStatus" }, // XRInterface
154
{ nullptr, nullptr },
155
};
156
157
const char *RenamesMap3To4::gdscript_function_renames[][2] = {
158
// NOTE: Commented out renames are disabled because deemed not suitable for
159
// the current way the regex-based converter works.
160
// When uncommenting any of those as suitable for conversion, please move it
161
// to the block with other enabled conversions, ordered alphabetically, and
162
// make sure to add it to the C# rename map too.
163
164
// { "_set_name", "get_tracker_name" }, // XRPositionalTracker -- CameraFeed uses this.
165
// { "_unhandled_input", "_unhandled_key_input" }, // BaseButton, ViewportContainer -- Breaks Node, FileDialog, SubViewportContainer.
166
// { "add_animation", "add_animation_library" }, // AnimationPlayer -- Breaks SpriteFrames (and isn't a correct conversion).
167
// { "create_gizmo", "_create_gizmo" }, // EditorNode3DGizmoPlugin -- May be used.
168
// { "get_dependencies", "_get_dependencies" }, // ResourceFormatLoader -- Breaks ResourceLoader.
169
// { "get_extents", "get_size" }, // BoxShape, RectangleShape -- Breaks Decal, VoxelGI, GPUParticlesCollisionBox, GPUParticlesCollisionSDF, GPUParticlesCollisionHeightField, GPUParticlesAttractorBox, GPUParticlesAttractorVectorField, FogVolume
170
// { "get_h_offset", "get_drag_horizontal_offset" }, // Camera2D -- Breaks PathFollow, Camera.
171
// { "get_mode", "get_file_mode" }, // FileDialog -- Breaks Panel, Shader, CSGPolygon, TileMap.
172
// { "get_motion", "get_travel" }, // PhysicsTestMotionResult2D -- Breaks ParallaxLayer.
173
// { "get_name", "get_tracker_name" }, // XRPositionalTracker -- Breaks OS, Node
174
// { "get_network_connected_peers", "get_peers" }, // MultiplayerAPI -- Breaks SceneTree.
175
// { "get_network_peer", "has_multiplayer_peer" }, // MultiplayerAPI -- Breaks SceneTree.
176
// { "get_network_unique_id", "get_unique_id"}, // MultiplayerAPI -- Breaks SceneTree.
177
// { "get_offset", "get_position_offset" }, // GraphNode -- Breaks Gradient.
178
// { "get_peer_port", "get_peer" }, // ENetMultiplayerPeer -- Breaks WebSocketServer.
179
// { "get_points", "get_points_id" }, // AStar -- Breaks Line2D, ConvexPolygonShape.
180
// { "get_process_mode", "get_process_callback" }, // ClippedCamera3D -- Breaks Node, Sky.
181
// { "get_render_info", "get_rendering_info" }, // RenderingServer -- Breaks Viewport.
182
// { "get_stylebox", "get_theme_stylebox" }, // Control -- Would rename the method in Theme as well, skipping.
183
// { "get_type", "get_tracker_type" }, // XRPositionalTracker -- Breaks GLTFAccessor, GLTFLight.
184
// { "get_v_offset", "get_drag_vertical_offset" }, // Camera2D -- Breaks PathFollow, Camera.
185
// { "get_v_scroll", "get_v_scroll_bar" }, // ItemList -- Breaks TextView.
186
// { "has_network_peer", "has_multiplayer_peer" }, // MultiplayerAPI -- Breaks SceneTree.
187
// { "instance", "instantiate" }, // PackedScene, ClassDB -- Breaks FileSystemDock signal, and also .tscn files ("[instance=ExtResource( 17 )]"). This is implemented as custom rule.
188
// { "is_listening", "is_bound"}, // PacketPeerUDP -- Breaks TCPServer, UDPServer.
189
// { "is_refusing_new_network_connections", "is_refusing_new_connections"}, // MultiplayerAPI -- Breaks SceneTree.
190
// { "is_valid", "has_valid_event" }, // Shortcut -- Breaks Callable, and more.
191
// { "listen", "bound"}, // PacketPeerUDP -- Breaks TCPServer, UDPServer.
192
// { "load", "_load"}, // ResourceFormatLoader -- Breaks ConfigFile, Image, StreamTexture2D.
193
// { "make_current", "set_current" }, // Camera2D -- Breaks Camera3D, Listener2D.
194
// { "process", "_process" }, // AnimationNode -- This word is too commonly used.
195
// { "raise", "move_to_front" }, // CanvasItem -- Too common.
196
// { "save", "_save"}, // ResourceFormatLoader -- Breaks ConfigFile, Image, StreamTexture2D.
197
// { "set_autowrap", "set_autowrap_mode" }, // AcceptDialog -- Breaks Label, also a cyclic rename.
198
// { "set_color", "surface_set_color"}, // ImmediateMesh -- Breaks Light2D, Theme, SurfaceTool.
199
// { "set_event", "set_shortcut" }, // BaseButton -- Cyclic rename.
200
// { "set_extents", "set_size"}, // BoxShape, RectangleShape -- Breaks ReflectionProbe.
201
// { "set_flag", "set_particle_flag"}, // ParticleProcessMaterial -- Breaks Window, HingeJoint3D.
202
// { "set_h_offset", "set_drag_horizontal_offset" }, // Camera2D -- Breaks Camera3D, PathFollow3D, PathFollow2D.
203
// { "set_margin", "set_offset" }, // Control -- Breaks Shape3D, AtlasTexture.
204
// { "set_mode", "set_mode_file_mode" }, // FileDialog -- Breaks Panel, Shader, CSGPolygon, TileMap.
205
// { "set_normal", "surface_set_normal"}, // ImmediateGeometry -- Breaks SurfaceTool, WorldMarginShape2D.
206
// { "set_offset", "set_progress" }, // PathFollow2D, PathFollow3D -- Too common.
207
// { "set_process_mode", "set_process_callback" }, // AnimationTree -- Breaks Node, Tween, Sky.
208
// { "set_refuse_new_network_connections", "set_refuse_new_connections"}, // MultiplayerAPI -- Breaks SceneTree.
209
// { "set_tooltip", "set_tooltip_text" }, // Control -- Breaks TreeItem, at least for now.
210
// { "set_uv", "surface_set_uv" }, // ImmediateMesh -- Breaks Polygon2D.
211
// { "set_v_offset", "set_drag_vertical_offset" }, // Camera2D -- Breaks Camera3D, PathFollow3D, PathFollow2D.
212
213
{ "_about_to_show", "_about_to_popup" }, // ColorPickerButton
214
{ "_get_configuration_warning", "_get_configuration_warnings" }, // Node
215
{ "_set_current", "set_current" }, // Camera2D
216
{ "_set_editor_description", "set_editor_description" }, // Node
217
{ "_toplevel_raise_self", "_top_level_raise_self" }, // CanvasItem
218
{ "add_cancel", "add_cancel_button" }, // AcceptDialog
219
{ "add_central_force", "apply_central_force" }, //RigidBody2D
220
{ "add_child_below_node", "add_sibling" }, // Node
221
{ "add_color_override", "add_theme_color_override" }, // Control
222
{ "add_constant_override", "add_theme_constant_override" }, // Control
223
{ "add_font_override", "add_theme_font_override" }, // Control
224
{ "add_force", "apply_force" }, //RigidBody2D
225
{ "add_icon_override", "add_theme_icon_override" }, // Control
226
{ "add_scene_import_plugin", "add_scene_format_importer_plugin" }, //EditorPlugin
227
{ "add_spatial_gizmo_plugin", "add_node_3d_gizmo_plugin" }, // EditorPlugin
228
{ "add_stylebox_override", "add_theme_stylebox_override" }, // Control
229
{ "add_torque", "apply_torque" }, //RigidBody2D
230
{ "agent_set_neighbor_dist", "agent_set_neighbor_distance" }, // NavigationServer2D, NavigationServer3D
231
{ "apply_changes", "_apply_changes" }, // EditorPlugin
232
{ "body_add_force", "body_apply_force" }, // PhysicsServer2D
233
{ "body_add_torque", "body_apply_torque" }, // PhysicsServer2D
234
{ "bumpmap_to_normalmap", "bump_map_to_normal_map" }, // Image
235
{ "can_be_hidden", "_can_be_hidden" }, // EditorNode3DGizmoPlugin
236
{ "can_drop_data", "_can_drop_data" }, // Control
237
{ "can_generate_small_preview", "_can_generate_small_preview" }, // EditorResourcePreviewGenerator
238
{ "can_instance", "can_instantiate" }, // PackedScene, Script
239
{ "canvas_light_set_scale", "canvas_light_set_texture_scale" }, // RenderingServer
240
{ "capture_get_device", "get_input_device" }, // AudioServer
241
{ "capture_get_device_list", "get_input_device_list" }, // AudioServer
242
{ "capture_set_device", "set_input_device" }, // AudioServer
243
{ "center_viewport_to_cursor", "center_viewport_to_caret" }, // TextEdit
244
{ "change_scene", "change_scene_to_file" }, // SceneTree
245
{ "change_scene_to", "change_scene_to_packed" }, // SceneTree
246
{ "clip_polygons_2d", "clip_polygons" }, // Geometry2D
247
{ "clip_polyline_with_polygon_2d", "clip_polyline_with_polygon" }, //Geometry2D
248
{ "commit_handle", "_commit_handle" }, // EditorNode3DGizmo
249
{ "convex_hull_2d", "convex_hull" }, // Geometry2D
250
{ "create_gizmo", "_create_gizmo" }, // EditorNode3DGizmoPlugin
251
{ "cursor_get_blink_speed", "get_caret_blink_interval" }, // TextEdit
252
{ "cursor_get_column", "get_caret_column" }, // TextEdit
253
{ "cursor_get_line", "get_caret_line" }, // TextEdit
254
{ "cursor_set_blink_enabled", "set_caret_blink_enabled" }, // TextEdit
255
{ "cursor_set_blink_speed", "set_caret_blink_interval" }, // TextEdit
256
{ "cursor_set_column", "set_caret_column" }, // TextEdit
257
{ "cursor_set_line", "set_caret_line" }, // TextEdit
258
{ "damped_spring_joint_create", "joint_make_damped_spring" }, // PhysicsServer2D
259
{ "damped_string_joint_get_param", "damped_spring_joint_get_param" }, // PhysicsServer2D
260
{ "damped_string_joint_set_param", "damped_spring_joint_set_param" }, // PhysicsServer2D
261
{ "dectime", "move_toward" }, // GDScript, Math functions
262
{ "delete_char_at_cursor", "delete_char_at_caret" }, // LineEdit
263
{ "deselect_items", "deselect_all" }, // FileDialog
264
{ "disable_plugin", "_disable_plugin" }, // EditorPlugin
265
{ "drop_data", "_drop_data" }, // Control
266
{ "exclude_polygons_2d", "exclude_polygons" }, // Geometry2D
267
{ "find_node", "find_child" }, // Node
268
{ "find_scancode_from_string", "find_keycode_from_string" }, // OS
269
{ "forward_canvas_draw_over_viewport", "_forward_canvas_draw_over_viewport" }, // EditorPlugin
270
{ "forward_canvas_force_draw_over_viewport", "_forward_canvas_force_draw_over_viewport" }, // EditorPlugin
271
{ "forward_canvas_gui_input", "_forward_canvas_gui_input" }, // EditorPlugin
272
{ "forward_spatial_draw_over_viewport", "_forward_3d_draw_over_viewport" }, // EditorPlugin
273
{ "forward_spatial_force_draw_over_viewport", "_forward_3d_force_draw_over_viewport" }, // EditorPlugin
274
{ "forward_spatial_gui_input", "_forward_3d_gui_input" }, // EditorPlugin
275
{ "generate_from_path", "_generate_from_path" }, // EditorResourcePreviewGenerator
276
{ "generate_small_preview_automatically", "_generate_small_preview_automatically" }, // EditorResourcePreviewGenerator
277
{ "get_action_list", "action_get_events" }, // InputMap
278
{ "get_alt", "is_alt_pressed" }, // InputEventWithModifiers
279
{ "get_animation_process_mode", "get_process_callback" }, // AnimationPlayer
280
{ "get_applied_force", "get_constant_force" }, //RigidBody2D
281
{ "get_applied_torque", "get_constant_torque" }, //RigidBody2D
282
{ "get_audio_bus", "get_audio_bus_name" }, // Area3D
283
{ "get_bound_child_nodes_to_bone", "get_bone_children" }, // Skeleton3D
284
{ "get_camera", "get_camera_3d" }, // Viewport -- This is also convertible to get_camera_2d. Breaks GLTFNode.
285
{ "get_cancel", "get_cancel_button" }, // ConfirmationDialog
286
{ "get_caption", "_get_caption" }, // AnimationNode
287
{ "get_cast_to", "get_target_position" }, // RayCast2D, RayCast3D
288
{ "get_child_by_name", "_get_child_by_name" }, // AnimationNode
289
{ "get_child_nodes", "_get_child_nodes" }, // AnimationNode
290
{ "get_closest_point_to_segment_2d", "get_closest_point_to_segment" }, // Geometry2D
291
{ "get_closest_point_to_segment_uncapped_2d", "get_closest_point_to_segment_uncapped" }, // Geometry2D
292
{ "get_closest_points_between_segments_2d", "get_closest_point_to_segment" }, // Geometry2D
293
{ "get_collision_layer_bit", "get_collision_layer_value" }, // CSGShape3D, and a lot of others like GridMap.
294
{ "get_collision_mask_bit", "get_collision_mask_value" }, // CSGShape3D, and a lot of others like GridMap.
295
{ "get_color_types", "get_color_type_list" }, // Theme
296
{ "get_command", "is_command_or_control_pressed" }, // InputEventWithModifiers
297
{ "get_constant_types", "get_constant_type_list" }, // Theme
298
{ "get_control", "is_ctrl_pressed" }, // InputEventWithModifiers
299
{ "get_cull_mask_bit", "get_cull_mask_value" }, // Camera3D
300
{ "get_cursor_position", "get_caret_column" }, // LineEdit
301
{ "get_d", "get_distance" }, // LineShape2D
302
{ "get_default_length", "get_length" }, // Bone2D
303
{ "get_depth_bias_enable", "get_depth_bias_enabled" }, // RDPipelineRasterizationState
304
{ "get_device", "get_output_device" }, // AudioServer
305
{ "get_device_list", "get_output_device_list" }, // AudioServer
306
{ "get_drag_data", "_get_drag_data" }, // Control
307
{ "get_editor_viewport", "get_editor_main_screen" }, // EditorPlugin
308
{ "get_enabled_focus_mode", "get_focus_mode" }, // BaseButton
309
{ "get_endian_swap", "is_big_endian" }, // File
310
{ "get_error_string", "get_error_message" }, // JSON
311
{ "get_filename", "get_scene_file_path" }, // Node -- WARNING: This may be used in a lot of other places.
312
{ "get_final_location", "get_final_position" }, // NavigationAgent2D, NavigationAgent3D
313
{ "get_focus_neighbour", "get_focus_neighbor" }, // Control
314
{ "get_follow_smoothing", "get_position_smoothing_speed" }, // Camera2D
315
{ "get_font_types", "get_font_type_list" }, // Theme
316
{ "get_frame_color", "get_color" }, // ColorRect
317
{ "get_global_rate_scale", "get_playback_speed_scale" }, // AudioServer
318
{ "get_gravity_distance_scale", "get_gravity_point_unit_distance" }, // Area2D, Area3D
319
{ "get_gravity_vector", "get_gravity_direction" }, // Area(2D/3D)
320
{ "get_h_scrollbar", "get_h_scroll_bar" }, //ScrollContainer
321
{ "get_hand", "get_tracker_hand" }, // XRPositionalTracker
322
{ "get_handle_name", "_get_handle_name" }, // EditorNode3DGizmo
323
{ "get_handle_value", "_get_handle_value" }, // EditorNode3DGizmo
324
{ "get_icon_align", "get_icon_alignment" }, // Button
325
{ "get_icon_types", "get_icon_type_list" }, // Theme
326
{ "get_idle_frames", "get_process_frames" }, // Engine
327
{ "get_import_options", "_get_import_options" }, // EditorImportPlugin
328
{ "get_import_order", "_get_import_order" }, // EditorImportPlugin
329
{ "get_importer_name", "_get_importer_name" }, // EditorImportPlugin
330
{ "get_interior_ambient", "get_ambient_color" }, // ReflectionProbe
331
{ "get_interior_ambient_energy", "get_ambient_color_energy" }, // ReflectionProbe
332
{ "get_item_navmesh", "get_item_navigation_mesh" }, // MeshLibrary
333
{ "get_item_navmesh_transform", "get_item_navigation_mesh_transform" }, // MeshLibrary
334
{ "get_iterations_per_second", "get_physics_ticks_per_second" }, // Engine
335
{ "get_last_mouse_speed", "get_last_mouse_velocity" }, // Input
336
{ "get_layer_mask_bit", "get_layer_mask_value" }, // VisualInstance3D
337
{ "get_len", "get_length" }, // File
338
{ "get_max_atlas_size", "get_max_texture_size" }, // LightmapGI
339
{ "get_metakey", "is_meta_pressed" }, // InputEventWithModifiers
340
{ "get_mid_height", "get_height" }, // CapsuleMesh
341
{ "get_motion_remainder", "get_remainder" }, // PhysicsTestMotionResult2D
342
{ "get_nav_path", "get_current_navigation_path" }, // NavigationAgent2D, NavigationAgent3D
343
{ "get_nav_path_index", "get_current_navigation_path_index" }, // NavigationAgent2D, NavigationAgent3D
344
{ "get_neighbor_dist", "get_neighbor_distance" }, // NavigationAgent2D, NavigationAgent3D
345
{ "get_network_connected_peers", "get_peers" }, // Multiplayer API
346
{ "get_network_master", "get_multiplayer_authority" }, // Node
347
{ "get_network_peer", "get_multiplayer_peer" }, // Multiplayer API
348
{ "get_network_unique_id", "get_unique_id" }, // Multiplayer API
349
{ "get_next_location", "get_next_path_position" }, // NavigationAgent2D, NavigationAgent3D
350
{ "get_ok", "get_ok_button" }, // AcceptDialog
351
{ "get_oneshot", "get_one_shot" }, // AnimatedTexture
352
{ "get_option_visibility", "_get_option_visibility" }, // EditorImportPlugin
353
{ "get_parameter_default_value", "_get_parameter_default_value" }, // AnimationNode
354
{ "get_parameter_list", "_get_parameter_list" }, // AnimationNode
355
{ "get_parent_spatial", "get_parent_node_3d" }, // Node3D
356
{ "get_pause_mode", "get_process_mode" }, // Node
357
{ "get_physical_scancode", "get_physical_keycode" }, // InputEventKey
358
{ "get_physical_scancode_with_modifiers", "get_physical_keycode_with_modifiers" }, // InputEventKey
359
{ "get_plugin_icon", "_get_plugin_icon" }, // EditorPlugin
360
{ "get_plugin_name", "_get_plugin_name" }, // EditorPlugin
361
{ "get_preset_count", "_get_preset_count" }, // EditorImportPlugin
362
{ "get_preset_name", "_get_preset_name" }, // EditorImportPlugin
363
{ "get_recognized_extensions", "_get_recognized_extensions" }, // ResourceFormatLoader, EditorImportPlugin -- Breaks ResourceSaver.
364
{ "get_render_info", "get_rendering_info" }, // RenderingServer
365
{ "get_render_targetsize", "get_render_target_size" }, // XRInterface
366
{ "get_resource_type", "_get_resource_type" }, // ResourceFormatLoader
367
{ "get_result", "get_data" }, // JSON
368
{ "get_reverb_bus", "set_reverb_bus_name" }, // Area3D
369
{ "get_rpc_sender_id", "get_remote_sender_id" }, // Multiplayer API
370
{ "get_save_extension", "_get_save_extension" }, // EditorImportPlugin
371
{ "get_scancode", "get_keycode" }, // InputEventKey
372
{ "get_scancode_string", "get_keycode_string" }, // OS
373
{ "get_scancode_with_modifiers", "get_keycode_with_modifiers" }, // InputEventKey
374
{ "get_selected_path", "get_current_directory" }, // EditorInterface
375
{ "get_shader_param", "get_shader_parameter" }, // ShaderMaterial
376
{ "get_shift", "is_shift_pressed" }, // InputEventWithModifiers
377
{ "get_size_override", "get_size_2d_override" }, // SubViewport
378
{ "get_slide_count", "get_slide_collision_count" }, // CharacterBody2D, CharacterBody3D
379
{ "get_slips_on_slope", "get_slide_on_slope" }, // SeparationRayShape2D, SeparationRayShape3D
380
{ "get_space_override_mode", "get_gravity_space_override_mode" }, // Area2D
381
{ "get_spatial_node", "get_node_3d" }, // EditorNode3DGizmo
382
{ "get_speed", "get_velocity" }, // InputEventMouseMotion
383
{ "get_stylebox_types", "get_stylebox_type_list" }, // Theme
384
{ "get_surface_material", "get_surface_override_material" }, // MeshInstance3D -- Breaks ImporterMesh.
385
{ "get_surface_material_count", "get_surface_override_material_count" }, // MeshInstance3D
386
{ "get_tab_disabled", "is_tab_disabled" }, // Tab
387
{ "get_tab_hidden", "is_tab_hidden" }, // Tab
388
{ "get_target_location", "get_target_position" }, // NavigationAgent2D, NavigationAgent3D
389
{ "get_text_align", "get_text_alignment" }, // Button
390
{ "get_theme_item_types", "get_theme_item_type_list" }, // Theme
391
{ "get_timer_process_mode", "get_timer_process_callback" }, // Timer
392
{ "get_translation", "get_position" }, // Node3D -- Breaks GLTFNode, but it is used rarely.
393
{ "get_uniform_name", "get_parameter_name" }, // ParameterRef
394
{ "get_unit_db", "get_volume_db" }, // AudioStreamPlayer3D
395
{ "get_unit_offset", "get_progress_ratio" }, // PathFollow2D, PathFollow3D
396
{ "get_use_in_baked_light", "is_baking_navigation" }, // GridMap
397
{ "get_verts_per_poly", "get_vertices_per_polygon" }, // NavigationMesh
398
{ "get_v_scrollbar", "get_v_scroll_bar" }, // ScrollContainer
399
{ "get_visible_name", "_get_visible_name" }, // EditorImportPlugin
400
{ "get_window_layout", "_get_window_layout" }, // EditorPlugin
401
{ "get_word_under_cursor", "get_word_under_caret" }, // TextEdit
402
{ "get_world", "get_world_3d" }, // Viewport, Node3D
403
{ "get_zfar", "get_far" }, // Camera3D -- Breaks GLTFCamera
404
{ "get_znear", "get_near" }, // Camera3D -- Breaks GLTFCamera
405
{ "groove_joint_create", "joint_make_groove" }, // PhysicsServer2D
406
{ "handle_menu_selected", "_handle_menu_selected" }, // EditorResourcePicker
407
{ "handles_type", "_handles_type" }, // ResourceFormatLoader
408
{ "has_color", "has_theme_color" }, // Control -- Breaks Theme
409
{ "has_color_override", "has_theme_color_override" }, // Control -- Breaks Theme
410
{ "has_constant", "has_theme_constant" }, // Control
411
{ "has_constant_override", "has_theme_constant_override" }, // Control
412
{ "has_filter", "_has_filter" }, // AnimationNode
413
{ "has_font", "has_theme_font" }, // Control -- Breaks Theme
414
{ "has_font_override", "has_theme_font_override" }, // Control
415
{ "has_icon", "has_theme_icon" }, // Control -- Breaks Theme
416
{ "has_icon_override", "has_theme_icon_override" }, // Control
417
{ "has_main_screen", "_has_main_screen" }, // EditorPlugin
418
{ "has_network_peer", "has_multiplayer_peer" }, // Multiplayer API
419
{ "has_stylebox", "has_theme_stylebox" }, // Control -- Breaks Theme
420
{ "has_stylebox_override", "has_theme_stylebox_override" }, // Control
421
{ "http_escape", "uri_encode" }, // String
422
{ "http_unescape", "uri_decode" }, // String
423
{ "import_scene_from_other_importer", "_import_scene" }, // EditorSceneFormatImporter
424
{ "instance_set_surface_material", "instance_set_surface_override_material" }, // RenderingServer
425
{ "interpolate", "sample" }, // Curve, Curve2D, Curve3D, Gradient
426
{ "intersect_polygons_2d", "intersect_polygons" }, // Geometry2D
427
{ "intersect_polyline_with_polygon_2d", "intersect_polyline_with_polygon" }, // Geometry2D
428
{ "is_a_parent_of", "is_ancestor_of" }, // Node
429
{ "is_commiting_action", "is_committing_action" }, // UndoRedo
430
{ "is_doubleclick", "is_double_click" }, // InputEventMouseButton
431
{ "is_draw_red", "is_draw_warning" }, // EditorProperty
432
{ "is_follow_smoothing_enabled", "is_position_smoothing_enabled" }, // Camera2D
433
{ "is_h_drag_enabled", "is_drag_horizontal_enabled" }, // Camera2D
434
{ "is_handle_highlighted", "_is_handle_highlighted" }, // EditorNode3DGizmo, EditorNode3DGizmoPlugin
435
{ "is_inverting_faces", "get_flip_faces" }, // CSGPrimitive3D
436
{ "is_network_master", "is_multiplayer_authority" }, // Node
437
{ "is_network_server", "is_server" }, // Multiplayer API
438
{ "is_normalmap", "is_normal_map" }, // NoiseTexture
439
{ "is_refusing_new_network_connections", "is_refusing_new_connections" }, // Multiplayer API
440
{ "is_region", "is_region_enabled" }, // Sprite2D
441
{ "is_rotating", "is_ignoring_rotation" }, // Camera2D
442
{ "is_scancode_unicode", "is_keycode_unicode" }, // OS
443
{ "is_selectable_when_hidden", "_is_selectable_when_hidden" }, // EditorNode3DGizmoPlugin
444
{ "is_set_as_toplevel", "is_set_as_top_level" }, // CanvasItem
445
{ "is_shortcut", "matches_event" }, // Shortcut
446
{ "is_size_override_stretch_enabled", "is_size_2d_override_stretch_enabled" }, // SubViewport
447
{ "is_sort_enabled", "is_y_sort_enabled" }, // Node2D
448
{ "is_static_body", "is_able_to_sleep" }, // PhysicalBone3D -- Not sure.
449
{ "is_v_drag_enabled", "is_drag_vertical_enabled" }, // Camera2D
450
{ "joint_create_cone_twist", "joint_make_cone_twist" }, // PhysicsServer3D
451
{ "joint_create_generic_6dof", "joint_make_generic_6dof" }, // PhysicsServer3D
452
{ "joint_create_hinge", "joint_make_hinge" }, // PhysicsServer3D
453
{ "joint_create_pin", "joint_make_pin" }, // PhysicsServer3D
454
{ "joint_create_slider", "joint_make_slider" }, // PhysicsServer3D
455
{ "line_intersects_line_2d", "line_intersects_line" }, // Geometry2D
456
{ "load_from_globals", "load_from_project_settings" }, // InputMap
457
{ "load_interactive", "load_threaded_request" }, // ResourceLoader -- "load_threaded_request" could be an alternative, but it is used differently.
458
{ "make_convex_from_brothers", "make_convex_from_siblings" }, // CollisionShape3D
459
{ "make_visible", "_make_visible" }, // EditorPlugin
460
{ "merge_polygons_2d", "merge_polygons" }, // Geometry2D
461
{ "mesh_surface_get_format", "mesh_surface_get_format_attribute_stride" }, // RenderingServer
462
{ "mesh_surface_update_region", "mesh_surface_update_attribute_region" }, // RenderingServer
463
{ "move_to_bottom", "move_after" }, // Skeleton3D
464
{ "move_to_top", "move_before" }, // Skeleton3D
465
{ "multimesh_allocate", "multimesh_allocate_data" }, // RenderingServer
466
{ "normalmap_to_xy", "normal_map_to_xy" }, // Image
467
{ "offset_polygon_2d", "offset_polygon" }, // Geometry2D
468
{ "offset_polyline_2d", "offset_polyline" }, // Geometry2D
469
{ "percent_decode", "uri_decode" }, // String
470
{ "percent_encode", "uri_encode" }, // String
471
{ "pin_joint_create", "joint_make_pin" }, // PhysicsServer2D
472
{ "popup_centered_minsize", "popup_centered_clamped" }, // Window
473
{ "post_import", "_post_import" }, // EditorScenePostImport
474
{ "print_stray_nodes", "print_orphan_nodes" }, // Node
475
{ "property_list_changed_notify", "notify_property_list_changed" }, // Object
476
{ "recognize", "_recognize" }, // ResourceFormatLoader
477
{ "regen_normalmaps", "regen_normal_maps" }, // ArrayMesh
478
{ "region_bake_navmesh", "region_bake_navigation_mesh" }, // Navigation3DServer
479
{ "region_set_navmesh", "region_set_navigation_mesh" }, // Navigation3DServer
480
{ "region_set_navpoly", "region_set_navigation_polygon" }, // Navigation2DServer
481
{ "remove_animation", "remove_animation_library" }, // AnimationPlayer
482
{ "remove_color_override", "remove_theme_color_override" }, // Control
483
{ "remove_constant_override", "remove_theme_constant_override" }, // Control
484
{ "remove_font_override", "remove_theme_font_override" }, // Control
485
{ "remove_icon_override", "remove_theme_icon_override" }, // Control
486
{ "remove_scene_import_plugin", "remove_scene_format_importer_plugin" }, //EditorPlugin
487
{ "remove_spatial_gizmo_plugin", "remove_node_3d_gizmo_plugin" }, // EditorPlugin
488
{ "remove_stylebox_override", "remove_theme_stylebox_override" }, // Control
489
{ "rename_animation", "rename_animation_library" }, // AnimationPlayer
490
{ "rename_dependencies", "_rename_dependencies" }, // ResourceFormatLoader
491
{ "save_external_data", "_save_external_data" }, // EditorPlugin
492
{ "segment_intersects_segment_2d", "segment_intersects_segment" }, // Geometry2D
493
{ "set_adjustment_enable", "set_adjustment_enabled" }, // Environment
494
{ "set_alt", "set_alt_pressed" }, // InputEventWithModifiers
495
{ "set_anchor_and_margin", "set_anchor_and_offset" }, // Control
496
{ "set_anchors_and_margins_preset", "set_anchors_and_offsets_preset" }, // Control
497
{ "set_animation_process_mode", "set_process_callback" }, // AnimationPlayer
498
{ "set_as_bulk_array", "set_buffer" }, // MultiMesh
499
{ "set_as_normalmap", "set_as_normal_map" }, // NoiseTexture
500
{ "set_as_toplevel", "set_as_top_level" }, // CanvasItem
501
{ "set_audio_bus", "set_audio_bus_name" }, // Area3D
502
{ "set_autowrap", "set_autowrap_mode" }, // Label -- Breaks AcceptDialog.
503
{ "set_cast_to", "set_target_position" }, // RayCast2D, RayCast3D
504
{ "set_collision_layer_bit", "set_collision_layer_value" }, // CSGShape3D, and a lot of others like GridMap.
505
{ "set_collision_mask_bit", "set_collision_mask_value" }, // CSGShape3D, and a lot of others like GridMap.
506
{ "set_column_min_width", "set_column_custom_minimum_width" }, // Tree
507
{ "set_command", "set_meta_pressed" }, // InputEventWithModifiers
508
{ "set_control", "set_ctrl_pressed" }, // InputEventWithModifiers
509
{ "set_create_options", "_set_create_options" }, // EditorResourcePicker
510
{ "set_cull_mask_bit", "set_cull_mask_value" }, // Camera3D
511
{ "set_cursor_position", "set_caret_column" }, // LineEdit
512
{ "set_d", "set_distance" }, // WorldMarginShape2D
513
{ "set_default_length", "set_length" }, // Bone2D
514
{ "set_depth_bias_enable", "set_depth_bias_enabled" }, // RDPipelineRasterizationState
515
{ "set_device", "set_output_device" }, // AudioServer
516
{ "set_doubleclick", "set_double_click" }, // InputEventMouseButton
517
{ "set_draw_red", "set_draw_warning" }, // EditorProperty
518
{ "set_enable_follow_smoothing", "set_position_smoothing_enabled" }, // Camera2D
519
{ "set_enabled_focus_mode", "set_focus_mode" }, // BaseButton
520
{ "set_endian_swap", "set_big_endian" }, // File
521
{ "set_expand_to_text_length", "set_expand_to_text_length_enabled" }, // LineEdit
522
{ "set_filename", "set_scene_file_path" }, // Node -- WARNING: This may be used in a lot of other places.
523
{ "set_focus_neighbour", "set_focus_neighbor" }, // Control
524
{ "set_follow_smoothing", "set_position_smoothing_speed" }, // Camera2D
525
{ "set_frame_color", "set_color" }, // ColorRect
526
{ "set_global_rate_scale", "set_playback_speed_scale" }, // AudioServer
527
{ "set_gravity_distance_scale", "set_gravity_point_unit_distance" }, // Area2D, Area3D
528
{ "set_gravity_vector", "set_gravity_direction" }, // Area2D, Area3D
529
{ "set_h_drag_enabled", "set_drag_horizontal_enabled" }, // Camera2D
530
{ "set_icon_align", "set_icon_alignment" }, // Button
531
{ "set_interior_ambient", "set_ambient_color" }, // ReflectionProbe
532
{ "set_interior_ambient_energy", "set_ambient_color_energy" }, // ReflectionProbe
533
{ "set_invert_faces", "set_flip_faces" }, // CSGPrimitive3D
534
{ "set_is_initialized", "_is_initialized" }, // XRInterface
535
{ "set_is_primary", "set_primary" }, // XRInterface
536
{ "set_item_navmesh", "set_item_navigation_mesh" }, // MeshLibrary
537
{ "set_item_navmesh_transform", "set_item_navigation_mesh_transform" }, // MeshLibrary
538
{ "set_iterations_per_second", "set_physics_ticks_per_second" }, // Engine
539
{ "set_layer_mask_bit", "set_layer_mask_value" }, // VisualInstance3D
540
{ "set_margins_preset", "set_offsets_preset" }, // Control
541
{ "set_max_atlas_size", "set_max_texture_size" }, // LightmapGI
542
{ "set_metakey", "set_meta_pressed" }, // InputEventWithModifiers
543
{ "set_mid_height", "set_height" }, // CapsuleMesh
544
{ "set_neighbor_dist", "set_neighbor_distance" }, // NavigationAgent2D, NavigationAgent3D
545
{ "set_network_master", "set_multiplayer_authority" }, // Node
546
{ "set_network_peer", "set_multiplayer_peer" }, // Multiplayer API
547
{ "set_oneshot", "set_one_shot" }, // AnimatedTexture
548
{ "set_pause_mode", "set_process_mode" }, // Node
549
{ "set_physical_scancode", "set_physical_keycode" }, // InputEventKey
550
{ "set_proximity_fade", "set_proximity_fade_enabled" }, // Material
551
{ "set_refuse_new_network_connections", "set_refuse_new_connections" }, // Multiplayer API
552
{ "set_region", "set_region_enabled" }, // Sprite2D -- Sprite breaks AtlasTexture.
553
{ "set_region_filter_clip", "set_region_filter_clip_enabled" }, // Sprite2D
554
{ "set_reverb_bus", "set_reverb_bus_name" }, // Area3D
555
{ "set_rotate", "set_rotates" }, // PathFollow2D
556
{ "set_scancode", "set_keycode" }, // InputEventKey
557
{ "set_shader_param", "set_shader_parameter" }, // ShaderMaterial
558
{ "set_shift", "set_shift_pressed" }, // InputEventWithModifiers
559
{ "set_size_override", "set_size_2d_override" }, // SubViewport -- Breaks ImageTexture.
560
{ "set_size_override_stretch", "set_size_2d_override_stretch" }, // SubViewport
561
{ "set_slips_on_slope", "set_slide_on_slope" }, // SeparationRayShape2D, SeparationRayShape3D
562
{ "set_sort_enabled", "set_y_sort_enabled" }, // Node2D
563
{ "set_space_override_mode", "set_gravity_space_override_mode" }, // Area2D
564
{ "set_spatial_node", "set_node_3d" }, // EditorNode3DGizmo
565
{ "set_speed", "set_velocity" }, // InputEventMouseMotion
566
{ "set_ssao_edge_sharpness", "set_ssao_sharpness" }, // Environment
567
{ "set_surface_material", "set_surface_override_material" }, // MeshInstance3D -- Breaks ImporterMesh.
568
{ "set_tab_align", "set_tab_alignment" }, // TabContainer
569
{ "set_tangent", "surface_set_tangent" }, // ImmediateGeometry -- Breaks SurfaceTool.
570
{ "set_target_location", "set_target_position" }, // NavigationAgent2D, NavigationAgent3D
571
{ "set_text_align", "set_text_alignment" }, // Button
572
{ "set_timer_process_mode", "set_timer_process_callback" }, // Timer
573
{ "set_translation", "set_position" }, // Node3D -- This breaks GLTFNode, but it is used rarely.
574
{ "set_uniform_name", "set_parameter_name" }, // ParameterRef
575
{ "set_unit_db", "set_volume_db" }, // AudioStreamPlayer3D
576
{ "set_unit_offset", "set_progress_ratio" }, // PathFollow2D, PathFollow3D
577
{ "set_uv2", "surface_set_uv2" }, // ImmediateMesh -- Breaks SurfaceTool.
578
{ "set_verts_per_poly", "set_vertices_per_polygon" }, // NavigationMesh
579
{ "set_v_drag_enabled", "set_drag_vertical_enabled" }, // Camera2D
580
{ "set_valign", "set_vertical_alignment" }, // Label
581
{ "set_window_layout", "_set_window_layout" }, // EditorPlugin
582
{ "set_zfar", "set_far" }, // Camera3D -- Breaks GLTFCamera.
583
{ "set_znear", "set_near" }, // Camera3D -- Breaks GLTFCamera.
584
{ "shortcut_match", "is_match" }, // InputEvent
585
{ "skeleton_allocate", "skeleton_allocate_data" }, // RenderingServer
586
{ "surface_update_region", "surface_update_attribute_region" }, // ArrayMesh
587
{ "track_remove_key_at_position", "track_remove_key_at_time" }, // Animation
588
{ "triangulate_delaunay_2d", "triangulate_delaunay" }, // Geometry2D
589
{ "unselect", "deselect" }, // ItemList
590
{ "unselect_all", "deselect_all" }, // ItemList
591
{ "update_configuration_warning", "update_configuration_warnings" }, // Node
592
{ "update_gizmo", "update_gizmos" }, // Node3D
593
{ "viewport_set_use_arvr", "viewport_set_use_xr" }, // RenderingServer
594
{ "warp_mouse_position", "warp_mouse" }, // Input
595
{ "world_to_map", "local_to_map" }, // TileMap, GridMap
596
597
// Builtin types
598
// Remember to add them to the builtin_types_excluded_functions variable, because for now these functions cannot be listed.
599
// { "empty", "is_empty" }, // Array -- Used as custom rule. Be careful, this will be used everywhere.
600
// { "invert", "reverse" }, // Array -- Give it a check. Be careful, this will be used everywhere.
601
// { "remove", "remove_at" }, // Array -- Breaks Directory and several more.
602
{ "clamped", "limit_length" }, // Vector2
603
{ "get_rotation_quat", "get_rotation_quaternion" }, // Basis
604
{ "grow_margin", "grow_side" }, // Rect2
605
{ "is_abs_path", "is_absolute_path" }, // String
606
{ "is_valid_integer", "is_valid_int" }, // String
607
{ "linear_interpolate", "lerp" }, // Color
608
{ "find_last", "rfind" }, // Array, String
609
{ "to_ascii", "to_ascii_buffer" }, // String
610
{ "to_utf8", "to_utf8_buffer" }, // String
611
{ "to_wchar", "to_wchar_buffer" }, // String
612
613
// @GlobalScope
614
// Remember to add them to the builtin_types_excluded_functions variable, because for now these functions cannot be listed.
615
{ "bytes2var", "bytes_to_var" },
616
{ "bytes2var_with_objects", "bytes_to_var_with_objects" },
617
{ "db2linear", "db_to_linear" },
618
{ "deg2rad", "deg_to_rad" },
619
{ "linear2db", "linear_to_db" },
620
{ "rad2deg", "rad_to_deg" },
621
{ "rand_range", "randf_range" },
622
{ "range_lerp", "remap" },
623
{ "stepify", "snapped" },
624
{ "str2var", "str_to_var" },
625
{ "var2str", "var_to_str" },
626
{ "var2bytes", "var_to_bytes" },
627
{ "var2bytes_with_objects", "var_to_bytes_with_objects" },
628
629
// @GDScript
630
// Remember to add them to the builtin_types_excluded_functions variable, because for now these functions cannot be listed.
631
{ "dict2inst", "dict_to_inst" },
632
{ "inst2dict", "inst_to_dict" },
633
634
{ nullptr, nullptr },
635
};
636
637
// gdscript_function_renames clone with CamelCase
638
const char *RenamesMap3To4::csharp_function_renames[][2] = {
639
{ "_AboutToShow", "_AboutToPopup" }, // ColorPickerButton
640
{ "_GetConfigurationWarning", "_GetConfigurationWarnings" }, // Node
641
{ "_SetCurrent", "SetCurrent" }, // Camera2D
642
{ "_SetEditorDescription", "SetEditorDescription" }, // Node
643
{ "_SetPlaying", "SetPlaying" }, // AnimatedSprite3D
644
{ "_ToplevelRaiseSelf", "_TopLevelRaiseSelf" }, // CanvasItem
645
{ "AddCancel", "AddCancelButton" }, // AcceptDialog
646
{ "AddCentralForce", "AddConstantCentralForce" }, //RigidBody2D
647
{ "AddChildBelowNode", "AddSibling" }, // Node
648
{ "AddColorOverride", "AddThemeColorOverride" }, // Control
649
{ "AddConstantOverride", "AddThemeConstantOverride" }, // Control
650
{ "AddFontOverride", "AddThemeFontOverride" }, // Control
651
{ "AddForce", "AddConstantForce" }, //RigidBody2D
652
{ "AddIconOverride", "AddThemeIconOverride" }, // Control
653
{ "AddSceneImportPlugin", "AddSceneFormatImporterPlugin" }, //EditorPlugin
654
{ "AddSpatialGizmoPlugin", "AddNode3dGizmoPlugin" }, // EditorPlugin
655
{ "AddStyleboxOverride", "AddThemeStyleboxOverride" }, // Control
656
{ "AddTorque", "AddConstantTorque" }, //RigidBody2D
657
{ "AgentSetNeighborDist", "AgentSetNeighborDistance" }, // NavigationServer2D, NavigationServer3D
658
{ "BindChildNodeToBone", "SetBoneChildren" }, // Skeleton3D
659
{ "BumpmapToNormalmap", "BumpMapToNormalMap" }, // Image
660
{ "CanBeHidden", "_CanBeHidden" }, // EditorNode3DGizmoPlugin
661
{ "CanDropData", "_CanDropData" }, // Control
662
{ "CanDropDataFw", "_CanDropDataFw" }, // ScriptEditor
663
{ "CanGenerateSmallPreview", "_CanGenerateSmallPreview" }, // EditorResourcePreviewGenerator
664
{ "CanInstance", "CanInstantiate" }, // PackedScene, Script
665
{ "CanvasLightSetScale", "CanvasLightSetTextureScale" }, // RenderingServer
666
{ "CaptureGetDevice", "GetInputDevice" }, // AudioServer
667
{ "CaptureGetDeviceList", "GetInputDeviceList" }, // AudioServer
668
{ "CaptureSetDevice", "SetInputDevice" }, // AudioServer
669
{ "CenterViewportToCursor", "CenterViewportToCaret" }, // TextEdit
670
{ "ChangeScene", "ChangeSceneToFile" }, // SceneTree
671
{ "ChangeSceneTo", "ChangeSceneToPacked" }, // SceneTree
672
{ "ClipPolygons2d", "ClipPolygons" }, // Geometry2D
673
{ "ClipPolylineWithPolygon2d", "ClipPolylineWithPolygon" }, //Geometry2D
674
{ "CommitHandle", "_CommitHandle" }, // EditorNode3DGizmo
675
{ "ConvexHull2d", "ConvexHull" }, // Geometry2D
676
{ "CursorGetBlinkSpeed", "GetCaretBlinkInterval" }, // TextEdit
677
{ "CursorGetColumn", "GetCaretColumn" }, // TextEdit
678
{ "CursorGetLine", "GetCaretLine" }, // TextEdit
679
{ "CursorSetBlinkEnabled", "SetCaretBlinkEnabled" }, // TextEdit
680
{ "CursorSetBlinkSpeed", "SetCaretBlinkInterval" }, // TextEdit
681
{ "CursorSetColumn", "SetCaretColumn" }, // TextEdit
682
{ "CursorSetLine", "SetCaretLine" }, // TextEdit
683
{ "DampedSpringJointCreate", "JointMakeDampedSpring" }, // PhysicsServer2D
684
{ "DampedStringJointGetParam", "DampedSpringJointGetParam" }, // PhysicsServer2D
685
{ "DampedStringJointSetParam", "DampedSpringJointSetParam" }, // PhysicsServer2D
686
{ "DeleteCharAtCursor", "DeleteCharAtCaret" }, // LineEdit
687
{ "DeselectItems", "DeselectAll" }, // FileDialog
688
{ "DropData", "_DropData" }, // Control
689
{ "DropDataFw", "_DropDataFw" }, // ScriptEditor
690
{ "ExcludePolygons2d", "ExcludePolygons" }, // Geometry2D
691
{ "FindScancodeFromString", "FindKeycodeFromString" }, // OS
692
{ "ForwardCanvasDrawOverViewport", "_ForwardCanvasDrawOverViewport" }, // EditorPlugin
693
{ "ForwardCanvasForceDrawOverViewport", "_ForwardCanvasForceDrawOverViewport" }, // EditorPlugin
694
{ "ForwardCanvasGuiInput", "_ForwardCanvasGuiInput" }, // EditorPlugin
695
{ "ForwardSpatialDrawOverViewport", "_Forward3dDrawOverViewport" }, // EditorPlugin
696
{ "ForwardSpatialForceDrawOverViewport", "_Forward3dForceDrawOverViewport" }, // EditorPlugin
697
{ "ForwardSpatialGuiInput", "_Forward3dGuiInput" }, // EditorPlugin
698
{ "GenerateFromPath", "_GenerateFromPath" }, // EditorResourcePreviewGenerator
699
{ "GenerateSmallPreviewAutomatically", "_GenerateSmallPreviewAutomatically" }, // EditorResourcePreviewGenerator
700
{ "GetActionList", "ActionGetEvents" }, // InputMap
701
{ "GetAlt", "IsAltPressed" }, // InputEventWithModifiers
702
{ "GetAnimationProcessMode", "GetProcessCallback" }, // AnimationPlayer
703
{ "GetAppliedForce", "GetConstantForce" }, //RigidBody2D
704
{ "GetAppliedTorque", "GetConstantTorque" }, //RigidBody2D
705
{ "GetAudioBus", "GetAudioBusName" }, // Area3D
706
{ "GetBoundChildNodesToBone", "GetBoneChildren" }, // Skeleton3D
707
{ "GetCamera", "GetCamera3d" }, // Viewport -- This is also convertible to GetCamera2d. Breaks GLTFNode.
708
{ "GetCancel", "GetCancelButton" }, // ConfirmationDialog
709
{ "GetCaption", "_GetCaption" }, // AnimationNode
710
{ "GetCastTo", "GetTargetPosition" }, // RayCast2D, RayCast3D
711
{ "GetChildByName", "_GetChildByName" }, // AnimationNode
712
{ "GetChildNodes", "_GetChildNodes" }, // AnimationNode
713
{ "GetClosestPointToSegment2d", "GetClosestPointToSegment" }, // Geometry2D
714
{ "GetClosestPointToSegmentUncapped2d", "GetClosestPointToSegmentUncapped" }, // Geometry2D
715
{ "GetClosestPointsBetweenSegments2d", "GetClosestPointToSegment" }, // Geometry2D
716
{ "GetCollisionLayerBit", "GetCollisionLayerValue" }, // CSGShape3D, and a lot of others like GridMap.
717
{ "GetCollisionMaskBit", "GetCollisionMaskValue" }, // CSGShape3D, and a lot of others like GridMap.
718
{ "GetColorTypes", "GetColorTypeList" }, // Theme
719
{ "GetCommand", "IsCommandPressed" }, // InputEventWithModifiers
720
{ "GetConstantTypes", "GetConstantTypeList" }, // Theme
721
{ "GetControl", "IsCtrlPressed" }, // InputEventWithModifiers
722
{ "GetCullMaskBit", "GetCullMaskValue" }, // Camera3D
723
{ "GetCursorPosition", "GetCaretColumn" }, // LineEdit
724
{ "GetD", "GetDistance" }, // LineShape2D
725
{ "GetDefaultLength", "GetLength" }, // Bone2D
726
{ "GetDepthBiasEnable", "GetDepthBiasEnabled" }, // RDPipelineRasterizationState
727
{ "GetDevice", "GetOutputDevice" }, // AudioServer
728
{ "GetDeviceList", "GetOutputDeviceList" }, // AudioServer
729
{ "GetDragDataFw", "_GetDragDataFw" }, // ScriptEditor
730
{ "GetEditorViewport", "GetViewport" }, // EditorPlugin
731
{ "GetEnabledFocusMode", "GetFocusMode" }, // BaseButton
732
{ "GetEndianSwap", "IsBigEndian" }, // File
733
{ "GetErrorString", "GetErrorMessage" }, // JSON
734
{ "GetFinalLocation", "GetFinalPosition" }, // NavigationAgent2D, NavigationAgent3D
735
{ "GetFocusNeighbour", "GetFocusNeighbor" }, // Control
736
{ "GetFollowSmoothing", "GetPositionSmoothingSpeed" }, // Camera2D
737
{ "GetFontTypes", "GetFontTypeList" }, // Theme
738
{ "GetFrameColor", "GetColor" }, // ColorRect
739
{ "GetGlobalRateScale", "GetPlaybackSpeedScale" }, // AudioServer
740
{ "GetGravityDistanceScale", "GetGravityPointDistanceScale" }, // Area2D
741
{ "GetGravityVector", "GetGravityDirection" }, // Area2D
742
{ "GetHScrollbar", "GetHScrollBar" }, // ScrollContainer
743
{ "GetHand", "GetTrackerHand" }, // XRPositionalTracker
744
{ "GetHandleName", "_GetHandleName" }, // EditorNode3DGizmo
745
{ "GetHandleValue", "_GetHandleValue" }, // EditorNode3DGizmo
746
{ "GetIconAlign", "GetIconAlignment" }, // Button
747
{ "GetIconTypes", "GetIconTypeList" }, // Theme
748
{ "GetIdleFrames", "GetProcessFrames" }, // Engine
749
{ "GetImportOptions", "_GetImportOptions" }, // EditorImportPlugin
750
{ "GetImportOrder", "_GetImportOrder" }, // EditorImportPlugin
751
{ "GetImporterName", "_GetImporterName" }, // EditorImportPlugin
752
{ "GetInteriorAmbient", "GetAmbientColor" }, // ReflectionProbe
753
{ "GetInteriorAmbientEnergy", "GetAmbientColorEnergy" }, // ReflectionProbe
754
{ "GetItemNavmesh", "GetItemMavigationMesh" }, // MeshLibrary
755
{ "GetItemNavmeshTransform", "GetItemNavigationMeshTransform" }, // MeshLibrary
756
{ "GetIterationsPerSecond", "GetPhysicsTicksPerSecond" }, // Engine
757
{ "GetLastMouseSpeed", "GetLastMouseVelocity" }, // Input
758
{ "GetLayerMaskBit", "GetLayerMaskValue" }, // VisualInstance3D
759
{ "GetLen", "GetLength" }, // File
760
{ "GetMaxAtlasSize", "GetMaxTextureSize" }, // LightmapGI
761
{ "GetMetakey", "IsMetaPressed" }, // InputEventWithModifiers
762
{ "GetMidHeight", "GetHeight" }, // CapsuleMesh
763
{ "GetMotionRemainder", "GetRemainder" }, // PhysicsTestMotionResult2D
764
{ "GetNavPath", "GetCurrentNavigationPath" }, // NavigationAgent2D, NavigationAgent3D
765
{ "GetNavPathIndex", "GetCurrentNavigationPathIndex" }, // NavigationAgent2D, NavigationAgent3D
766
{ "GetNeighborDist", "GetNeighborDistance" }, // NavigationAgent2D, NavigationAgent3D
767
{ "GetNetworkConnectedPeers", "GetPeers" }, // Multiplayer API
768
{ "GetNetworkMaster", "GetMultiplayerAuthority" }, // Node
769
{ "GetNetworkPeer", "GetMultiplayerPeer" }, // Multiplayer API
770
{ "GetNetworkUniqueId", "GetUniqueId" }, // Multiplayer API
771
{ "GetNextLocation", "GetNextPathPosition" }, // NavigationAgent2D, NavigationAgent3D
772
{ "GetOneshot", "GetOneShot" }, // AnimatedTexture
773
{ "GetOk", "GetOkButton" }, // AcceptDialog
774
{ "GetOptionVisibility", "_GetOptionVisibility" }, // EditorImportPlugin
775
{ "GetParameterDefaultValue", "_GetParameterDefaultValue" }, // AnimationNode
776
{ "GetParameterList", "_GetParameterList" }, // AnimationNode
777
{ "GetParentSpatial", "GetParentNode3d" }, // Node3D
778
{ "GetPhysicalScancode", "GetPhysicalKeycode" }, // InputEventKey
779
{ "GetPhysicalScancodeWithModifiers", "GetPhysicalKeycodeWithModifiers" }, // InputEventKey
780
{ "GetPluginIcon", "_GetPluginIcon" }, // EditorPlugin
781
{ "GetPluginName", "_GetPluginName" }, // EditorPlugin
782
{ "GetPresetCount", "_GetPresetCount" }, // EditorImportPlugin
783
{ "GetPresetName", "_GetPresetName" }, // EditorImportPlugin
784
{ "GetRecognizedExtensions", "_GetRecognizedExtensions" }, // ResourceFormatLoader, EditorImportPlugin -- Breaks ResourceSaver.
785
{ "GetRenderInfo", "GetRenderingInfo" }, // RenderingServer
786
{ "GetRenderTargetsize", "GetRenderTargetSize" }, // XRInterface
787
{ "GetResourceType", "_GetResourceType" }, // ResourceFormatLoader
788
{ "GetResult", "GetData" }, // JSON
789
{ "GetReverbBus", "GetReverbBusName" }, // Area3D
790
{ "GetRpcSenderId", "GetRemoteSenderId" }, // Multiplayer API
791
{ "GetSaveExtension", "_GetSaveExtension" }, // EditorImportPlugin
792
{ "GetScancode", "GetKeycode" }, // InputEventKey
793
{ "GetScancodeString", "GetKeycodeString" }, // OS
794
{ "GetScancodeWithModifiers", "GetKeycodeWithModifiers" }, // InputEventKey
795
{ "GetShaderParam", "GetShaderParameter" }, // ShaderMaterial
796
{ "GetShift", "IsShiftPressed" }, // InputEventWithModifiers
797
{ "GetSizeOverride", "GetSize2dOverride" }, // SubViewport
798
{ "GetSlipsOnSlope", "GetSlideOnSlope" }, // SeparationRayShape2D, SeparationRayShape3D
799
{ "GetSpaceOverrideMode", "GetGravitySpaceOverrideMode" }, // Area2D
800
{ "GetSpatialNode", "GetNode3d" }, // EditorNode3DGizmo
801
{ "GetSpeed", "GetVelocity" }, // InputEventMouseMotion
802
{ "GetStyleboxTypes", "GetStyleboxTypeList" }, // Theme
803
{ "GetSurfaceMaterial", "GetSurfaceOverrideMaterial" }, // MeshInstance3D -- Breaks ImporterMesh.
804
{ "GetSurfaceMaterialCount", "GetSurfaceOverrideMaterialCount" }, // MeshInstance3D
805
{ "GetTabDisabled", "IsTabDisabled" }, // Tab
806
{ "GetTabHidden", "IsTabHidden" }, // Tab
807
{ "GetTargetLocation", "GetTargetPosition" }, // NavigationAgent2D, NavigationAgent3D
808
{ "GetTextAlign", "GetTextAlignment" }, // Button
809
{ "GetThemeItemTypes", "GetThemeItemTypeList" }, // Theme
810
{ "GetTimerProcessMode", "GetTimerProcessCallback" }, // Timer
811
{ "GetTranslation", "GetPosition" }, // Node3D -- Breaks GLTFNode, but it is used rarely.
812
{ "GetUniformName", "GetParameterName" }, // ParameterRef
813
{ "GetUnitDb", "GetVolumeDb" }, // AudioStreamPlayer3D
814
{ "GetUnitOffset", "GetProgressRatio" }, // PathFollow2D, PathFollow3D
815
{ "GetUseInBakedLight", "IsBakingNavigation" }, // GridMap
816
{ "GetVertsPerPoly", "GetVerticesPerPolygon" }, // NavigationMesh
817
{ "GetVScrollbar", "GetVScrollBar" }, // ScrollContainer
818
{ "GetVisibleName", "_GetVisibleName" }, // EditorImportPlugin
819
{ "GetWindowLayout", "_GetWindowLayout" }, // EditorPlugin
820
{ "GetWordUnderCursor", "GetWordUnderCaret" }, // TextEdit
821
{ "GetWorld", "GetWorld3d" }, // Viewport, Node3D
822
{ "GetZfar", "GetFar" }, // Camera3D -- Breaks GLTFCamera
823
{ "GetZnear", "GetNear" }, // Camera3D -- Breaks GLTFCamera
824
{ "GrooveJointCreate", "JointMakeGroove" }, // PhysicsServer2D
825
{ "HandleMenuSelected", "_HandleMenuSelected" }, // EditorResourcePicker
826
{ "HandlesType", "_HandlesType" }, // ResourceFormatLoader
827
{ "HasColor", "HasThemeColor" }, // Control -- Breaks Theme
828
{ "HasColorOverride", "HasThemeColorOverride" }, // Control -- Breaks Theme
829
{ "HasConstant", "HasThemeConstant" }, // Control
830
{ "HasConstantOverride", "HasThemeConstantOverride" }, // Control
831
{ "HasFilter", "_HasFilter" }, // AnimationNode
832
{ "HasFont", "HasThemeFont" }, // Control -- Breaks Theme
833
{ "HasFontOverride", "HasThemeFontOverride" }, // Control
834
{ "HasIcon", "HasThemeIcon" }, // Control -- Breaks Theme
835
{ "HasIconOverride", "HasThemeIconOverride" }, // Control
836
{ "HasMainScreen", "_HasMainScreen" }, // EditorPlugin
837
{ "HasNetworkPeer", "HasMultiplayerPeer" }, // Multiplayer API
838
{ "HasStylebox", "HasThemeStylebox" }, // Control -- Breaks Theme
839
{ "HasStyleboxOverride", "HasThemeStyleboxOverride" }, // Control
840
{ "HttpEscape", "UriEncode" }, // String
841
{ "HttpUnescape", "UriDecode" }, // String
842
{ "ImportAnimationFromOtherImporter", "_ImportAnimation" }, // EditorSceneFormatImporter
843
{ "ImportSceneFromOtherImporter", "_ImportScene" }, // EditorSceneFormatImporter
844
{ "InstanceSetSurfaceMaterial", "InstanceSetSurfaceOverrideMaterial" }, // RenderingServer
845
{ "IntersectPolygons2d", "IntersectPolygons" }, // Geometry2D
846
{ "IntersectPolylineWithPolygon2d", "IntersectPolylineWithPolygon" }, // Geometry2D
847
{ "IsAParentOf", "IsAncestorOf" }, // Node
848
{ "IsCommitingAction", "IsCommittingAction" }, // UndoRedo
849
{ "IsDoubleclick", "IsDoubleClick" }, // InputEventMouseButton
850
{ "IsFollowSmoothingEnabled", "IsPositionSmoothingEnabled" }, // Camera2D
851
{ "IsHDragEnabled", "IsDragHorizontalEnabled" }, // Camera2D
852
{ "IsHandleHighlighted", "_IsHandleHighlighted" }, // EditorNode3DGizmo, EditorNode3DGizmoPlugin
853
{ "IsNetworkMaster", "IsMultiplayerAuthority" }, // Node
854
{ "IsNetworkServer", "IsServer" }, // Multiplayer API
855
{ "IsNormalmap", "IsNormalMap" }, // NoiseTexture
856
{ "IsRefusingNewNetworkConnections", "IsRefusingNewConnections" }, // Multiplayer API
857
{ "IsRegion", "IsRegionEnabled" }, // Sprite2D
858
{ "IsRotating", "IsIgnoringRotation" }, // Camera2D
859
{ "IsScancodeUnicode", "IsKeycodeUnicode" }, // OS
860
{ "IsSelectableWhenHidden", "_IsSelectableWhenHidden" }, // EditorNode3DGizmoPlugin
861
{ "IsSetAsToplevel", "IsSetAsTopLevel" }, // CanvasItem
862
{ "IsShortcut", "MatchesEvent" }, // Shortcut
863
{ "IsSizeOverrideStretchEnabled", "IsSize2dOverrideStretchEnabled" }, // SubViewport
864
{ "IsSortEnabled", "IsYSortEnabled" }, // Node2D
865
{ "IsStaticBody", "IsAbleToSleep" }, // PhysicalBone3D -- Not sure.
866
{ "IsVDragEnabled", "IsDragVerticalEnabled" }, // Camera2D
867
{ "JointCreateConeTwist", "JointMakeConeTwist" }, // PhysicsServer3D
868
{ "JointCreateGeneric6dof", "JointMakeGeneric6dof" }, // PhysicsServer3D
869
{ "JointCreateHinge", "JointMakeHinge" }, // PhysicsServer3D
870
{ "JointCreatePin", "JointMakePin" }, // PhysicsServer3D
871
{ "JointCreateSlider", "JointMakeSlider" }, // PhysicsServer3D
872
{ "LineIntersectsLine2d", "LineIntersectsLine" }, // Geometry2D
873
{ "LoadFromGlobals", "LoadFromProjectSettings" }, // InputMap
874
{ "MakeConvexFromBrothers", "MakeConvexFromSiblings" }, // CollisionShape3D
875
{ "MergePolygons2d", "MergePolygons" }, // Geometry2D
876
{ "MeshSurfaceGetFormat", "MeshSurfaceGetFormatAttributeStride" }, // RenderingServer
877
{ "MeshSurfaceUpdateRegion", "MeshSurfaceUpdateAttributeRegion" }, // RenderingServer
878
{ "MoveToBottom", "MoveAfter" }, // Skeleton3D
879
{ "MoveToTop", "MoveBefore" }, // Skeleton3D
880
{ "MultimeshAllocate", "MultimeshAllocateData" }, // RenderingServer
881
{ "NormalmapToXy", "NormalMapToXy" }, // Image
882
{ "OffsetPolygon2d", "OffsetPolygon" }, // Geometry2D
883
{ "OffsetPolyline2d", "OffsetPolyline" }, // Geometry2D
884
{ "PercentDecode", "UriDecode" }, // String
885
{ "PercentEncode", "UriEncode" }, // String
886
{ "PinJointCreate", "JointMakePin" }, // PhysicsServer2D
887
{ "PopupCenteredMinsize", "PopupCenteredClamped" }, // Window
888
{ "PostImport", "_PostImport" }, // EditorScenePostImport
889
{ "PrintStrayNodes", "PrintOrphanNodes" }, // Node
890
{ "PropertyListChangedNotify", "NotifyPropertyListChanged" }, // Object
891
{ "Recognize", "_Recognize" }, // ResourceFormatLoader
892
{ "RegenNormalmaps", "RegenNormalMaps" }, // ArrayMesh
893
{ "RegionBakeNavmesh", "region_bake_navigation_mesh" }, // Navigation3DServer
894
{ "RegionSetNavmesh", "RegionSetNavigationMesh" }, // Navigation3DServer
895
{ "RegionSetNavpoly", "RegionSetNavigationPolygon" }, // Navigation2DServer
896
{ "RemoveAnimation", "RemoveAnimationLibrary" }, // AnimationPlayer
897
{ "RemoveColorOverride", "RemoveThemeColorOverride" }, // Control
898
{ "RemoveConstantOverride", "RemoveThemeConstantOverride" }, // Control
899
{ "RemoveFontOverride", "RemoveThemeFontOverride" }, // Control
900
{ "RemoveSceneImportPlugin", "RemoveSceneFormatImporterPlugin" }, //EditorPlugin
901
{ "RemoveSpatialGizmoPlugin", "RemoveNode3dGizmoPlugin" }, // EditorPlugin
902
{ "RemoveStyleboxOverride", "RemoveThemeStyleboxOverride" }, // Control
903
{ "RenameAnimation", "RenameAnimationLibrary" }, // AnimationPlayer
904
{ "RenameDependencies", "_RenameDependencies" }, // ResourceFormatLoader
905
{ "SaveExternalData", "_SaveExternalData" }, // EditorPlugin
906
{ "SegmentIntersectsSegment2d", "SegmentIntersectsSegment" }, // Geometry2D
907
{ "SetAdjustmentEnable", "SetAdjustmentEnabled" }, // Environment
908
{ "SetAlt", "SetAltPressed" }, // InputEventWithModifiers
909
{ "SetAnchorAndMargin", "SetAnchorAndOffset" }, // Control
910
{ "SetAnchorsAndMarginsPreset", "SetAnchorsAndOffsetsPreset" }, // Control
911
{ "SetAnimationProcessMode", "SetProcessCallback" }, // AnimationPlayer
912
{ "SetAsBulkArray", "SetBuffer" }, // MultiMesh
913
{ "SetAsNormalmap", "SetAsNormalMap" }, // NoiseTexture
914
{ "SetAsToplevel", "SetAsTopLevel" }, // CanvasItem
915
{ "SetAudioBus", "SetAudioBusName" }, // Area3D
916
{ "SetAutowrap", "SetAutowrapMode" }, // Label -- Breaks AcceptDialog.
917
{ "SetCastTo", "SetTargetPosition" }, // RayCast2D, RayCast3D
918
{ "SetCollisionLayerBit", "SetCollisionLayerValue" }, // CSGShape3D, and a lot of others like GridMap.
919
{ "SetCollisionMaskBit", "SetCollisionMaskValue" }, // CSGShape3D, and a lot of others like GridMap.
920
{ "SetColumnMinWidth", "SetColumnCustomMinimumWidth" }, // Tree
921
{ "SetCommand", "SetCommandPressed" }, // InputEventWithModifiers
922
{ "SetControl", "SetCtrlPressed" }, // InputEventWithModifiers
923
{ "SetCreateOptions", "_SetCreateOptions" }, // EditorResourcePicker
924
{ "SetCullMaskBit", "SetCullMaskValue" }, // Camera3D
925
{ "SetCursorPosition", "SetCaretColumn" }, // LineEdit
926
{ "SetD", "SetDistance" }, // WorldMarginShape2D
927
{ "SetDefaultLength", "SetLength" }, // Bone2D
928
{ "SetDepthBiasEnable", "SetDepthBiasEnabled" }, // RDPipelineRasterizationState
929
{ "SetDevice", "SetOutputDevice" }, // AudioServer
930
{ "SetDoubleclick", "SetDoubleClick" }, // InputEventMouseButton
931
{ "SetEnableFollowSmoothing", "SetPositionSmoothingEnabled" }, // Camera2D
932
{ "SetEnabledFocusMode", "SetFocusMode" }, // BaseButton
933
{ "SetEndianSwap", "SetBigEndian" }, // File
934
{ "SetExpandToTextLength", "SetExpandToTextLengthEnabled" }, // LineEdit
935
{ "SetFocusNeighbour", "SetFocusNeighbor" }, // Control
936
{ "SetFollowSmoothing", "SetPositionSmoothingSpeed" }, // Camera2D
937
{ "SetFrameColor", "SetColor" }, // ColorRect
938
{ "SetGlobalRateScale", "SetPlaybackSpeedScale" }, // AudioServer
939
{ "SetGravityDistanceScale", "SetGravityPointDistanceScale" }, // Area2D
940
{ "SetGravityVector", "SetGravityDirection" }, // Area2D
941
{ "SetHDragEnabled", "SetDragHorizontalEnabled" }, // Camera2D
942
{ "SetIconAlign", "SetIconAlignment" }, // Button
943
{ "SetInteriorAmbient", "SetAmbientColor" }, // ReflectionProbe
944
{ "SetInteriorAmbientEnergy", "SetAmbientColorEnergy" }, // ReflectionProbe
945
{ "SetIsInitialized", "_IsInitialized" }, // XRInterface
946
{ "SetIsPrimary", "SetPrimary" }, // XRInterface
947
{ "SetItemNavmesh", "SetItemNavigationMesh" }, // MeshLibrary
948
{ "SetItemNavmeshTransform", "SetItemNavigationMeshTransform" }, // MeshLibrary
949
{ "SetIterationsPerSecond", "SetPhysicsTicksPerSecond" }, // Engine
950
{ "SetLayerMaskBit", "SetLayerMaskValue" }, // VisualInstance3D
951
{ "SetMarginsPreset", "SetOffsetsPreset" }, // Control
952
{ "SetMaxAtlasSize", "SetMaxTextureSize" }, // LightmapGI
953
{ "SetMetakey", "SetMetaPressed" }, // InputEventWithModifiers
954
{ "SetMidHeight", "SetHeight" }, // CapsuleMesh
955
{ "SetNeighborDist", "SetNeighborDistance" }, // NavigationAgent2D, NavigationAgent3D
956
{ "SetNetworkMaster", "SetMultiplayerAuthority" }, // Node
957
{ "SetNetworkPeer", "SetMultiplayerPeer" }, // Multiplayer API
958
{ "SetOneshot", "SetOneShot" }, // AnimatedTexture
959
{ "SetPhysicalScancode", "SetPhysicalKeycode" }, // InputEventKey
960
{ "SetProximityFade", "SetProximityFadeEnabled" }, // Material
961
{ "SetRefuseNewNetworkConnections", "SetRefuseNewConnections" }, // Multiplayer API
962
{ "SetRegion", "SetRegionEnabled" }, // Sprite2D -- Sprite breaks AtlasTexture.
963
{ "SetRegionFilterClip", "SetRegionFilterClipEnabled" }, // Sprite2D
964
{ "SetReverbBus", "SetReverbBusName" }, // Area3D
965
{ "SetRotate", "SetRotates" }, // PathFollow2D
966
{ "SetScancode", "SetKeycode" }, // InputEventKey
967
{ "SetShaderParam", "SetShaderParameter" }, // ShaderMaterial
968
{ "SetShift", "SetShiftPressed" }, // InputEventWithModifiers
969
{ "SetSizeOverride", "SetSize2dOverride" }, // SubViewport -- Breaks ImageTexture.
970
{ "SetSizeOverrideStretch", "SetSize2dOverrideStretch" }, // SubViewport
971
{ "SetSlipsOnSlope", "SetSlideOnSlope" }, // SeparationRayShape2D, SeparationRayShape3D
972
{ "SetSortEnabled", "SetYSortEnabled" }, // Node2D
973
{ "SetSpaceOverrideMode", "SetGravitySpaceOverrideMode" }, // Area2D
974
{ "SetSpatialNode", "SetNode3d" }, // EditorNode3DGizmo
975
{ "SetSpeed", "SetVelocity" }, // InputEventMouseMotion
976
{ "SetSsaoEdgeSharpness", "SetSsaoSharpness" }, // Environment
977
{ "SetSurfaceMaterial", "SetSurfaceOverrideMaterial" }, // MeshInstance3D -- Breaks ImporterMesh.
978
{ "SetTabAlign", "SetTabAlignment" }, // TabContainer
979
{ "SetTangent", "SurfaceSetTangent" }, // ImmediateGeometry -- Breaks SurfaceTool.
980
{ "SetTargetLocation", "SetTargetPosition" }, // NavigationAgent2D, NavigationAgent3D
981
{ "SetTextAlign", "SetTextAlignment" }, // Button
982
{ "SetTimerProcessMode", "SetTimerProcessCallback" }, // Timer
983
{ "SetTonemapAutoExposure", "SetTonemapAutoExposureEnabled" }, // Environment
984
{ "SetTranslation", "SetPosition" }, // Node3D -- This breaks GLTFNode, but it is used rarely.
985
{ "SetUniformName", "SetParameterName" }, // ParameterRef
986
{ "SetUnitDb", "SetVolumeDb" }, // AudioStreamPlayer3D
987
{ "SetUnitOffset", "SetProgressRatio" }, // PathFollow2D, PathFollow3D
988
{ "SetUv2", "SurfaceSetUv2" }, // ImmediateMesh -- Breaks SurfaceTool.
989
{ "SetVertsPerPoly", "SetVerticesPerPolygon" }, // NavigationMesh
990
{ "SetVDragEnabled", "SetDragVerticalEnabled" }, // Camera2D
991
{ "SetValign", "SetVerticalAlignment" }, // Label
992
{ "SetWindowLayout", "_SetWindowLayout" }, // EditorPlugin
993
{ "SetZfar", "SetFar" }, // Camera3D -- Breaks GLTFCamera.
994
{ "SetZnear", "SetNear" }, // Camera3D -- Breaks GLTFCamera.
995
{ "ShortcutMatch", "IsMatch" }, // InputEvent
996
{ "SkeletonAllocate", "SkeletonAllocateData" }, // RenderingServer
997
{ "SurfaceUpdateRegion", "SurfaceUpdateAttributeRegion" }, // ArrayMesh
998
{ "TrackRemoveKeyAtPosition", "TrackRemoveKeyAtTime" }, // Animation
999
{ "TriangulateDelaunay2d", "TriangulateDelaunay" }, // Geometry2D
1000
{ "UnbindChildNodeFromBone", "RemoveBoneChild" }, // Skeleton3D
1001
{ "Unselect", "Deselect" }, // ItemList
1002
{ "UnselectAll", "DeselectAll" }, // ItemList
1003
{ "UpdateConfigurationWarning", "UpdateConfigurationWarnings" }, // Node
1004
{ "UpdateGizmo", "UpdateGizmos" }, // Node3D
1005
{ "ViewportSetUseArvr", "ViewportSetUseXr" }, // RenderingServer
1006
{ "WarpMousePosition", "WarpMouse" }, // Input
1007
{ "WorldToMap", "LocalToMap" }, // TileMap, GridMap
1008
1009
// Builtin types
1010
{ "Clamped", "LimitLength" }, // Vector2
1011
{ "GetRotationQuat", "GetRotationQuaternion" }, // Basis
1012
{ "GrowMargin", "GrowSide" }, // Rect2
1013
{ "IsAbsPath", "IsAbsolutePath" }, // String
1014
{ "IsValidInteger", "IsValidInt" }, // String
1015
{ "LinearInterpolate", "Lerp" }, // Color
1016
{ "ToAscii", "ToAsciiBuffer" }, // String
1017
{ "ToUtf8", "ToUtf8Buffer" }, // String
1018
1019
// @GlobalScope
1020
{ "Bytes2Var", "BytesToVar" },
1021
{ "Bytes2VarWithObjects", "BytesToVarWithObjects" },
1022
{ "Db2Linear", "DbToLinear" },
1023
{ "Deg2Rad", "DegToRad" },
1024
{ "Linear2Db", "LinearToDb" },
1025
{ "Rad2Deg", "RadToDeg" },
1026
{ "RandRange", "RandfRange" },
1027
{ "RangeLerp", "Remap" },
1028
{ "Stepify", "Snapped" },
1029
{ "Str2Var", "StrToVar" },
1030
{ "Var2Str", "VarToStr" },
1031
{ "Var2Bytes", "VarToBytes" },
1032
{ "Var2BytesWithObjects", "VarToBytesWithObjects" },
1033
1034
// @GDScript
1035
{ "Dict2Inst", "DictToInst" },
1036
{ "Inst2Dict", "InstToDict" },
1037
1038
{ nullptr, nullptr },
1039
};
1040
1041
const char *RenamesMap3To4::gdscript_properties_renames[][2] = {
1042
// NOTE: Commented out renames are disabled because deemed not suitable for
1043
// the current way the regex-based converter works.
1044
// When uncommenting any of those as suitable for conversion, please move it
1045
// to the block with other enabled conversions, ordered alphabetically, and
1046
// make sure to add it to the C# rename map too.
1047
1048
// Too common words, users may use these names for variables or in comments.
1049
// { "bg", SceneStringName(panel) }, // Theme
1050
// { "alt", "alt_pressed" }, // InputEventWithModifiers
1051
// { "command", "command_pressed" }, // InputEventWithModifiers
1052
// { "control", "ctrl_pressed" }, // InputEventWithModifiers
1053
// { "d", "distance" }, // WorldMarginShape2D
1054
// { "device", "output_device" }, // AudioServer
1055
// { "doubleclick", "double_click" }, // InputEventMouseButton
1056
// { "filename", "scene_file_path" }, // Node
1057
// { "group", "button_group" }, // BaseButton
1058
// { "meta", "meta_pressed" }, // InputEventWithModifiers
1059
// { "rotate", "rotates" }, // PathFollow2D
1060
// { "off", "unchecked" }, // Theme
1061
// { "ofs", "offset" }, // Theme
1062
// { "offset", "progress" }, // PathFollow2D, PathFollow3D
1063
// { "on", "checked" }, // Theme
1064
// { "shift", "shift_pressed" }, // InputEventWithModifiers
1065
// { "window_title", "title" }, // Window
1066
// { "zfar", "far" }, // Camera3D
1067
// { "znear", "near" }, // Camera3D
1068
1069
// Would need bespoke solution.
1070
// { "autowrap", "autowrap_mode" }, // Label -- Changed from bool to enum.
1071
// { "extents", "size" }, // BoxShape3D, LightmapGI, ReflectionProbe
1072
// { "frames", "sprite_frames" }, // AnimatedSprite2D, AnimatedSprite3D -- GH-73696
1073
// { "percent_visible, "show_percentage }, // ProgressBar -- Breaks Label and RichTextLabel.
1074
// { "pressed", "button_pressed" }, // BaseButton -- Would also rename the signal.
1075
// { "process_mode", "process_callback" }, // AnimationTree, Camera2D -- conflicts with Node.
1076
// { "wrap_enabled", "wrap_mode" }, // TextEdit -- Changed from bool to enum.
1077
1078
{ "as_normalmap", "as_normal_map" }, // NoiseTexture
1079
{ "bbcode_text", "text" }, // RichTextLabel
1080
{ "bg_focus", "focus" }, // Theme
1081
{ "capture_device", "input_device" }, // AudioServer
1082
{ "caret_blink_speed", "caret_blink_interval" }, // TextEdit, LineEdit
1083
{ "caret_moving_by_right_click", "caret_move_on_right_click" }, // TextEdit
1084
{ "caret_position", "caret_column" }, // LineEdit
1085
{ "cast_to", "target_position" }, // RayCast2D, RayCast3D
1086
{ "check_vadjust", "check_v_offset" }, // Theme
1087
{ "close_h_ofs", "close_h_offset" }, // Theme
1088
{ "close_v_ofs", "close_v_offset" }, // Theme
1089
{ "commentfocus", "comment_focus" }, // Theme
1090
{ "contacts_reported", "max_contacts_reported" }, // RigidBody
1091
{ "depth_bias_enable", "depth_bias_enabled" }, // RDPipelineRasterizationState
1092
{ "drag_margin_bottom", "drag_bottom_margin" }, // Camera2D
1093
{ "drag_margin_h_enabled", "drag_horizontal_enabled" }, // Camera2D
1094
{ "drag_margin_left", "drag_left_margin" }, // Camera2D
1095
{ "drag_margin_right", "drag_right_margin" }, // Camera2D
1096
{ "drag_margin_top", "drag_top_margin" }, // Camera2D
1097
{ "drag_margin_v_enabled", "drag_vertical_enabled" }, // Camera2D
1098
{ "enabled_focus_mode", "focus_mode" }, // BaseButton - Removed
1099
{ "extra_spacing_bottom", "spacing_bottom" }, // Font
1100
{ "extra_spacing_top", "spacing_top" }, // Font
1101
{ "focus_neighbour_bottom", "focus_neighbor_bottom" }, // Control
1102
{ "focus_neighbour_left", "focus_neighbor_left" }, // Control
1103
{ "focus_neighbour_right", "focus_neighbor_right" }, // Control
1104
{ "focus_neighbour_top", "focus_neighbor_top" }, // Control
1105
{ "follow_viewport_enable", "follow_viewport_enabled" }, // CanvasItem
1106
{ "file_icon_modulate", "file_icon_color" }, // Theme
1107
{ "files_disabled", "file_disabled_color" }, // Theme
1108
{ "folder_icon_modulate", "folder_icon_color" }, // Theme
1109
{ "global_rate_scale", "playback_speed_scale" }, // AudioServer
1110
{ "global_translation", "global_position" }, // Node3D
1111
{ "gravity_distance_scale", "gravity_point_unit_distance" }, // Area(2D/3D)
1112
{ "gravity_vec", "gravity_direction" }, // Area(2D/3D)
1113
{ "hint_tooltip", "tooltip_text" }, // Control
1114
{ "hseparation", "h_separation" }, // Theme
1115
{ "icon_align", "icon_alignment" }, // Button
1116
{ "iterations_per_second", "physics_ticks_per_second" }, // Engine
1117
{ "invert_enable", "invert_enabled" }, // Polygon2D
1118
{ "margin_bottom", "offset_bottom" }, // Control -- Breaks NinePatchRect, StyleBox.
1119
{ "margin_left", "offset_left" }, // Control -- Breaks NinePatchRect, StyleBox.
1120
{ "margin_right", "offset_right" }, // Control -- Breaks NinePatchRect, StyleBox.
1121
{ "margin_top", "offset_top" }, // Control -- Breaks NinePatchRect, StyleBox.
1122
{ "mid_height", "height" }, // CapsuleMesh
1123
{ "navpoly", "navigation_polygon" }, // NavigationRegion2D
1124
{ "navmesh", "navigation_mesh" }, // NavigationRegion3D
1125
{ "neighbor_dist", "neighbor_distance" }, // NavigationAgent2D, NavigationAgent3D
1126
{ "octaves", "fractal_octaves" }, // OpenSimplexNoise -> FastNoiseLite
1127
{ "offset_h", "drag_horizontal_offset" }, // Camera2D
1128
{ "offset_v", "drag_vertical_offset" }, // Camera2D
1129
{ "off_disabled", "unchecked_disabled" }, // Theme
1130
{ "on_disabled", "checked_disabled" }, // Theme
1131
{ "oneshot", "one_shot" }, // AnimatedTexture
1132
{ "out_of_range_mode", "max_polyphony" }, // AudioStreamPlayer3D
1133
{ "pause_mode", "process_mode" }, // Node
1134
{ "physical_scancode", "physical_keycode" }, // InputEventKey
1135
{ "polygon_verts_per_poly", "polygon_vertices_per_polyon" }, // NavigationMesh
1136
{ "popup_exclusive", "exclusive" }, // Window
1137
{ "proximity_fade_enable", "proximity_fade_enabled" }, // Material
1138
{ "rect_position", "position" }, // Control
1139
{ "rect_global_position", "global_position" }, // Control
1140
{ "rect_size", "size" }, // Control
1141
{ "rect_min_size", "custom_minimum_size" }, // Control
1142
{ "rect_rotation", "rotation" }, // Control
1143
{ "rect_scale", "scale" }, // Control
1144
{ "rect_pivot_offset", "pivot_offset" }, // Control
1145
{ "rect_clip_content", "clip_contents" }, // Control
1146
{ "refuse_new_network_connections", "refuse_new_connections" }, // MultiplayerAPI
1147
{ "region_filter_clip", "region_filter_clip_enabled" }, // Sprite2D
1148
{ "reverb_bus_enable", "reverb_bus_enabled" }, // Area3D
1149
{ "scancode", "keycode" }, // InputEventKey
1150
{ "selectedframe", "selected_frame" }, // Theme
1151
{ "size_override_stretch", "size_2d_override_stretch" }, // SubViewport
1152
{ "slips_on_slope", "slide_on_slope" }, // SeparationRayShape2D
1153
{ "smoothing_enabled", "position_smoothing_enabled" }, // Camera2D
1154
{ "smoothing_speed", "position_smoothing_speed" }, // Camera2D
1155
{ "ss_reflections_depth_tolerance", "ssr_depth_tolerance" }, // Environment
1156
{ "ss_reflections_enabled", "ssr_enabled" }, // Environment
1157
{ "ss_reflections_fade_in", "ssr_fade_in" }, // Environment
1158
{ "ss_reflections_fade_out", "ssr_fade_out" }, // Environment
1159
{ "ss_reflections_max_steps", "ssr_max_steps" }, // Environment
1160
{ "state_machine_selectedframe", "state_machine_selected_frame" }, // Theme
1161
{ "syntax_highlighting", "syntax_highlighter" }, // TextEdit
1162
{ "tab_align", "tab_alignment" }, // TabContainer
1163
{ "table_hseparation", "table_h_separation" }, // Theme
1164
{ "table_vseparation", "table_v_separation" }, // Theme
1165
{ "tangent", "orthogonal" }, // Vector2
1166
{ "target_location", "target_position" }, // NavigationAgent2D, NavigationAgent3D
1167
{ "toplevel", "top_level" }, // Node
1168
{ "translation", "position" }, // Node3D
1169
{ "unit_db", "volume_db" }, // AudioStreamPlayer3D
1170
{ "unit_offset", "progress_ratio" }, // PathFollow2D, PathFollow3D
1171
{ "vseparation", "v_separation" }, // Theme
1172
1173
{ nullptr, nullptr },
1174
};
1175
1176
const char *RenamesMap3To4::csharp_properties_renames[][2] = {
1177
{ "AsNormalmap", "AsNormalMap" }, // NoiseTexture
1178
{ "BbcodeText", "Text" }, // RichTextLabel
1179
{ "BgFocus", "Focus" }, // Theme
1180
{ "CaptureDevice", "InputDevice" }, // AudioServer
1181
{ "CaretBlinkSpeed", "CaretBlinkInterval" }, // TextEdit, LineEdit
1182
{ "CaretMovingByRightClick", "CaretMoveOnRightClick" }, // TextEdit
1183
{ "CaretPosition", "CaretColumn" }, // LineEdit
1184
{ "CastTo", "TargetPosition" }, // RayCast2D, RayCast3D
1185
{ "CheckVadjust", "CheckVAdjust" }, // Theme
1186
{ "CloseHOfs", "CloseHOffset" }, // Theme
1187
{ "CloseVOfs", "CloseVOffset" }, // Theme
1188
{ "Commentfocus", "CommentFocus" }, // Theme
1189
{ "ContactsReported", "MaxContactsReported" }, // RigidBody
1190
{ "DepthBiasEnable", "DepthBiasEnabled" }, // RDPipelineRasterizationState
1191
{ "DragMarginBottom", "DragBottomMargin" }, // Camera2D
1192
{ "DragMarginHEnabled", "DragHorizontalEnabled" }, // Camera2D
1193
{ "DragMarginLeft", "DragLeftMargin" }, // Camera2D
1194
{ "DragMarginRight", "DragRightMargin" }, // Camera2D
1195
{ "DragMarginTop", "DragTopMargin" }, // Camera2D
1196
{ "DragMarginVEnabled", "DragVerticalEnabled" }, // Camera2D
1197
{ "EnabledFocusMode", "FocusMode" }, // BaseButton - Removed
1198
{ "ExtraSpacingBottom", "SpacingBottom" }, // Font
1199
{ "ExtraSpacingTop", "SpacingTop" }, // Font
1200
{ "FocusNeighbourBottom", "FocusNeighborBottom" }, // Control
1201
{ "FocusNeighbourLeft", "FocusNeighborLeft" }, // Control
1202
{ "FocusNeighbourRight", "FocusNeighborRight" }, // Control
1203
{ "FocusNeighbourTop", "FocusNeighborTop" }, // Control
1204
{ "FollowViewportEnable", "FollowViewportEnabled" }, // CanvasItem
1205
{ "FileIconModulate", "FileIconColor" }, // Theme
1206
{ "FilesDisabled", "FileDisabledColor" }, // Theme
1207
{ "FolderIconModulate", "FolderIconColor" }, // Theme
1208
{ "GlobalRateScale", "PlaybackSpeedScale" }, // AudioServer
1209
{ "GravityDistanceScale", "GravityPointDistanceScale" }, // Area2D
1210
{ "GravityVec", "GravityDirection" }, // Area2D
1211
{ "HintTooltip", "TooltipText" }, // Control
1212
{ "Hseparation", "HSeparation" }, // Theme
1213
{ "IconAlign", "IconAlignment" }, // Button
1214
{ "IterationsPerSecond", "PhysicsTicksPerSecond" }, // Engine
1215
{ "InvertEnable", "InvertEnabled" }, // Polygon2D
1216
{ "MarginBottom", "OffsetBottom" }, // Control -- Breaks NinePatchRect, StyleBox.
1217
{ "MarginLeft", "OffsetLeft" }, // Control -- Breaks NinePatchRect, StyleBox.
1218
{ "MarginRight", "OffsetRight" }, // Control -- Breaks NinePatchRect, StyleBox.
1219
{ "MarginTop", "OffsetTop" }, // Control -- Breaks NinePatchRect, StyleBox.
1220
{ "MidHeight", "Height" }, // CapsuleMesh
1221
{ "Navpoly", "NavigationPolygon" }, // NavigationRegion2D
1222
{ "Navmesh", "NavigationMesh" }, // NavigationRegion3D
1223
{ "NeighborDist", "NeighborDistance" }, // NavigationAgent2D, NavigationAgent3D
1224
{ "Octaves", "FractalOctaves" }, // OpenSimplexNoise -> FastNoiseLite
1225
{ "OffsetH", "DragHorizontalOffset" }, // Camera2D
1226
{ "OffsetV", "DragVerticalOffset" }, // Camera2D
1227
{ "OffDisabled", "UncheckedDisabled" }, // Theme
1228
{ "OnDisabled", "CheckedDisabled" }, // Theme
1229
{ "Oneshot", "OneShot" }, // AnimatedTexture
1230
{ "OutOfRangeMode", "MaxPolyphony" }, // AudioStreamPlayer3D
1231
{ "PauseMode", "ProcessMode" }, // Node
1232
{ "Perpendicular", "Orthogonal" }, // Vector2 - Only exists in C#
1233
{ "PhysicalScancode", "PhysicalKeycode" }, // InputEventKey
1234
{ "PopupExclusive", "Exclusive" }, // Window
1235
{ "ProximityFadeEnable", "ProximityFadeEnabled" }, // Material
1236
{ "RectPosition", "Position" }, // Control
1237
{ "RectGlobalPosition", "GlobalPosition" }, // Control
1238
{ "RectSize", "Size" }, // Control
1239
{ "RectMinSize", "CustomMinimumSize" }, // Control
1240
{ "RectRotation", "Rotation" }, // Control
1241
{ "RectScale", "Scale" }, // Control
1242
{ "RectPivotOffset", "PivotOffset" }, // Control
1243
{ "RectClipContent", "ClipContents" }, // Control
1244
{ "RefuseNewNetworkConnections", "RefuseNewConnections" }, // MultiplayerAPI
1245
{ "RegionFilterClip", "RegionFilterClipEnabled" }, // Sprite2D
1246
{ "ReverbBusEnable", "ReverbBusEnabled" }, // Area3D
1247
{ "Scancode", "Keycode" }, // InputEventKey
1248
{ "Selectedframe", "SelectedFrame" }, // Theme
1249
{ "SizeOverrideStretch", "Size2dOverrideStretch" }, // SubViewport
1250
{ "SlipsOnSlope", "SlideOnSlope" }, // SeparationRayShape2D
1251
{ "SmoothingEnabled", "PositionSmoothingEnabled" }, // Camera2D
1252
{ "SmoothingSpeed", "PositionSmoothingSpeed" }, // Camera2D
1253
{ "SsReflectionsDepthTolerance", "SsrDepthTolerance" }, // Environment
1254
{ "SsReflectionsEnabled", "SsrEnabled" }, // Environment
1255
{ "SsReflectionsFadeIn", "SsrFadeIn" }, // Environment
1256
{ "SsReflectionsFadeOut", "SsrFadeOut" }, // Environment
1257
{ "SsReflectionsMaxSteps", "SsrMaxSteps" }, // Environment
1258
{ "StateMachineSelectedframe", "StateMachineSelectedFrame" }, // Theme
1259
{ "SyntaxHighlighting", "SyntaxHighlighter" }, // TextEdit
1260
{ "TabAlign", "TabAlignment" }, // TabContainer
1261
{ "TableHseparation", "TableHSeparation" }, // Theme
1262
{ "TableVseparation", "TableVSeparation" }, // Theme
1263
{ "Tangent", "Orthogonal" }, // Vector2
1264
{ "TargetLocation", "TargetPosition" }, // NavigationAgent2D, NavigationAgent3D
1265
{ "Toplevel", "TopLevel" }, // Node
1266
{ "Translation", "Position" }, // Node3D
1267
{ "UnitDb", "VolumeDb" }, // AudioStreamPlayer3D
1268
{ "UnitOffset", "ProgressRatio" }, // PathFollow2D, PathFollow3D
1269
{ "Vseparation", "VSeparation" }, // Theme
1270
1271
{ nullptr, nullptr },
1272
};
1273
1274
const char *RenamesMap3To4::gdscript_signals_renames[][2] = {
1275
// NOTE: Commented out renames are disabled because deemed not suitable for
1276
// the current way the regex-based converter works.
1277
// When uncommenting any of those as suitable for conversion, please move it
1278
// to the block with other enabled conversions, ordered alphabetically, and
1279
// make sure to add it to the C# rename map too.
1280
1281
// Too common words, users may use these names for variables or in comments.
1282
// { "hide", "hidden" }, // CanvasItem
1283
// { "changed", "settings_changed" }, // EditorSettings
1284
1285
{ "about_to_show", "about_to_popup" }, // Popup
1286
{ "button_release", "button_released" }, // XRController3D
1287
{ "cancelled", "canceled" }, // AcceptDialog
1288
{ "item_double_clicked", "item_icon_double_clicked" }, // Tree
1289
{ "network_peer_connected", "peer_connected" }, // MultiplayerAPI
1290
{ "network_peer_disconnected", "peer_disconnected" }, // MultiplayerAPI
1291
{ "network_peer_packet", "peer_packet" }, // MultiplayerAPI
1292
{ "node_unselected", "node_deselected" }, // GraphEdit
1293
{ "offset_changed", "position_offset_changed" }, // GraphNode
1294
{ "settings_changed", "changed" }, // TileMap -- Breaks EditorSettings
1295
{ "skeleton_updated", "pose_updated" }, // Skeleton3D
1296
{ "tab_close", "tab_closed" }, // TextEdit
1297
{ "tab_hover", "tab_hovered" }, // TextEdit
1298
{ "text_entered", "text_submitted" }, // LineEdit
1299
1300
{ nullptr, nullptr },
1301
};
1302
1303
const char *RenamesMap3To4::csharp_signals_renames[][2] = {
1304
{ "AboutToShow", "AboutToPopup" }, // Popup
1305
{ "ButtonRelease", "ButtonReleased" }, // XRController3D
1306
{ "Cancelled", "Canceled" }, // AcceptDialog
1307
{ "ItemDoubleClicked", "ItemIconDoubleClicked" }, // Tree
1308
{ "NetworkPeerConnected", "PeerConnected" }, // MultiplayerAPI
1309
{ "NetworkPeerDisconnected", "PeerDisconnected" }, // MultiplayerAPI
1310
{ "NetworkPeerPacket", "PeerPacket" }, // MultiplayerAPI
1311
{ "NodeUnselected", "NodeDeselected" }, // GraphEdit
1312
{ "OffsetChanged", "PositionOffsetChanged" }, // GraphNode
1313
{ "SettingsChanged", "Changed" }, // TileMap -- Breaks EditorSettings
1314
{ "SkeletonUpdated", "PoseUpdated" }, //
1315
{ "TabClose", "TabClosed" }, // TextEdit
1316
{ "TabHover", "TabHovered" }, // TextEdit
1317
{ "TextEntered", "TextSubmitted" }, // LineEdit
1318
1319
{ nullptr, nullptr },
1320
};
1321
1322
const char *RenamesMap3To4::project_settings_renames[][2] = {
1323
// Project setting paths in scripts include the category, but in project.godot,
1324
// the category is the section delimiter, so we need to support the paths without it.
1325
// The project.godot remaps are defined in the project_godot_renames, keep them in sync!
1326
{ "audio/channel_disable_threshold_db", "audio/buses/channel_disable_threshold_db" },
1327
{ "audio/channel_disable_time", "audio/buses/channel_disable_time" },
1328
{ "audio/default_bus_layout", "audio/buses/default_bus_layout" },
1329
{ "audio/driver", "audio/driver/driver" },
1330
{ "audio/enable_audio_input", "audio/driver/enable_input" },
1331
{ "audio/mix_rate", "audio/driver/mix_rate" },
1332
{ "audio/output_latency", "audio/driver/output_latency" },
1333
{ "audio/output_latency.web", "audio/driver/output_latency.web" },
1334
{ "audio/video_delay_compensation_ms", "audio/video/video_delay_compensation_ms" },
1335
{ "display/window/size/width", "display/window/size/viewport_width" },
1336
{ "display/window/size/height", "display/window/size/viewport_height" },
1337
{ "display/window/size/test_width", "display/window/size/window_width_override" },
1338
{ "display/window/size/test_height", "display/window/size/window_height_override" },
1339
{ "display/window/vsync/use_vsync", "display/window/vsync/vsync_mode" },
1340
{ "editor/main_run_args", "editor/run/main_run_args" },
1341
{ "gui/common/swap_ok_cancel", "gui/common/swap_cancel_ok" },
1342
{ "network/limits/debugger_stdout/max_chars_per_second", "network/limits/debugger/max_chars_per_second" },
1343
{ "network/limits/debugger_stdout/max_errors_per_second", "network/limits/debugger/max_errors_per_second" },
1344
{ "network/limits/debugger_stdout/max_messages_per_frame", "network/limits/debugger/max_queued_messages" },
1345
{ "network/limits/debugger_stdout/max_warnings_per_second", "network/limits/debugger/max_warnings_per_second" },
1346
{ "network/ssl/certificates", "network/tls/certificate_bundle_override" },
1347
{ "physics/2d/thread_model", "physics/2d/run_on_thread" }, // TODO: Not sure.
1348
{ "rendering/environment/default_clear_color", "rendering/environment/defaults/default_clear_color" },
1349
{ "rendering/environment/default_environment", "rendering/environment/defaults/default_environment" },
1350
{ "rendering/quality/depth_prepass/disable_for_vendors", "rendering/driver/depth_prepass/disable_for_vendors" },
1351
{ "rendering/quality/depth_prepass/enable", "rendering/driver/depth_prepass/enable" },
1352
{ "rendering/quality/shading/force_blinn_over_ggx", "rendering/shading/overrides/force_blinn_over_ggx" },
1353
{ "rendering/quality/shading/force_blinn_over_ggx.mobile", "rendering/shading/overrides/force_blinn_over_ggx.mobile" },
1354
{ "rendering/quality/shading/force_lambert_over_burley", "rendering/shading/overrides/force_lambert_over_burley" },
1355
{ "rendering/quality/shading/force_lambert_over_burley.mobile", "rendering/shading/overrides/force_lambert_over_burley.mobile" },
1356
{ "rendering/quality/shading/force_vertex_shading", "rendering/shading/overrides/force_vertex_shading" },
1357
{ "rendering/quality/shadow_atlas/quadrant_0_subdiv", "rendering/lights_and_shadows/shadow_atlas/quadrant_0_subdiv" },
1358
{ "rendering/quality/shadow_atlas/quadrant_1_subdiv", "rendering/lights_and_shadows/shadow_atlas/quadrant_1_subdiv" },
1359
{ "rendering/quality/shadow_atlas/quadrant_2_subdiv", "rendering/lights_and_shadows/shadow_atlas/quadrant_2_subdiv" },
1360
{ "rendering/quality/shadow_atlas/quadrant_3_subdiv", "rendering/lights_and_shadows/shadow_atlas/quadrant_3_subdiv" },
1361
{ "rendering/quality/shadow_atlas/size", "rendering/lights_and_shadows/shadow_atlas/size" },
1362
{ "rendering/quality/shadow_atlas/size.mobile", "rendering/lights_and_shadows/shadow_atlas/size.mobile" },
1363
{ "rendering/vram_compression/import_etc2", "rendering/textures/vram_compression/import_etc2_astc" },
1364
{ "rendering/vram_compression/import_s3tc", "rendering/textures/vram_compression/import_s3tc_bptc" },
1365
1366
{ nullptr, nullptr },
1367
};
1368
1369
const char *RenamesMap3To4::project_godot_renames[][2] = {
1370
// Should be kept in sync with project_settings_renames.
1371
{ "channel_disable_threshold_db", "buses/channel_disable_threshold_db" },
1372
{ "channel_disable_time", "buses/channel_disable_time" },
1373
{ "default_bus_layout", "buses/default_bus_layout" },
1374
// { "driver", "driver/driver" }, -- Risk of conflicts.
1375
{ "enable_audio_input", "driver/enable_input" },
1376
// { "mix_rate", "driver/mix_rate" }, -- Risk of conflicts.
1377
{ "output_latency", "driver/output_latency" },
1378
{ "output_latency.web", "driver/output_latency.web" },
1379
{ "video_delay_compensation_ms", "video/video_delay_compensation_ms" },
1380
{ "window/size/width", "window/size/viewport_width" },
1381
{ "window/size/height", "window/size/viewport_height" },
1382
{ "window/size/test_width", "window/size/window_width_override" },
1383
{ "window/size/test_height", "window/size/window_height_override" },
1384
{ "window/vsync/use_vsync", "window/vsync/vsync_mode" },
1385
{ "main_run_args", "run/main_run_args" },
1386
{ "common/swap_ok_cancel", "common/swap_cancel_ok" },
1387
{ "limits/debugger_stdout/max_chars_per_second", "limits/debugger/max_chars_per_second" },
1388
{ "limits/debugger_stdout/max_errors_per_second", "limits/debugger/max_errors_per_second" },
1389
{ "limits/debugger_stdout/max_messages_per_frame", "limits/debugger/max_queued_messages" },
1390
{ "limits/debugger_stdout/max_warnings_per_second", "limits/debugger/max_warnings_per_second" },
1391
{ "ssl/certificates", "tls/certificate_bundle_override" },
1392
{ "2d/thread_model", "2d/run_on_thread" }, // TODO: Not sure.
1393
{ "environment/default_clear_color", "environment/defaults/default_clear_color" },
1394
{ "environment/default_environment", "environment/defaults/default_environment" },
1395
{ "quality/depth_prepass/disable_for_vendors", "driver/depth_prepass/disable_for_vendors" },
1396
{ "quality/depth_prepass/enable", "driver/depth_prepass/enable" },
1397
{ "quality/shading/force_blinn_over_ggx", "shading/overrides/force_blinn_over_ggx" },
1398
{ "quality/shading/force_blinn_over_ggx.mobile", "shading/overrides/force_blinn_over_ggx.mobile" },
1399
{ "quality/shading/force_lambert_over_burley", "shading/overrides/force_lambert_over_burley" },
1400
{ "quality/shading/force_lambert_over_burley.mobile", "shading/overrides/force_lambert_over_burley.mobile" },
1401
{ "quality/shading/force_vertex_shading", "shading/overrides/force_vertex_shading" },
1402
{ "quality/shadow_atlas/quadrant_0_subdiv", "lights_and_shadows/shadow_atlas/quadrant_0_subdiv" },
1403
{ "quality/shadow_atlas/quadrant_1_subdiv", "lights_and_shadows/shadow_atlas/quadrant_1_subdiv" },
1404
{ "quality/shadow_atlas/quadrant_2_subdiv", "lights_and_shadows/shadow_atlas/quadrant_2_subdiv" },
1405
{ "quality/shadow_atlas/quadrant_3_subdiv", "lights_and_shadows/shadow_atlas/quadrant_3_subdiv" },
1406
{ "quality/shadow_atlas/size", "lights_and_shadows/shadow_atlas/size" },
1407
{ "quality/shadow_atlas/size.mobile", "lights_and_shadows/shadow_atlas/size.mobile" },
1408
{ "vram_compression/import_etc2", "textures/vram_compression/import_etc2_astc" },
1409
{ "vram_compression/import_s3tc", "textures/vram_compression/import_s3tc_bptc" },
1410
1411
{ nullptr, nullptr },
1412
};
1413
1414
const char *RenamesMap3To4::input_map_renames[][2] = {
1415
{ ",\"alt\":", ",\"alt_pressed\":" },
1416
{ ",\"shift\":", ",\"shift_pressed\":" },
1417
{ ",\"control\":", ",\"ctrl_pressed\":" },
1418
{ ",\"meta\":", ",\"meta_pressed\":" },
1419
{ ",\"scancode\":", ",\"keycode\":" },
1420
{ ",\"physical_scancode\":", ",\"physical_keycode\":" },
1421
{ ",\"doubleclick\":", ",\"double_click\":" },
1422
1423
{ nullptr, nullptr },
1424
};
1425
1426
const char *RenamesMap3To4::builtin_types_renames[][2] = {
1427
{ "PoolByteArray", "PackedByteArray" },
1428
{ "PoolColorArray", "PackedColorArray" },
1429
{ "PoolIntArray", "PackedInt32Array" },
1430
{ "PoolRealArray", "PackedFloat32Array" },
1431
{ "PoolStringArray", "PackedStringArray" },
1432
{ "PoolVector2Array", "PackedVector2Array" },
1433
{ "PoolVector3Array", "PackedVector3Array" },
1434
{ "Quat", "Quaternion" },
1435
{ "Transform", "Transform3D" },
1436
1437
{ nullptr, nullptr },
1438
};
1439
1440
const char *RenamesMap3To4::shaders_renames[][2] = {
1441
{ "ALPHA_SCISSOR", "ALPHA_SCISSOR_THRESHOLD" },
1442
{ "CAMERA_MATRIX", "INV_VIEW_MATRIX" },
1443
{ "INV_CAMERA_MATRIX", "VIEW_MATRIX" },
1444
{ "NORMALMAP", "NORMAL_MAP" },
1445
{ "NORMALMAP_DEPTH", "NORMAL_MAP_DEPTH" },
1446
{ "TRANSMISSION", "BACKLIGHT" },
1447
{ "WORLD_MATRIX", "MODEL_MATRIX" },
1448
{ "depth_draw_alpha_prepass", "depth_prepass_alpha" },
1449
{ "hint_albedo", "source_color" },
1450
{ "hint_aniso", "hint_anisotropy" },
1451
{ "hint_black", "hint_default_black" },
1452
{ "hint_black_albedo", "hint_default_black" },
1453
{ "hint_color", "source_color" },
1454
{ "hint_white", "hint_default_white" },
1455
{ nullptr, nullptr },
1456
};
1457
1458
const char *RenamesMap3To4::class_renames[][2] = {
1459
// { "Particles", "GPUParticles3D" }, // Common word, and incompatible class.
1460
// { "World", "World3D" }, // Too common.
1461
1462
// Risky as fairly common words, but worth it given how ubiquitous they are.
1463
{ "Area", "Area3D" },
1464
{ "Camera", "Camera3D" },
1465
{ "Path", "Path3D" },
1466
{ "Reference", "RefCounted" },
1467
{ "Shape", "Shape3D" },
1468
{ "Tabs", "TabBar" },
1469
1470
{ "ARVRAnchor", "XRAnchor3D" },
1471
{ "ARVRCamera", "XRCamera3D" },
1472
{ "ARVRController", "XRController3D" },
1473
{ "ARVRInterface", "XRInterface" },
1474
{ "ARVRInterfaceGDNative", "Node3D" },
1475
{ "ARVROrigin", "XROrigin3D" },
1476
{ "ARVRPositionalTracker", "XRPositionalTracker" },
1477
{ "ARVRServer", "XRServer" },
1478
{ "AStar", "AStar3D" },
1479
{ "AnimatedSprite", "AnimatedSprite2D" },
1480
{ "AudioStreamOGGVorbis", "AudioStreamOggVorbis" },
1481
{ "AudioStreamRandomPitch", "AudioStreamRandomizer" },
1482
{ "AudioStreamSample", "AudioStreamWAV" },
1483
{ "BakedLightmap", "LightmapGI" },
1484
{ "BakedLightmapData", "LightmapGIData" },
1485
{ "BitmapFont", "FontFile" },
1486
{ "BoneAttachment", "BoneAttachment3D" },
1487
{ "BoxShape", "BoxShape3D" },
1488
{ "CPUParticles", "CPUParticles3D" },
1489
{ "CSGBox", "CSGBox3D" },
1490
{ "CSGCombiner", "CSGCombiner3D" },
1491
{ "CSGCylinder", "CSGCylinder3D" },
1492
{ "CSGMesh", "CSGMesh3D" },
1493
{ "CSGPolygon", "CSGPolygon3D" },
1494
{ "CSGPrimitive", "CSGPrimitive3D" },
1495
{ "CSGShape", "CSGShape3D" },
1496
{ "CSGSphere", "CSGSphere3D" },
1497
{ "CSGTorus", "CSGTorus3D" },
1498
{ "CapsuleShape", "CapsuleShape3D" },
1499
{ "ClippedCamera", "Camera3D" },
1500
{ "CollisionObject", "CollisionObject3D" },
1501
{ "CollisionPolygon", "CollisionPolygon3D" },
1502
{ "CollisionShape", "CollisionShape3D" },
1503
{ "ConcavePolygonShape", "ConcavePolygonShape3D" },
1504
{ "ConeTwistJoint", "ConeTwistJoint3D" },
1505
{ "ConvexPolygonShape", "ConvexPolygonShape3D" },
1506
{ "CubeMap", "Cubemap" },
1507
{ "CubeMesh", "BoxMesh" },
1508
{ "CylinderShape", "CylinderShape3D" },
1509
{ "DirectionalLight", "DirectionalLight3D" },
1510
{ "Directory", "DirAccess" },
1511
{ "DynamicFont", "FontFile" },
1512
{ "DynamicFontData", "FontFile" },
1513
{ "EditorNavigationMeshGenerator", "NavigationMeshGenerator" },
1514
{ "EditorSceneImporter", "EditorSceneFormatImporter" },
1515
{ "EditorSceneImporterFBX", "EditorSceneFormatImporterFBX2GLTF" },
1516
{ "EditorSceneImporterGLTF", "EditorSceneFormatImporterGLTF" },
1517
{ "EditorSpatialGizmo", "EditorNode3DGizmo" },
1518
{ "EditorSpatialGizmoPlugin", "EditorNode3DGizmoPlugin" },
1519
{ "GIProbe", "VoxelGI" },
1520
{ "GIProbeData", "VoxelGIData" },
1521
{ "Generic6DOFJoint", "Generic6DOFJoint3D" },
1522
{ "GeometryInstance", "GeometryInstance3D" },
1523
{ "GradientTexture", "GradientTexture2D" },
1524
{ "HeightMapShape", "HeightMapShape3D" },
1525
{ "HingeJoint", "HingeJoint3D" },
1526
{ "ImmediateGeometry", "ImmediateMesh" },
1527
{ "ImmediateGeometry3D", "ImmediateMesh" },
1528
{ "InterpolatedCamera", "Camera3D" },
1529
{ "InterpolatedCamera3D", "Camera3D" },
1530
{ "JSONParseResult", "JSON" },
1531
{ "Joint", "Joint3D" },
1532
{ "KinematicBody", "CharacterBody3D" },
1533
{ "KinematicBody2D", "CharacterBody2D" },
1534
{ "KinematicCollision", "KinematicCollision3D" },
1535
{ "LargeTexture", "ImageTexture" },
1536
{ "Light", "Light3D" },
1537
{ "Light2D", "PointLight2D" },
1538
{ "LineShape2D", "WorldBoundaryShape2D" },
1539
{ "Listener", "AudioListener3D" },
1540
{ "Listener2D", "AudioListener2D" },
1541
{ "MeshInstance", "MeshInstance3D" },
1542
{ "MultiMeshInstance", "MultiMeshInstance3D" },
1543
{ "MultiplayerPeerGDNative", "MultiplayerPeerExtension" },
1544
{ "Navigation2DServer", "NavigationServer2D" },
1545
{ "NavigationAgent", "NavigationAgent3D" },
1546
{ "NavigationMeshInstance", "NavigationRegion3D" },
1547
{ "NavigationObstacle", "NavigationObstacle3D" },
1548
{ "NavigationPolygonInstance", "NavigationRegion2D" },
1549
{ "NavigationRegion", "NavigationRegion3D" },
1550
{ "NavigationServer", "NavigationServer3D" },
1551
{ "NetworkedMultiplayerCustom", "MultiplayerPeerExtension" },
1552
{ "NetworkedMultiplayerENet", "ENetMultiplayerPeer" },
1553
{ "NetworkedMultiplayerPeer", "MultiplayerPeer" },
1554
{ "Occluder", "OccluderInstance3D" },
1555
{ "OmniLight", "OmniLight3D" },
1556
{ "OpenSimplexNoise", "FastNoiseLite" },
1557
{ "PHashTranslation", "OptimizedTranslation" },
1558
{ "PacketPeerGDNative", "PacketPeerExtension" },
1559
{ "PanoramaSky", "Sky" },
1560
{ "Particles2D", "GPUParticles2D" },
1561
{ "ParticlesMaterial", "ParticleProcessMaterial" },
1562
{ "PathFollow", "PathFollow3D" },
1563
{ "PhysicalBone", "PhysicalBone3D" },
1564
{ "Physics2DDirectBodyState", "PhysicsDirectBodyState2D" },
1565
{ "Physics2DDirectSpaceState", "PhysicsDirectSpaceState2D" },
1566
{ "Physics2DServer", "PhysicsServer2D" },
1567
{ "Physics2DServerSW", "GodotPhysicsServer2D" },
1568
{ "Physics2DShapeQueryParameters", "PhysicsShapeQueryParameters2D" },
1569
{ "Physics2DTestMotionResult", "PhysicsTestMotionResult2D" },
1570
{ "PhysicsBody", "PhysicsBody3D" },
1571
{ "PhysicsDirectBodyState", "PhysicsDirectBodyState3D" },
1572
{ "PhysicsDirectSpaceState", "PhysicsDirectSpaceState3D" },
1573
{ "PhysicsServer", "PhysicsServer3D" },
1574
{ "PhysicsShapeQueryParameters", "PhysicsShapeQueryParameters3D" },
1575
{ "PhysicsTestMotionResult", "PhysicsTestMotionResult3D" },
1576
{ "PinJoint", "PinJoint3D" },
1577
{ "PlaneShape", "WorldBoundaryShape3D" },
1578
{ "PopupDialog", "Popup" },
1579
{ "Position2D", "Marker2D" },
1580
{ "Position3D", "Marker3D" },
1581
{ "ProceduralSky", "Sky" },
1582
{ "RayCast", "RayCast3D" },
1583
{ "RayShape", "SeparationRayShape3D" },
1584
{ "RayShape2D", "SeparationRayShape2D" },
1585
{ "RemoteTransform", "RemoteTransform3D" },
1586
{ "ResourceInteractiveLoader", "ResourceLoader" },
1587
{ "RigidBody", "RigidBody3D" },
1588
{ "SceneTreeTween", "Tween" },
1589
{ "ShortCut", "Shortcut" },
1590
{ "Skeleton", "Skeleton3D" },
1591
{ "SkeletonIK", "SkeletonIK3D" },
1592
{ "SliderJoint", "SliderJoint3D" },
1593
{ "SoftBody", "SoftBody3D" },
1594
{ "Spatial", "Node3D" },
1595
{ "SpatialGizmo", "Node3DGizmo" },
1596
{ "SpatialMaterial", "StandardMaterial3D" },
1597
{ "SphereShape", "SphereShape3D" },
1598
{ "SpotLight", "SpotLight3D" },
1599
{ "SpringArm", "SpringArm3D" },
1600
{ "Sprite", "Sprite2D" },
1601
{ "StaticBody", "StaticBody3D" },
1602
{ "StreamCubemap", "CompressedCubemap" },
1603
{ "StreamCubemapArray", "CompressedCubemapArray" },
1604
{ "StreamPeerGDNative", "StreamPeerExtension" },
1605
{ "StreamPeerSSL", "StreamPeerTLS" },
1606
{ "StreamTexture", "CompressedTexture2D" },
1607
{ "StreamTexture2D", "CompressedTexture2D" },
1608
{ "StreamTexture2DArray", "CompressedTexture2DArray" },
1609
{ "StreamTextureLayered", "CompressedTextureLayered" },
1610
{ "TCP_Server", "TCPServer" },
1611
{ "TextFile", "Node3D" },
1612
{ "Texture", "Texture2D" }, // May break TextureRect.
1613
{ "TextureArray", "Texture2DArray" },
1614
{ "TextureProgress", "TextureProgressBar" },
1615
{ "ToolButton", "Button" },
1616
{ "VehicleBody", "VehicleBody3D" },
1617
{ "VehicleWheel", "VehicleWheel3D" },
1618
{ "VideoPlayer", "VideoStreamPlayer" },
1619
{ "Viewport", "SubViewport" },
1620
{ "ViewportContainer", "SubViewportContainer" },
1621
{ "VisibilityEnabler", "VisibleOnScreenEnabler3D" },
1622
{ "VisibilityEnabler2D", "VisibleOnScreenEnabler2D" },
1623
{ "VisibilityNotifier", "VisibleOnScreenNotifier3D" },
1624
{ "VisibilityNotifier2D", "VisibleOnScreenNotifier2D" },
1625
{ "VisibilityNotifier3D", "VisibleOnScreenNotifier3D" },
1626
{ "VisualInstance", "VisualInstance3D" },
1627
{ "VisualServer", "RenderingServer" },
1628
{ "VisualShaderNodeCubeMap", "VisualShaderNodeCubemap" },
1629
{ "VisualShaderNodeScalarClamp", "VisualShaderNodeClamp" },
1630
{ "VisualShaderNodeScalarConstant", "VisualShaderNodeFloatConstant" },
1631
{ "VisualShaderNodeScalarFunc", "VisualShaderNodeFloatFunc" },
1632
{ "VisualShaderNodeScalarInterp", "VisualShaderNodeMix" },
1633
{ "VisualShaderNodeScalarOp", "VisualShaderNodeFloatOp" },
1634
{ "VisualShaderNodeScalarSmoothStep", "VisualShaderNodeSmoothStep" },
1635
{ "VisualShaderNodeScalarSwitch", "VisualShaderNodeSwitch" },
1636
{ "VisualShaderNodeScalarTransformMult", "VisualShaderNodeTransformOp" },
1637
{ "VisualShaderNodeTransformMult", "VisualShaderNode" },
1638
{ "VisualShaderNodeVectorClamp", "VisualShaderNodeClamp" },
1639
{ "VisualShaderNodeVectorInterp", "VisualShaderNodeMix" },
1640
{ "VisualShaderNodeVectorScalarMix", "VisualShaderNodeMix" },
1641
{ "VisualShaderNodeVectorScalarSmoothStep", "VisualShaderNodeSmoothStep" },
1642
{ "VisualShaderNodeVectorScalarStep", "VisualShaderNodeStep" },
1643
{ "VisualShaderNodeVectorSmoothStep", "VisualShaderNodeSmoothStep" },
1644
{ "VisualShaderNodeBooleanUniform", "VisualShaderNodeBooleanParameter" },
1645
{ "VisualShaderNodeColorUniform", "VisualShaderNodeColorParameter" },
1646
{ "VisualShaderNodeScalarUniform", "VisualShaderNodeFloatParameter" },
1647
{ "VisualShaderNodeCubemapUniform", "VisualShaderNodeCubemapParameter" },
1648
{ "VisualShaderNodeTextureUniform", "VisualShaderNodeTexture2DParameter" },
1649
{ "VisualShaderNodeTextureUniformTriplanar", "VisualShaderNodeTextureParameterTriplanar" },
1650
{ "VisualShaderNodeTransformUniform", "VisualShaderNodeTransformParameter" },
1651
{ "VisualShaderNodeVec3Uniform", "VisualShaderNodeVec3Parameter" },
1652
{ "VisualShaderNodeUniform", "VisualShaderNodeParameter" },
1653
{ "VisualShaderNodeUniformRef", "VisualShaderNodeParameterRef" },
1654
{ "WebRTCDataChannelGDNative", "WebRTCDataChannelExtension" },
1655
{ "WebRTCMultiplayer", "WebRTCMultiplayerPeer" },
1656
{ "WebRTCPeerConnectionGDNative", "WebRTCPeerConnectionExtension" },
1657
{ "WindowDialog", "Window" },
1658
{ "XRAnchor", "XRAnchor3D" },
1659
{ "XRController", "XRController3D" },
1660
{ "XROrigin", "XROrigin3D" },
1661
{ "YSort", "Node2D" }, // CanvasItem has a new "y_sort_enabled" property.
1662
1663
{ nullptr, nullptr },
1664
};
1665
1666
const char *RenamesMap3To4::color_renames[][2] = {
1667
{ "aliceblue", "ALICE_BLUE" },
1668
{ "antiquewhite", "ANTIQUE_WHITE" },
1669
{ "aqua", "AQUA" },
1670
{ "aquamarine", "AQUAMARINE" },
1671
{ "azure", "AZURE" },
1672
{ "beige", "BEIGE" },
1673
{ "bisque", "BISQUE" },
1674
{ "black", "BLACK" },
1675
{ "blanchedalmond", "BLANCHED_ALMOND" },
1676
{ "blue", "BLUE" },
1677
{ "blueviolet", "BLUE_VIOLET" },
1678
{ "brown", "BROWN" },
1679
{ "burlywood", "BURLYWOOD" },
1680
{ "cadetblue", "CADET_BLUE" },
1681
{ "chartreuse", "CHARTREUSE" },
1682
{ "chocolate", "CHOCOLATE" },
1683
{ "coral", "CORAL" },
1684
{ "cornflowerblue", "CORNFLOWER_BLUE" },
1685
{ "cornsilk", "CORNSILK" },
1686
{ "crimson", "CRIMSON" },
1687
{ "cyan", "CYAN" },
1688
{ "darkblue", "DARK_BLUE" },
1689
{ "darkcyan", "DARK_CYAN" },
1690
{ "darkgoldenrod", "DARK_GOLDENROD" },
1691
{ "darkgray", "DARK_GRAY" },
1692
{ "darkgreen", "DARK_GREEN" },
1693
{ "darkkhaki", "DARK_KHAKI" },
1694
{ "darkmagenta", "DARK_MAGENTA" },
1695
{ "darkolivegreen", "DARK_OLIVE_GREEN" },
1696
{ "darkorange", "DARK_ORANGE" },
1697
{ "darkorchid", "DARK_ORCHID" },
1698
{ "darkred", "DARK_RED" },
1699
{ "darksalmon", "DARK_SALMON" },
1700
{ "darkseagreen", "DARK_SEA_GREEN" },
1701
{ "darkslateblue", "DARK_SLATE_BLUE" },
1702
{ "darkslategray", "DARK_SLATE_GRAY" },
1703
{ "darkturquoise", "DARK_TURQUOISE" },
1704
{ "darkviolet", "DARK_VIOLET" },
1705
{ "deeppink", "DEEP_PINK" },
1706
{ "deepskyblue", "DEEP_SKY_BLUE" },
1707
{ "dimgray", "DIM_GRAY" },
1708
{ "dodgerblue", "DODGER_BLUE" },
1709
{ "firebrick", "FIREBRICK" },
1710
{ "floralwhite", "FLORAL_WHITE" },
1711
{ "forestgreen", "FOREST_GREEN" },
1712
{ "fuchsia", "FUCHSIA" },
1713
{ "gainsboro", "GAINSBORO" },
1714
{ "ghostwhite", "GHOST_WHITE" },
1715
{ "gold", "GOLD" },
1716
{ "goldenrod", "GOLDENROD" },
1717
{ "gray", "GRAY" },
1718
{ "green", "GREEN" },
1719
{ "greenyellow", "GREEN_YELLOW" },
1720
{ "honeydew", "HONEYDEW" },
1721
{ "hotpink", "HOT_PINK" },
1722
{ "indianred", "INDIAN_RED" },
1723
{ "indigo", "INDIGO" },
1724
{ "ivory", "IVORY" },
1725
{ "khaki", "KHAKI" },
1726
{ "lavender", "LAVENDER" },
1727
{ "lavenderblush", "LAVENDER_BLUSH" },
1728
{ "lawngreen", "LAWN_GREEN" },
1729
{ "lemonchiffon", "LEMON_CHIFFON" },
1730
{ "lightblue", "LIGHT_BLUE" },
1731
{ "lightcoral", "LIGHT_CORAL" },
1732
{ "lightcyan", "LIGHT_CYAN" },
1733
{ "lightgoldenrod", "LIGHT_GOLDENROD" },
1734
{ "lightgray", "LIGHT_GRAY" },
1735
{ "lightgreen", "LIGHT_GREEN" },
1736
{ "lightpink", "LIGHT_PINK" },
1737
{ "lightsalmon", "LIGHT_SALMON" },
1738
{ "lightseagreen", "LIGHT_SEA_GREEN" },
1739
{ "lightskyblue", "LIGHT_SKY_BLUE" },
1740
{ "lightslategray", "LIGHT_SLATE_GRAY" },
1741
{ "lightsteelblue", "LIGHT_STEEL_BLUE" },
1742
{ "lightyellow", "LIGHT_YELLOW" },
1743
{ "lime", "LIME" },
1744
{ "limegreen", "LIME_GREEN" },
1745
{ "linen", "LINEN" },
1746
{ "magenta", "MAGENTA" },
1747
{ "maroon", "MAROON" },
1748
{ "mediumaquamarine", "MEDIUM_AQUAMARINE" },
1749
{ "mediumblue", "MEDIUM_BLUE" },
1750
{ "mediumorchid", "MEDIUM_ORCHID" },
1751
{ "mediumpurple", "MEDIUM_PURPLE" },
1752
{ "mediumseagreen", "MEDIUM_SEA_GREEN" },
1753
{ "mediumslateblue", "MEDIUM_SLATE_BLUE" },
1754
{ "mediumspringgreen", "MEDIUM_SPRING_GREEN" },
1755
{ "mediumturquoise", "MEDIUM_TURQUOISE" },
1756
{ "mediumvioletred", "MEDIUM_VIOLET_RED" },
1757
{ "midnightblue", "MIDNIGHT_BLUE" },
1758
{ "mintcream", "MINT_CREAM" },
1759
{ "mistyrose", "MISTY_ROSE" },
1760
{ "moccasin", "MOCCASIN" },
1761
{ "navajowhite", "NAVAJO_WHITE" },
1762
{ "navyblue", "NAVY_BLUE" },
1763
{ "oldlace", "OLD_LACE" },
1764
{ "olive", "OLIVE" },
1765
{ "olivedrab", "OLIVE_DRAB" },
1766
{ "orange", "ORANGE" },
1767
{ "orangered", "ORANGE_RED" },
1768
{ "orchid", "ORCHID" },
1769
{ "palegoldenrod", "PALE_GOLDENROD" },
1770
{ "palegreen", "PALE_GREEN" },
1771
{ "paleturquoise", "PALE_TURQUOISE" },
1772
{ "palevioletred", "PALE_VIOLET_RED" },
1773
{ "papayawhip", "PAPAYA_WHIP" },
1774
{ "peachpuff", "PEACH_PUFF" },
1775
{ "peru", "PERU" },
1776
{ "pink", "PINK" },
1777
{ "plum", "PLUM" },
1778
{ "powderblue", "POWDER_BLUE" },
1779
{ "purple", "PURPLE" },
1780
{ "rebeccapurple", "REBECCA_PURPLE" },
1781
{ "red", "RED" },
1782
{ "rosybrown", "ROSY_BROWN" },
1783
{ "royalblue", "ROYAL_BLUE" },
1784
{ "saddlebrown", "SADDLE_BROWN" },
1785
{ "salmon", "SALMON" },
1786
{ "sandybrown", "SANDY_BROWN" },
1787
{ "seagreen", "SEA_GREEN" },
1788
{ "seashell", "SEASHELL" },
1789
{ "sienna", "SIENNA" },
1790
{ "silver", "SILVER" },
1791
{ "skyblue", "SKY_BLUE" },
1792
{ "slateblue", "SLATE_BLUE" },
1793
{ "slategray", "SLATE_GRAY" },
1794
{ "snow", "SNOW" },
1795
{ "springgreen", "SPRING_GREEN" },
1796
{ "steelblue", "STEEL_BLUE" },
1797
{ "tan", "TAN" },
1798
{ "teal", "TEAL" },
1799
{ "thistle", "THISTLE" },
1800
{ "tomato", "TOMATO" },
1801
{ "transparent", "TRANSPARENT" },
1802
{ "turquoise", "TURQUOISE" },
1803
{ "violet", "VIOLET" },
1804
{ "webgray", "WEB_GRAY" },
1805
{ "webgreen", "WEB_GREEN" },
1806
{ "webmaroon", "WEB_MAROON" },
1807
{ "webpurple", "WEB_PURPLE" },
1808
{ "wheat", "WHEAT" },
1809
{ "white", "WHITE" },
1810
{ "whitesmoke", "WHITE_SMOKE" },
1811
{ "yellow", "YELLOW" },
1812
{ "yellowgreen", "YELLOW_GREEN" },
1813
1814
{ nullptr, nullptr },
1815
};
1816
1817
const char *RenamesMap3To4::theme_override_renames[][2] = {
1818
// First rename the generic prefixes.
1819
{ "custom_colors/", "theme_override_colors/" },
1820
{ "custom_constants/", "theme_override_constants/" },
1821
{ "custom_fonts/", "theme_override_fonts/" },
1822
{ "custom_icons/", "theme_override_icons/" },
1823
{ "custom_styles/", "theme_override_styles/" },
1824
1825
// MarginContainer
1826
// The margin_* properties are renamed to offset_* in a previous conversion step.
1827
// This is fine everywhere except for the MarginContainer theme_override_constants.
1828
{ "theme_override_constants/offset_right", "theme_override_constants/margin_right" },
1829
{ "theme_override_constants/offset_top", "theme_override_constants/margin_top" },
1830
{ "theme_override_constants/offset_left", "theme_override_constants/margin_left" },
1831
{ "theme_override_constants/offset_bottom", "theme_override_constants/margin_bottom" },
1832
1833
// Panel/PanelContainer/TabContainer/PopupPanel/PopupMenu
1834
{ "theme_override_styles/panel", "theme_override_styles/panel" },
1835
1836
// TabContainer/Tabs(TabBar)
1837
{ "theme_override_styles/tab_bg", "theme_override_styles/tab_unselected" },
1838
{ "theme_override_styles/tab_fg", "theme_override_styles/tab_selected" },
1839
1840
// { "theme_override_styles/bg", "theme_override_styles/bg" }, // GraphEdit
1841
// { "theme_override_styles/bg", "theme_override_styles/panel" }, // ScrollContainer
1842
// { "theme_override_styles/bg", "theme_override_styles/background" }, // ProgressBar
1843
// { "theme_override_styles/fg", "theme_override_styles/fill" }, // ProgressBar
1844
1845
{ "theme_override_colors/font_color_hover", "theme_override_colors/font_hover_color" },
1846
{ "theme_override_colors/font_color_pressed", "theme_override_colors/font_pressed_color" },
1847
{ "theme_override_colors/font_color_disabled", "theme_override_colors/font_disabled_color" },
1848
{ "theme_override_colors/font_color_focus", "theme_override_colors/font_focus_color" },
1849
{ "theme_override_colors/font_color_hover_pressed", "theme_override_colors/font_hover_pressed_color" },
1850
1851
{ "theme_override_colors/font_outline_modulate", "theme_override_colors/font_outline_color" },
1852
{ "theme_override_colors/font_color_shadow", "theme_override_colors/font_shadow_color" },
1853
1854
{ "theme_override_constants/shadow_as_outline", "theme_override_constants/shadow_outline_size" }, // 0 or 1
1855
1856
{ "theme_override_constants/table_vseparation", "theme_override_constants/table_v_separation" },
1857
{ "theme_override_constants/table_hseparation", "theme_override_constants/table_h_separation" },
1858
1859
{ nullptr, nullptr },
1860
};
1861
1862
#endif // DISABLE_DEPRECATED
1863
1864