From e3119e7d059d527d458ac6d2aef1e194beb746b4 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Mon, 6 Jun 2022 12:18:07 +0300 Subject: [PATCH] Sync containers with new HashMap/HashSet, sync API headers. --- godot-headers/extension_api.json | 15723 ++++++++-------- godot-headers/godot/gdnative_interface.h | 3 + include/godot_cpp/core/memory.hpp | 8 + include/godot_cpp/templates/hash_map.hpp | 966 +- include/godot_cpp/templates/hash_set.hpp | 477 + include/godot_cpp/templates/hashfuncs.hpp | 137 +- .../templates/{map.hpp => rb_map.hpp} | 44 +- .../templates/{set.hpp => rb_set.hpp} | 37 +- include/godot_cpp/variant/variant.hpp | 20 +- src/variant/variant.cpp | 80 +- 10 files changed, 9401 insertions(+), 8094 deletions(-) create mode 100644 include/godot_cpp/templates/hash_set.hpp rename include/godot_cpp/templates/{map.hpp => rb_map.hpp} (96%) rename include/godot_cpp/templates/{set.hpp => rb_set.hpp} (96%) diff --git a/godot-headers/extension_api.json b/godot-headers/extension_api.json index 5bb26547..72dbb2f2 100644 --- a/godot-headers/extension_api.json +++ b/godot-headers/extension_api.json @@ -3,9 +3,9 @@ "version_major": 4, "version_minor": 0, "version_patch": 0, - "version_status": "alpha8", - "version_build": "official", - "version_full_name": "Godot Engine v4.0.alpha8.official" + "version_status": "alpha", + "version_build": "custom_build", + "version_full_name": "Godot Engine v4.0.alpha.custom_build" }, "builtin_class_sizes": [ { @@ -1436,15 +1436,23 @@ ], "global_enums": [ { - "name": "ClockDirection", + "name": "Side", "values": [ { - "name": "CLOCKWISE", + "name": "SIDE_LEFT", "value": 0 }, { - "name": "COUNTERCLOCKWISE", + "name": "SIDE_TOP", "value": 1 + }, + { + "name": "SIDE_RIGHT", + "value": 2 + }, + { + "name": "SIDE_BOTTOM", + "value": 3 } ] }, @@ -1470,203 +1478,28 @@ ] }, { - "name": "Error", + "name": "Orientation", "values": [ { - "name": "OK", - "value": 0 - }, - { - "name": "FAILED", + "name": "VERTICAL", "value": 1 }, { - "name": "ERR_UNAVAILABLE", - "value": 2 + "name": "HORIZONTAL", + "value": 0 + } + ] + }, + { + "name": "ClockDirection", + "values": [ + { + "name": "CLOCKWISE", + "value": 0 }, { - "name": "ERR_UNCONFIGURED", - "value": 3 - }, - { - "name": "ERR_UNAUTHORIZED", - "value": 4 - }, - { - "name": "ERR_PARAMETER_RANGE_ERROR", - "value": 5 - }, - { - "name": "ERR_OUT_OF_MEMORY", - "value": 6 - }, - { - "name": "ERR_FILE_NOT_FOUND", - "value": 7 - }, - { - "name": "ERR_FILE_BAD_DRIVE", - "value": 8 - }, - { - "name": "ERR_FILE_BAD_PATH", - "value": 9 - }, - { - "name": "ERR_FILE_NO_PERMISSION", - "value": 10 - }, - { - "name": "ERR_FILE_ALREADY_IN_USE", - "value": 11 - }, - { - "name": "ERR_FILE_CANT_OPEN", - "value": 12 - }, - { - "name": "ERR_FILE_CANT_WRITE", - "value": 13 - }, - { - "name": "ERR_FILE_CANT_READ", - "value": 14 - }, - { - "name": "ERR_FILE_UNRECOGNIZED", - "value": 15 - }, - { - "name": "ERR_FILE_CORRUPT", - "value": 16 - }, - { - "name": "ERR_FILE_MISSING_DEPENDENCIES", - "value": 17 - }, - { - "name": "ERR_FILE_EOF", - "value": 18 - }, - { - "name": "ERR_CANT_OPEN", - "value": 19 - }, - { - "name": "ERR_CANT_CREATE", - "value": 20 - }, - { - "name": "ERR_QUERY_FAILED", - "value": 21 - }, - { - "name": "ERR_ALREADY_IN_USE", - "value": 22 - }, - { - "name": "ERR_LOCKED", - "value": 23 - }, - { - "name": "ERR_TIMEOUT", - "value": 24 - }, - { - "name": "ERR_CANT_CONNECT", - "value": 25 - }, - { - "name": "ERR_CANT_RESOLVE", - "value": 26 - }, - { - "name": "ERR_CONNECTION_ERROR", - "value": 27 - }, - { - "name": "ERR_CANT_ACQUIRE_RESOURCE", - "value": 28 - }, - { - "name": "ERR_CANT_FORK", - "value": 29 - }, - { - "name": "ERR_INVALID_DATA", - "value": 30 - }, - { - "name": "ERR_INVALID_PARAMETER", - "value": 31 - }, - { - "name": "ERR_ALREADY_EXISTS", - "value": 32 - }, - { - "name": "ERR_DOES_NOT_EXIST", - "value": 33 - }, - { - "name": "ERR_DATABASE_CANT_READ", - "value": 34 - }, - { - "name": "ERR_DATABASE_CANT_WRITE", - "value": 35 - }, - { - "name": "ERR_COMPILATION_FAILED", - "value": 36 - }, - { - "name": "ERR_METHOD_NOT_FOUND", - "value": 37 - }, - { - "name": "ERR_LINK_FAILED", - "value": 38 - }, - { - "name": "ERR_SCRIPT_FAILED", - "value": 39 - }, - { - "name": "ERR_CYCLIC_LINK", - "value": 40 - }, - { - "name": "ERR_INVALID_DECLARATION", - "value": 41 - }, - { - "name": "ERR_DUPLICATE_SYMBOL", - "value": 42 - }, - { - "name": "ERR_PARSE_ERROR", - "value": 43 - }, - { - "name": "ERR_BUSY", - "value": 44 - }, - { - "name": "ERR_SKIP", - "value": 45 - }, - { - "name": "ERR_HELP", - "value": 46 - }, - { - "name": "ERR_BUG", - "value": 47 - }, - { - "name": "ERR_PRINTER_ON_FIRE", - "value": 48 + "name": "COUNTERCLOCKWISE", + "value": 1 } ] }, @@ -1691,6 +1524,27 @@ } ] }, + { + "name": "VerticalAlignment", + "values": [ + { + "name": "VERTICAL_ALIGNMENT_TOP", + "value": 0 + }, + { + "name": "VERTICAL_ALIGNMENT_CENTER", + "value": 1 + }, + { + "name": "VERTICAL_ALIGNMENT_BOTTOM", + "value": 2 + }, + { + "name": "VERTICAL_ALIGNMENT_FILL", + "value": 3 + } + ] + }, { "name": "InlineAlignment", "values": [ @@ -1744,148 +1598,6 @@ } ] }, - { - "name": "JoyAxis", - "values": [ - { - "name": "JOY_AXIS_INVALID", - "value": -1 - }, - { - "name": "JOY_AXIS_LEFT_X", - "value": 0 - }, - { - "name": "JOY_AXIS_LEFT_Y", - "value": 1 - }, - { - "name": "JOY_AXIS_RIGHT_X", - "value": 2 - }, - { - "name": "JOY_AXIS_RIGHT_Y", - "value": 3 - }, - { - "name": "JOY_AXIS_TRIGGER_LEFT", - "value": 4 - }, - { - "name": "JOY_AXIS_TRIGGER_RIGHT", - "value": 5 - }, - { - "name": "JOY_AXIS_SDL_MAX", - "value": 6 - }, - { - "name": "JOY_AXIS_MAX", - "value": 10 - } - ] - }, - { - "name": "JoyButton", - "values": [ - { - "name": "JOY_BUTTON_INVALID", - "value": -1 - }, - { - "name": "JOY_BUTTON_A", - "value": 0 - }, - { - "name": "JOY_BUTTON_B", - "value": 1 - }, - { - "name": "JOY_BUTTON_X", - "value": 2 - }, - { - "name": "JOY_BUTTON_Y", - "value": 3 - }, - { - "name": "JOY_BUTTON_BACK", - "value": 4 - }, - { - "name": "JOY_BUTTON_GUIDE", - "value": 5 - }, - { - "name": "JOY_BUTTON_START", - "value": 6 - }, - { - "name": "JOY_BUTTON_LEFT_STICK", - "value": 7 - }, - { - "name": "JOY_BUTTON_RIGHT_STICK", - "value": 8 - }, - { - "name": "JOY_BUTTON_LEFT_SHOULDER", - "value": 9 - }, - { - "name": "JOY_BUTTON_RIGHT_SHOULDER", - "value": 10 - }, - { - "name": "JOY_BUTTON_DPAD_UP", - "value": 11 - }, - { - "name": "JOY_BUTTON_DPAD_DOWN", - "value": 12 - }, - { - "name": "JOY_BUTTON_DPAD_LEFT", - "value": 13 - }, - { - "name": "JOY_BUTTON_DPAD_RIGHT", - "value": 14 - }, - { - "name": "JOY_BUTTON_MISC1", - "value": 15 - }, - { - "name": "JOY_BUTTON_PADDLE1", - "value": 16 - }, - { - "name": "JOY_BUTTON_PADDLE2", - "value": 17 - }, - { - "name": "JOY_BUTTON_PADDLE3", - "value": 18 - }, - { - "name": "JOY_BUTTON_PADDLE4", - "value": 19 - }, - { - "name": "JOY_BUTTON_TOUCHPAD", - "value": 20 - }, - { - "name": "JOY_BUTTON_SDL_MAX", - "value": 21 - }, - { - "name": "JOY_BUTTON_MAX", - "value": 128 - } - ] - }, { "name": "Key", "values": [ @@ -2896,7 +2608,7 @@ }, { "name": "KEY_MASK_CMD", - "value": 268435456 + "value": 134217728 }, { "name": "KEY_MASK_KPAD", @@ -2908,6 +2620,213 @@ } ] }, + { + "name": "MouseButton", + "values": [ + { + "name": "MOUSE_BUTTON_NONE", + "value": 0 + }, + { + "name": "MOUSE_BUTTON_LEFT", + "value": 1 + }, + { + "name": "MOUSE_BUTTON_RIGHT", + "value": 2 + }, + { + "name": "MOUSE_BUTTON_MIDDLE", + "value": 3 + }, + { + "name": "MOUSE_BUTTON_WHEEL_UP", + "value": 4 + }, + { + "name": "MOUSE_BUTTON_WHEEL_DOWN", + "value": 5 + }, + { + "name": "MOUSE_BUTTON_WHEEL_LEFT", + "value": 6 + }, + { + "name": "MOUSE_BUTTON_WHEEL_RIGHT", + "value": 7 + }, + { + "name": "MOUSE_BUTTON_XBUTTON1", + "value": 8 + }, + { + "name": "MOUSE_BUTTON_XBUTTON2", + "value": 9 + }, + { + "name": "MOUSE_BUTTON_MASK_LEFT", + "value": 1 + }, + { + "name": "MOUSE_BUTTON_MASK_RIGHT", + "value": 2 + }, + { + "name": "MOUSE_BUTTON_MASK_MIDDLE", + "value": 4 + }, + { + "name": "MOUSE_BUTTON_MASK_XBUTTON1", + "value": 128 + }, + { + "name": "MOUSE_BUTTON_MASK_XBUTTON2", + "value": 256 + } + ] + }, + { + "name": "JoyButton", + "values": [ + { + "name": "JOY_BUTTON_INVALID", + "value": -1 + }, + { + "name": "JOY_BUTTON_A", + "value": 0 + }, + { + "name": "JOY_BUTTON_B", + "value": 1 + }, + { + "name": "JOY_BUTTON_X", + "value": 2 + }, + { + "name": "JOY_BUTTON_Y", + "value": 3 + }, + { + "name": "JOY_BUTTON_BACK", + "value": 4 + }, + { + "name": "JOY_BUTTON_GUIDE", + "value": 5 + }, + { + "name": "JOY_BUTTON_START", + "value": 6 + }, + { + "name": "JOY_BUTTON_LEFT_STICK", + "value": 7 + }, + { + "name": "JOY_BUTTON_RIGHT_STICK", + "value": 8 + }, + { + "name": "JOY_BUTTON_LEFT_SHOULDER", + "value": 9 + }, + { + "name": "JOY_BUTTON_RIGHT_SHOULDER", + "value": 10 + }, + { + "name": "JOY_BUTTON_DPAD_UP", + "value": 11 + }, + { + "name": "JOY_BUTTON_DPAD_DOWN", + "value": 12 + }, + { + "name": "JOY_BUTTON_DPAD_LEFT", + "value": 13 + }, + { + "name": "JOY_BUTTON_DPAD_RIGHT", + "value": 14 + }, + { + "name": "JOY_BUTTON_MISC1", + "value": 15 + }, + { + "name": "JOY_BUTTON_PADDLE1", + "value": 16 + }, + { + "name": "JOY_BUTTON_PADDLE2", + "value": 17 + }, + { + "name": "JOY_BUTTON_PADDLE3", + "value": 18 + }, + { + "name": "JOY_BUTTON_PADDLE4", + "value": 19 + }, + { + "name": "JOY_BUTTON_TOUCHPAD", + "value": 20 + }, + { + "name": "JOY_BUTTON_SDL_MAX", + "value": 21 + }, + { + "name": "JOY_BUTTON_MAX", + "value": 128 + } + ] + }, + { + "name": "JoyAxis", + "values": [ + { + "name": "JOY_AXIS_INVALID", + "value": -1 + }, + { + "name": "JOY_AXIS_LEFT_X", + "value": 0 + }, + { + "name": "JOY_AXIS_LEFT_Y", + "value": 1 + }, + { + "name": "JOY_AXIS_RIGHT_X", + "value": 2 + }, + { + "name": "JOY_AXIS_RIGHT_Y", + "value": 3 + }, + { + "name": "JOY_AXIS_TRIGGER_LEFT", + "value": 4 + }, + { + "name": "JOY_AXIS_TRIGGER_RIGHT", + "value": 5 + }, + { + "name": "JOY_AXIS_SDL_MAX", + "value": 6 + }, + { + "name": "JOY_AXIS_MAX", + "value": 10 + } + ] + }, { "name": "MIDIMessage", "values": [ @@ -2990,125 +2909,203 @@ ] }, { - "name": "MethodFlags", + "name": "Error", "values": [ { - "name": "METHOD_FLAG_NORMAL", - "value": 1 - }, - { - "name": "METHOD_FLAG_EDITOR", - "value": 2 - }, - { - "name": "METHOD_FLAG_NOSCRIPT", - "value": 4 - }, - { - "name": "METHOD_FLAG_CONST", - "value": 8 - }, - { - "name": "METHOD_FLAG_REVERSE", - "value": 16 - }, - { - "name": "METHOD_FLAG_VIRTUAL", - "value": 32 - }, - { - "name": "METHOD_FLAG_FROM_SCRIPT", - "value": 64 - }, - { - "name": "METHOD_FLAG_STATIC", - "value": 256 - }, - { - "name": "METHOD_FLAG_OBJECT_CORE", - "value": 512 - }, - { - "name": "METHOD_FLAGS_DEFAULT", - "value": 1 - } - ] - }, - { - "name": "MouseButton", - "values": [ - { - "name": "MOUSE_BUTTON_NONE", + "name": "OK", "value": 0 }, { - "name": "MOUSE_BUTTON_LEFT", + "name": "FAILED", "value": 1 }, { - "name": "MOUSE_BUTTON_RIGHT", + "name": "ERR_UNAVAILABLE", "value": 2 }, { - "name": "MOUSE_BUTTON_MIDDLE", + "name": "ERR_UNCONFIGURED", "value": 3 }, { - "name": "MOUSE_BUTTON_WHEEL_UP", + "name": "ERR_UNAUTHORIZED", "value": 4 }, { - "name": "MOUSE_BUTTON_WHEEL_DOWN", + "name": "ERR_PARAMETER_RANGE_ERROR", "value": 5 }, { - "name": "MOUSE_BUTTON_WHEEL_LEFT", + "name": "ERR_OUT_OF_MEMORY", "value": 6 }, { - "name": "MOUSE_BUTTON_WHEEL_RIGHT", + "name": "ERR_FILE_NOT_FOUND", "value": 7 }, { - "name": "MOUSE_BUTTON_XBUTTON1", + "name": "ERR_FILE_BAD_DRIVE", "value": 8 }, { - "name": "MOUSE_BUTTON_XBUTTON2", + "name": "ERR_FILE_BAD_PATH", "value": 9 }, { - "name": "MOUSE_BUTTON_MASK_LEFT", - "value": 1 + "name": "ERR_FILE_NO_PERMISSION", + "value": 10 }, { - "name": "MOUSE_BUTTON_MASK_RIGHT", - "value": 2 + "name": "ERR_FILE_ALREADY_IN_USE", + "value": 11 }, { - "name": "MOUSE_BUTTON_MASK_MIDDLE", - "value": 4 + "name": "ERR_FILE_CANT_OPEN", + "value": 12 }, { - "name": "MOUSE_BUTTON_MASK_XBUTTON1", - "value": 128 + "name": "ERR_FILE_CANT_WRITE", + "value": 13 }, { - "name": "MOUSE_BUTTON_MASK_XBUTTON2", - "value": 256 - } - ] - }, - { - "name": "Orientation", - "values": [ - { - "name": "VERTICAL", - "value": 1 + "name": "ERR_FILE_CANT_READ", + "value": 14 }, { - "name": "HORIZONTAL", - "value": 0 + "name": "ERR_FILE_UNRECOGNIZED", + "value": 15 + }, + { + "name": "ERR_FILE_CORRUPT", + "value": 16 + }, + { + "name": "ERR_FILE_MISSING_DEPENDENCIES", + "value": 17 + }, + { + "name": "ERR_FILE_EOF", + "value": 18 + }, + { + "name": "ERR_CANT_OPEN", + "value": 19 + }, + { + "name": "ERR_CANT_CREATE", + "value": 20 + }, + { + "name": "ERR_QUERY_FAILED", + "value": 21 + }, + { + "name": "ERR_ALREADY_IN_USE", + "value": 22 + }, + { + "name": "ERR_LOCKED", + "value": 23 + }, + { + "name": "ERR_TIMEOUT", + "value": 24 + }, + { + "name": "ERR_CANT_CONNECT", + "value": 25 + }, + { + "name": "ERR_CANT_RESOLVE", + "value": 26 + }, + { + "name": "ERR_CONNECTION_ERROR", + "value": 27 + }, + { + "name": "ERR_CANT_ACQUIRE_RESOURCE", + "value": 28 + }, + { + "name": "ERR_CANT_FORK", + "value": 29 + }, + { + "name": "ERR_INVALID_DATA", + "value": 30 + }, + { + "name": "ERR_INVALID_PARAMETER", + "value": 31 + }, + { + "name": "ERR_ALREADY_EXISTS", + "value": 32 + }, + { + "name": "ERR_DOES_NOT_EXIST", + "value": 33 + }, + { + "name": "ERR_DATABASE_CANT_READ", + "value": 34 + }, + { + "name": "ERR_DATABASE_CANT_WRITE", + "value": 35 + }, + { + "name": "ERR_COMPILATION_FAILED", + "value": 36 + }, + { + "name": "ERR_METHOD_NOT_FOUND", + "value": 37 + }, + { + "name": "ERR_LINK_FAILED", + "value": 38 + }, + { + "name": "ERR_SCRIPT_FAILED", + "value": 39 + }, + { + "name": "ERR_CYCLIC_LINK", + "value": 40 + }, + { + "name": "ERR_INVALID_DECLARATION", + "value": 41 + }, + { + "name": "ERR_DUPLICATE_SYMBOL", + "value": 42 + }, + { + "name": "ERR_PARSE_ERROR", + "value": 43 + }, + { + "name": "ERR_BUSY", + "value": 44 + }, + { + "name": "ERR_SKIP", + "value": 45 + }, + { + "name": "ERR_HELP", + "value": 46 + }, + { + "name": "ERR_BUG", + "value": 47 + }, + { + "name": "ERR_PRINTER_ON_FIRE", + "value": 48 } ] }, @@ -3430,6 +3427,51 @@ } ] }, + { + "name": "MethodFlags", + "values": [ + { + "name": "METHOD_FLAG_NORMAL", + "value": 1 + }, + { + "name": "METHOD_FLAG_EDITOR", + "value": 2 + }, + { + "name": "METHOD_FLAG_NOSCRIPT", + "value": 4 + }, + { + "name": "METHOD_FLAG_CONST", + "value": 8 + }, + { + "name": "METHOD_FLAG_REVERSE", + "value": 16 + }, + { + "name": "METHOD_FLAG_VIRTUAL", + "value": 32 + }, + { + "name": "METHOD_FLAG_FROM_SCRIPT", + "value": 64 + }, + { + "name": "METHOD_FLAG_STATIC", + "value": 256 + }, + { + "name": "METHOD_FLAG_OBJECT_CORE", + "value": 512 + }, + { + "name": "METHOD_FLAGS_DEFAULT", + "value": 1 + } + ] + }, { "name": "RPCMode", "values": [ @@ -3442,32 +3484,11 @@ "value": 1 }, { - "name": "RPC_MODE_AUTH", + "name": "RPC_MODE_AUTHORITY", "value": 2 } ] }, - { - "name": "Side", - "values": [ - { - "name": "SIDE_LEFT", - "value": 0 - }, - { - "name": "SIDE_TOP", - "value": 1 - }, - { - "name": "SIDE_RIGHT", - "value": 2 - }, - { - "name": "SIDE_BOTTOM", - "value": 3 - } - ] - }, { "name": "TransferMode", "values": [ @@ -3485,111 +3506,6 @@ } ] }, - { - "name": "Variant.Operator", - "values": [ - { - "name": "OP_EQUAL", - "value": 0 - }, - { - "name": "OP_NOT_EQUAL", - "value": 1 - }, - { - "name": "OP_LESS", - "value": 2 - }, - { - "name": "OP_LESS_EQUAL", - "value": 3 - }, - { - "name": "OP_GREATER", - "value": 4 - }, - { - "name": "OP_GREATER_EQUAL", - "value": 5 - }, - { - "name": "OP_ADD", - "value": 6 - }, - { - "name": "OP_SUBTRACT", - "value": 7 - }, - { - "name": "OP_MULTIPLY", - "value": 8 - }, - { - "name": "OP_DIVIDE", - "value": 9 - }, - { - "name": "OP_NEGATE", - "value": 10 - }, - { - "name": "OP_POSITIVE", - "value": 11 - }, - { - "name": "OP_MODULE", - "value": 12 - }, - { - "name": "OP_SHIFT_LEFT", - "value": 13 - }, - { - "name": "OP_SHIFT_RIGHT", - "value": 14 - }, - { - "name": "OP_BIT_AND", - "value": 15 - }, - { - "name": "OP_BIT_OR", - "value": 16 - }, - { - "name": "OP_BIT_XOR", - "value": 17 - }, - { - "name": "OP_BIT_NEGATE", - "value": 18 - }, - { - "name": "OP_AND", - "value": 19 - }, - { - "name": "OP_OR", - "value": 20 - }, - { - "name": "OP_XOR", - "value": 21 - }, - { - "name": "OP_NOT", - "value": 22 - }, - { - "name": "OP_IN", - "value": 23 - }, - { - "name": "OP_MAX", - "value": 24 - } - ] - }, { "name": "Variant.Type", "values": [ @@ -3740,23 +3656,111 @@ ] }, { - "name": "VerticalAlignment", + "name": "Variant.Operator", "values": [ { - "name": "VERTICAL_ALIGNMENT_TOP", + "name": "OP_EQUAL", "value": 0 }, { - "name": "VERTICAL_ALIGNMENT_CENTER", + "name": "OP_NOT_EQUAL", "value": 1 }, { - "name": "VERTICAL_ALIGNMENT_BOTTOM", + "name": "OP_LESS", "value": 2 }, { - "name": "VERTICAL_ALIGNMENT_FILL", + "name": "OP_LESS_EQUAL", "value": 3 + }, + { + "name": "OP_GREATER", + "value": 4 + }, + { + "name": "OP_GREATER_EQUAL", + "value": 5 + }, + { + "name": "OP_ADD", + "value": 6 + }, + { + "name": "OP_SUBTRACT", + "value": 7 + }, + { + "name": "OP_MULTIPLY", + "value": 8 + }, + { + "name": "OP_DIVIDE", + "value": 9 + }, + { + "name": "OP_NEGATE", + "value": 10 + }, + { + "name": "OP_POSITIVE", + "value": 11 + }, + { + "name": "OP_MODULE", + "value": 12 + }, + { + "name": "OP_POWER", + "value": 13 + }, + { + "name": "OP_SHIFT_LEFT", + "value": 14 + }, + { + "name": "OP_SHIFT_RIGHT", + "value": 15 + }, + { + "name": "OP_BIT_AND", + "value": 16 + }, + { + "name": "OP_BIT_OR", + "value": 17 + }, + { + "name": "OP_BIT_XOR", + "value": 18 + }, + { + "name": "OP_BIT_NEGATE", + "value": 19 + }, + { + "name": "OP_AND", + "value": 20 + }, + { + "name": "OP_OR", + "value": 21 + }, + { + "name": "OP_XOR", + "value": 22 + }, + { + "name": "OP_NOT", + "value": 23 + }, + { + "name": "OP_IN", + "value": 24 + }, + { + "name": "OP_MAX", + "value": 25 } ] } @@ -5794,6 +5798,11 @@ "right_type": "int", "return_type": "int" }, + { + "name": "**", + "right_type": "int", + "return_type": "int" + }, { "name": "<<", "right_type": "int", @@ -5884,6 +5893,11 @@ "right_type": "float", "return_type": "float" }, + { + "name": "**", + "right_type": "float", + "return_type": "float" + }, { "name": "and", "right_type": "float", @@ -6125,6 +6139,11 @@ "right_type": "int", "return_type": "float" }, + { + "name": "**", + "right_type": "int", + "return_type": "float" + }, { "name": "and", "right_type": "int", @@ -6190,6 +6209,11 @@ "right_type": "float", "return_type": "float" }, + { + "name": "**", + "right_type": "float", + "return_type": "float" + }, { "name": "and", "right_type": "float", @@ -13917,6 +13941,16 @@ "return_type": "bool" } ], + "methods": [ + { + "name": "hash", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + } + ], "constructors": [ { "index": 0 @@ -14016,6 +14050,14 @@ "is_static": false, "hash": 171192809 }, + { + "name": "hash", + "return_type": "int", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 171192809 + }, { "name": "get_subname", "return_type": "StringName", @@ -20099,10 +20141,10 @@ ], "signals": [ { - "name": "cancelled" + "name": "confirmed" }, { - "name": "confirmed" + "name": "cancelled" }, { "name": "custom_action", @@ -24578,23 +24620,6 @@ "inherits": "Resource", "api_type": "core", "enums": [ - { - "name": "LoopMode", - "values": [ - { - "name": "LOOP_NONE", - "value": 0 - }, - { - "name": "LOOP_LINEAR", - "value": 1 - }, - { - "name": "LOOP_PINGPONG", - "value": 2 - } - ] - }, { "name": "TrackType", "values": [ @@ -24636,6 +24661,23 @@ } ] }, + { + "name": "InterpolationType", + "values": [ + { + "name": "INTERPOLATION_NEAREST", + "value": 0 + }, + { + "name": "INTERPOLATION_LINEAR", + "value": 1 + }, + { + "name": "INTERPOLATION_CUBIC", + "value": 2 + } + ] + }, { "name": "UpdateMode", "values": [ @@ -24657,6 +24699,23 @@ } ] }, + { + "name": "LoopMode", + "values": [ + { + "name": "LOOP_NONE", + "value": 0 + }, + { + "name": "LOOP_LINEAR", + "value": 1 + }, + { + "name": "LOOP_PINGPONG", + "value": 2 + } + ] + }, { "name": "HandleMode", "values": [ @@ -24669,23 +24728,6 @@ "value": 1 } ] - }, - { - "name": "InterpolationType", - "values": [ - { - "name": "INTERPOLATION_NEAREST", - "value": 0 - }, - { - "name": "INTERPOLATION_LINEAR", - "value": 1 - }, - { - "name": "INTERPOLATION_CUBIC", - "value": 2 - } - ] } ], "methods": [ @@ -26400,15 +26442,11 @@ ], "signals": [ { - "name": "animation_renamed", + "name": "animation_added", "arguments": [ { "name": "name", "type": "Animation" - }, - { - "name": "to_name", - "type": "Animation" } ] }, @@ -26422,11 +26460,15 @@ ] }, { - "name": "animation_added", + "name": "animation_renamed", "arguments": [ { "name": "name", "type": "Animation" + }, + { + "name": "to_name", + "type": "Animation" } ] } @@ -26531,6 +26573,10 @@ { "name": "seek", "type": "bool" + }, + { + "name": "seek_root", + "type": "bool" } ] }, @@ -26679,7 +26725,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 139207724, + "hash": 140393645, "arguments": [ { "name": "animation", @@ -26699,6 +26745,10 @@ "name": "seeked", "type": "bool" }, + { + "name": "seek_root", + "type": "bool" + }, { "name": "blend", "type": "float", @@ -26718,7 +26768,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1630676879, + "hash": 1669812272, "return_value": { "type": "float", "meta": "double" @@ -26741,6 +26791,10 @@ "name": "seek", "type": "bool" }, + { + "name": "seek_root", + "type": "bool" + }, { "name": "blend", "type": "float", @@ -26764,7 +26818,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1591541486, + "hash": 1630676879, "return_value": { "type": "float", "meta": "double" @@ -26784,6 +26838,10 @@ "name": "seek", "type": "bool" }, + { + "name": "seek_root", + "type": "bool" + }, { "name": "blend", "type": "float", @@ -32189,10 +32247,7 @@ ], "signals": [ { - "name": "caches_cleared" - }, - { - "name": "animation_started", + "name": "animation_finished", "arguments": [ { "name": "anim_name", @@ -32214,13 +32269,16 @@ ] }, { - "name": "animation_finished", + "name": "animation_started", "arguments": [ { "name": "anim_name", "type": "StringName" } ] + }, + { + "name": "caches_cleared" } ], "properties": [ @@ -33035,45 +33093,6 @@ } ], "signals": [ - { - "name": "area_exited", - "arguments": [ - { - "name": "area", - "type": "Area2D" - } - ] - }, - { - "name": "area_shape_exited", - "arguments": [ - { - "name": "area_rid", - "type": "RID" - }, - { - "name": "area", - "type": "Area2D" - }, - { - "name": "area_shape_index", - "type": "int" - }, - { - "name": "local_shape_index", - "type": "int" - } - ] - }, - { - "name": "body_entered", - "arguments": [ - { - "name": "body", - "type": "Node2D" - } - ] - }, { "name": "body_shape_entered", "arguments": [ @@ -33096,11 +33115,41 @@ ] }, { - "name": "area_entered", + "name": "body_shape_exited", "arguments": [ { - "name": "area", - "type": "Area2D" + "name": "body_rid", + "type": "RID" + }, + { + "name": "body", + "type": "Node2D" + }, + { + "name": "body_shape_index", + "type": "int" + }, + { + "name": "local_shape_index", + "type": "int" + } + ] + }, + { + "name": "body_entered", + "arguments": [ + { + "name": "body", + "type": "Node2D" + } + ] + }, + { + "name": "body_exited", + "arguments": [ + { + "name": "body", + "type": "Node2D" } ] }, @@ -33126,27 +33175,18 @@ ] }, { - "name": "body_exited", + "name": "area_shape_exited", "arguments": [ { - "name": "body", - "type": "Node2D" - } - ] - }, - { - "name": "body_shape_exited", - "arguments": [ - { - "name": "body_rid", + "name": "area_rid", "type": "RID" }, { - "name": "body", - "type": "Node2D" + "name": "area", + "type": "Area2D" }, { - "name": "body_shape_index", + "name": "area_shape_index", "type": "int" }, { @@ -33154,6 +33194,24 @@ "type": "int" } ] + }, + { + "name": "area_entered", + "arguments": [ + { + "name": "area", + "type": "Area2D" + } + ] + }, + { + "name": "area_exited", + "arguments": [ + { + "name": "area", + "type": "Area2D" + } + ] } ], "properties": [ @@ -33924,45 +33982,6 @@ } ], "signals": [ - { - "name": "area_exited", - "arguments": [ - { - "name": "area", - "type": "Area3D" - } - ] - }, - { - "name": "area_shape_exited", - "arguments": [ - { - "name": "area_rid", - "type": "RID" - }, - { - "name": "area", - "type": "Area3D" - }, - { - "name": "area_shape_index", - "type": "int" - }, - { - "name": "local_shape_index", - "type": "int" - } - ] - }, - { - "name": "body_entered", - "arguments": [ - { - "name": "body", - "type": "Node3D" - } - ] - }, { "name": "body_shape_entered", "arguments": [ @@ -33985,11 +34004,41 @@ ] }, { - "name": "area_entered", + "name": "body_shape_exited", "arguments": [ { - "name": "area", - "type": "Area3D" + "name": "body_rid", + "type": "RID" + }, + { + "name": "body", + "type": "Node3D" + }, + { + "name": "body_shape_index", + "type": "int" + }, + { + "name": "local_shape_index", + "type": "int" + } + ] + }, + { + "name": "body_entered", + "arguments": [ + { + "name": "body", + "type": "Node3D" + } + ] + }, + { + "name": "body_exited", + "arguments": [ + { + "name": "body", + "type": "Node3D" } ] }, @@ -34015,27 +34064,18 @@ ] }, { - "name": "body_exited", + "name": "area_shape_exited", "arguments": [ { - "name": "body", - "type": "Node3D" - } - ] - }, - { - "name": "body_shape_exited", - "arguments": [ - { - "name": "body_rid", + "name": "area_rid", "type": "RID" }, { - "name": "body", - "type": "Node3D" + "name": "area", + "type": "Area3D" }, { - "name": "body_shape_index", + "name": "area_shape_index", "type": "int" }, { @@ -34043,6 +34083,24 @@ "type": "int" } ] + }, + { + "name": "area_entered", + "arguments": [ + { + "name": "area", + "type": "Area3D" + } + ] + }, + { + "name": "area_exited", + "arguments": [ + { + "name": "area", + "type": "Area3D" + } + ] } ], "properties": [ @@ -34732,23 +34790,6 @@ "inherits": "Container", "api_type": "core", "enums": [ - { - "name": "AlignmentMode", - "values": [ - { - "name": "ALIGNMENT_BEGIN", - "value": 0 - }, - { - "name": "ALIGNMENT_CENTER", - "value": 1 - }, - { - "name": "ALIGNMENT_END", - "value": 2 - } - ] - }, { "name": "StretchMode", "values": [ @@ -34769,6 +34810,23 @@ "value": 3 } ] + }, + { + "name": "AlignmentMode", + "values": [ + { + "name": "ALIGNMENT_BEGIN", + "value": 0 + }, + { + "name": "ALIGNMENT_CENTER", + "value": 1 + }, + { + "name": "ALIGNMENT_END", + "value": 2 + } + ] } ], "methods": [ @@ -41587,6 +41645,23 @@ "inherits": "AudioStream", "api_type": "core", "enums": [ + { + "name": "Format", + "values": [ + { + "name": "FORMAT_8_BITS", + "value": 0 + }, + { + "name": "FORMAT_16_BITS", + "value": 1 + }, + { + "name": "FORMAT_IMA_ADPCM", + "value": 2 + } + ] + }, { "name": "LoopMode", "values": [ @@ -41607,23 +41682,6 @@ "value": 3 } ] - }, - { - "name": "Format", - "values": [ - { - "name": "FORMAT_8_BITS", - "value": 0 - }, - { - "name": "FORMAT_16_BITS", - "value": 1 - }, - { - "name": "FORMAT_IMA_ADPCM", - "value": 2 - } - ] } ], "methods": [ @@ -41979,19 +42037,6 @@ "inherits": "Control", "api_type": "core", "enums": [ - { - "name": "ActionMode", - "values": [ - { - "name": "ACTION_MODE_BUTTON_PRESS", - "value": 0 - }, - { - "name": "ACTION_MODE_BUTTON_RELEASE", - "value": 1 - } - ] - }, { "name": "DrawMode", "values": [ @@ -42016,6 +42061,19 @@ "value": 4 } ] + }, + { + "name": "ActionMode", + "values": [ + { + "name": "ACTION_MODE_BUTTON_PRESS", + "value": 0 + }, + { + "name": "ACTION_MODE_BUTTON_RELEASE", + "value": 1 + } + ] } ], "methods": [ @@ -42327,6 +42385,12 @@ } ], "signals": [ + { + "name": "pressed" + }, + { + "name": "button_up" + }, { "name": "button_down" }, @@ -42338,12 +42402,6 @@ "type": "bool" } ] - }, - { - "name": "pressed" - }, - { - "name": "button_up" } ], "properties": [ @@ -42427,36 +42485,158 @@ "api_type": "core", "enums": [ { - "name": "EmissionOperator", + "name": "TextureParam", "values": [ { - "name": "EMISSION_OP_ADD", + "name": "TEXTURE_ALBEDO", "value": 0 }, { - "name": "EMISSION_OP_MULTIPLY", + "name": "TEXTURE_METALLIC", + "value": 1 + }, + { + "name": "TEXTURE_ROUGHNESS", + "value": 2 + }, + { + "name": "TEXTURE_EMISSION", + "value": 3 + }, + { + "name": "TEXTURE_NORMAL", + "value": 4 + }, + { + "name": "TEXTURE_RIM", + "value": 5 + }, + { + "name": "TEXTURE_CLEARCOAT", + "value": 6 + }, + { + "name": "TEXTURE_FLOWMAP", + "value": 7 + }, + { + "name": "TEXTURE_AMBIENT_OCCLUSION", + "value": 8 + }, + { + "name": "TEXTURE_HEIGHTMAP", + "value": 9 + }, + { + "name": "TEXTURE_SUBSURFACE_SCATTERING", + "value": 10 + }, + { + "name": "TEXTURE_SUBSURFACE_TRANSMITTANCE", + "value": 11 + }, + { + "name": "TEXTURE_BACKLIGHT", + "value": 12 + }, + { + "name": "TEXTURE_REFRACTION", + "value": 13 + }, + { + "name": "TEXTURE_DETAIL_MASK", + "value": 14 + }, + { + "name": "TEXTURE_DETAIL_ALBEDO", + "value": 15 + }, + { + "name": "TEXTURE_DETAIL_NORMAL", + "value": 16 + }, + { + "name": "TEXTURE_ORM", + "value": 17 + }, + { + "name": "TEXTURE_MAX", + "value": 18 + } + ] + }, + { + "name": "TextureFilter", + "values": [ + { + "name": "TEXTURE_FILTER_NEAREST", + "value": 0 + }, + { + "name": "TEXTURE_FILTER_LINEAR", + "value": 1 + }, + { + "name": "TEXTURE_FILTER_NEAREST_WITH_MIPMAPS", + "value": 2 + }, + { + "name": "TEXTURE_FILTER_LINEAR_WITH_MIPMAPS", + "value": 3 + }, + { + "name": "TEXTURE_FILTER_NEAREST_WITH_MIPMAPS_ANISOTROPIC", + "value": 4 + }, + { + "name": "TEXTURE_FILTER_LINEAR_WITH_MIPMAPS_ANISOTROPIC", + "value": 5 + }, + { + "name": "TEXTURE_FILTER_MAX", + "value": 6 + } + ] + }, + { + "name": "DetailUV", + "values": [ + { + "name": "DETAIL_UV_1", + "value": 0 + }, + { + "name": "DETAIL_UV_2", "value": 1 } ] }, { - "name": "DiffuseMode", + "name": "Transparency", "values": [ { - "name": "DIFFUSE_BURLEY", + "name": "TRANSPARENCY_DISABLED", "value": 0 }, { - "name": "DIFFUSE_LAMBERT", + "name": "TRANSPARENCY_ALPHA", "value": 1 }, { - "name": "DIFFUSE_LAMBERT_WRAP", + "name": "TRANSPARENCY_ALPHA_SCISSOR", "value": 2 }, { - "name": "DIFFUSE_TOON", + "name": "TRANSPARENCY_ALPHA_HASH", "value": 3 + }, + { + "name": "TRANSPARENCY_ALPHA_DEPTH_PRE_PASS", + "value": 4 + }, + { + "name": "TRANSPARENCY_MAX", + "value": 5 } ] }, @@ -42481,23 +42661,6 @@ } ] }, - { - "name": "SpecularMode", - "values": [ - { - "name": "SPECULAR_SCHLICK_GGX", - "value": 0 - }, - { - "name": "SPECULAR_TOON", - "value": 1 - }, - { - "name": "SPECULAR_DISABLED", - "value": 2 - } - ] - }, { "name": "Feature", "values": [ @@ -42555,6 +42718,78 @@ } ] }, + { + "name": "BlendMode", + "values": [ + { + "name": "BLEND_MODE_MIX", + "value": 0 + }, + { + "name": "BLEND_MODE_ADD", + "value": 1 + }, + { + "name": "BLEND_MODE_SUB", + "value": 2 + }, + { + "name": "BLEND_MODE_MUL", + "value": 3 + } + ] + }, + { + "name": "AlphaAntiAliasing", + "values": [ + { + "name": "ALPHA_ANTIALIASING_OFF", + "value": 0 + }, + { + "name": "ALPHA_ANTIALIASING_ALPHA_TO_COVERAGE", + "value": 1 + }, + { + "name": "ALPHA_ANTIALIASING_ALPHA_TO_COVERAGE_AND_TO_ONE", + "value": 2 + } + ] + }, + { + "name": "DepthDrawMode", + "values": [ + { + "name": "DEPTH_DRAW_OPAQUE_ONLY", + "value": 0 + }, + { + "name": "DEPTH_DRAW_ALWAYS", + "value": 1 + }, + { + "name": "DEPTH_DRAW_DISABLED", + "value": 2 + } + ] + }, + { + "name": "CullMode", + "values": [ + { + "name": "CULL_BACK", + "value": 0 + }, + { + "name": "CULL_FRONT", + "value": 1 + }, + { + "name": "CULL_DISABLED", + "value": 2 + } + ] + }, { "name": "Flags", "values": [ @@ -42649,86 +42884,40 @@ ] }, { - "name": "CullMode", + "name": "DiffuseMode", "values": [ { - "name": "CULL_BACK", + "name": "DIFFUSE_BURLEY", "value": 0 }, { - "name": "CULL_FRONT", + "name": "DIFFUSE_LAMBERT", "value": 1 }, { - "name": "CULL_DISABLED", - "value": 2 - } - ] - }, - { - "name": "DetailUV", - "values": [ - { - "name": "DETAIL_UV_1", - "value": 0 - }, - { - "name": "DETAIL_UV_2", - "value": 1 - } - ] - }, - { - "name": "TextureFilter", - "values": [ - { - "name": "TEXTURE_FILTER_NEAREST", - "value": 0 - }, - { - "name": "TEXTURE_FILTER_LINEAR", - "value": 1 - }, - { - "name": "TEXTURE_FILTER_NEAREST_WITH_MIPMAPS", + "name": "DIFFUSE_LAMBERT_WRAP", "value": 2 }, { - "name": "TEXTURE_FILTER_LINEAR_WITH_MIPMAPS", + "name": "DIFFUSE_TOON", "value": 3 - }, - { - "name": "TEXTURE_FILTER_NEAREST_WITH_MIPMAPS_ANISOTROPIC", - "value": 4 - }, - { - "name": "TEXTURE_FILTER_LINEAR_WITH_MIPMAPS_ANISOTROPIC", - "value": 5 - }, - { - "name": "TEXTURE_FILTER_MAX", - "value": 6 } ] }, { - "name": "DistanceFadeMode", + "name": "SpecularMode", "values": [ { - "name": "DISTANCE_FADE_DISABLED", + "name": "SPECULAR_SCHLICK_GGX", "value": 0 }, { - "name": "DISTANCE_FADE_PIXEL_ALPHA", + "name": "SPECULAR_TOON", "value": 1 }, { - "name": "DISTANCE_FADE_PIXEL_DITHER", + "name": "SPECULAR_DISABLED", "value": 2 - }, - { - "name": "DISTANCE_FADE_OBJECT_DITHER", - "value": 3 } ] }, @@ -42753,23 +42942,6 @@ } ] }, - { - "name": "DepthDrawMode", - "values": [ - { - "name": "DEPTH_DRAW_OPAQUE_ONLY", - "value": 0 - }, - { - "name": "DEPTH_DRAW_ALWAYS", - "value": 1 - }, - { - "name": "DEPTH_DRAW_DISABLED", - "value": 2 - } - ] - }, { "name": "TextureChannel", "values": [ @@ -42796,152 +42968,38 @@ ] }, { - "name": "AlphaAntiAliasing", + "name": "EmissionOperator", "values": [ { - "name": "ALPHA_ANTIALIASING_OFF", + "name": "EMISSION_OP_ADD", "value": 0 }, { - "name": "ALPHA_ANTIALIASING_ALPHA_TO_COVERAGE", + "name": "EMISSION_OP_MULTIPLY", "value": 1 - }, - { - "name": "ALPHA_ANTIALIASING_ALPHA_TO_COVERAGE_AND_TO_ONE", - "value": 2 } ] }, { - "name": "BlendMode", + "name": "DistanceFadeMode", "values": [ { - "name": "BLEND_MODE_MIX", + "name": "DISTANCE_FADE_DISABLED", "value": 0 }, { - "name": "BLEND_MODE_ADD", + "name": "DISTANCE_FADE_PIXEL_ALPHA", "value": 1 }, { - "name": "BLEND_MODE_SUB", + "name": "DISTANCE_FADE_PIXEL_DITHER", "value": 2 }, { - "name": "BLEND_MODE_MUL", + "name": "DISTANCE_FADE_OBJECT_DITHER", "value": 3 } ] - }, - { - "name": "Transparency", - "values": [ - { - "name": "TRANSPARENCY_DISABLED", - "value": 0 - }, - { - "name": "TRANSPARENCY_ALPHA", - "value": 1 - }, - { - "name": "TRANSPARENCY_ALPHA_SCISSOR", - "value": 2 - }, - { - "name": "TRANSPARENCY_ALPHA_HASH", - "value": 3 - }, - { - "name": "TRANSPARENCY_ALPHA_DEPTH_PRE_PASS", - "value": 4 - }, - { - "name": "TRANSPARENCY_MAX", - "value": 5 - } - ] - }, - { - "name": "TextureParam", - "values": [ - { - "name": "TEXTURE_ALBEDO", - "value": 0 - }, - { - "name": "TEXTURE_METALLIC", - "value": 1 - }, - { - "name": "TEXTURE_ROUGHNESS", - "value": 2 - }, - { - "name": "TEXTURE_EMISSION", - "value": 3 - }, - { - "name": "TEXTURE_NORMAL", - "value": 4 - }, - { - "name": "TEXTURE_RIM", - "value": 5 - }, - { - "name": "TEXTURE_CLEARCOAT", - "value": 6 - }, - { - "name": "TEXTURE_FLOWMAP", - "value": 7 - }, - { - "name": "TEXTURE_AMBIENT_OCCLUSION", - "value": 8 - }, - { - "name": "TEXTURE_HEIGHTMAP", - "value": 9 - }, - { - "name": "TEXTURE_SUBSURFACE_SCATTERING", - "value": 10 - }, - { - "name": "TEXTURE_SUBSURFACE_TRANSMITTANCE", - "value": 11 - }, - { - "name": "TEXTURE_BACKLIGHT", - "value": 12 - }, - { - "name": "TEXTURE_REFRACTION", - "value": 13 - }, - { - "name": "TEXTURE_DETAIL_MASK", - "value": 14 - }, - { - "name": "TEXTURE_DETAIL_ALBEDO", - "value": 15 - }, - { - "name": "TEXTURE_DETAIL_NORMAL", - "value": 16 - }, - { - "name": "TEXTURE_ORM", - "value": 17 - }, - { - "name": "TEXTURE_MAX", - "value": 18 - } - ] } ], "methods": [ @@ -44837,14 +44895,14 @@ }, { "type": "bool", - "name": "albedo_tex_force_srgb", + "name": "albedo_texture_force_srgb", "setter": "set_flag", "getter": "get_flag", "index": 12 }, { "type": "bool", - "name": "albedo_tex_msdf", + "name": "albedo_texture_msdf", "setter": "set_flag", "getter": "get_flag", "index": 20 @@ -46796,56 +46854,15 @@ "api_type": "core", "enums": [ { - "name": "EmissionShape", + "name": "DrawOrder", "values": [ { - "name": "EMISSION_SHAPE_POINT", + "name": "DRAW_ORDER_INDEX", "value": 0 }, { - "name": "EMISSION_SHAPE_SPHERE", + "name": "DRAW_ORDER_LIFETIME", "value": 1 - }, - { - "name": "EMISSION_SHAPE_SPHERE_SURFACE", - "value": 2 - }, - { - "name": "EMISSION_SHAPE_RECTANGLE", - "value": 3 - }, - { - "name": "EMISSION_SHAPE_POINTS", - "value": 4 - }, - { - "name": "EMISSION_SHAPE_DIRECTED_POINTS", - "value": 5 - }, - { - "name": "EMISSION_SHAPE_MAX", - "value": 6 - } - ] - }, - { - "name": "ParticleFlags", - "values": [ - { - "name": "PARTICLE_FLAG_ALIGN_Y_TO_VELOCITY", - "value": 0 - }, - { - "name": "PARTICLE_FLAG_ROTATE_Y", - "value": 1 - }, - { - "name": "PARTICLE_FLAG_DISABLE_Z", - "value": 2 - }, - { - "name": "PARTICLE_FLAG_MAX", - "value": 3 } ] }, @@ -46907,15 +46924,56 @@ ] }, { - "name": "DrawOrder", + "name": "ParticleFlags", "values": [ { - "name": "DRAW_ORDER_INDEX", + "name": "PARTICLE_FLAG_ALIGN_Y_TO_VELOCITY", "value": 0 }, { - "name": "DRAW_ORDER_LIFETIME", + "name": "PARTICLE_FLAG_ROTATE_Y", "value": 1 + }, + { + "name": "PARTICLE_FLAG_DISABLE_Z", + "value": 2 + }, + { + "name": "PARTICLE_FLAG_MAX", + "value": 3 + } + ] + }, + { + "name": "EmissionShape", + "values": [ + { + "name": "EMISSION_SHAPE_POINT", + "value": 0 + }, + { + "name": "EMISSION_SHAPE_SPHERE", + "value": 1 + }, + { + "name": "EMISSION_SHAPE_SPHERE_SURFACE", + "value": 2 + }, + { + "name": "EMISSION_SHAPE_RECTANGLE", + "value": 3 + }, + { + "name": "EMISSION_SHAPE_POINTS", + "value": 4 + }, + { + "name": "EMISSION_SHAPE_DIRECTED_POINTS", + "value": 5 + }, + { + "name": "EMISSION_SHAPE_MAX", + "value": 6 } ] } @@ -47329,7 +47387,7 @@ "hash": 134188166, "arguments": [ { - "name": "degrees", + "name": "spread", "type": "float", "meta": "float" } @@ -48299,60 +48357,19 @@ "api_type": "core", "enums": [ { - "name": "EmissionShape", + "name": "DrawOrder", "values": [ { - "name": "EMISSION_SHAPE_POINT", + "name": "DRAW_ORDER_INDEX", "value": 0 }, { - "name": "EMISSION_SHAPE_SPHERE", + "name": "DRAW_ORDER_LIFETIME", "value": 1 }, { - "name": "EMISSION_SHAPE_SPHERE_SURFACE", + "name": "DRAW_ORDER_VIEW_DEPTH", "value": 2 - }, - { - "name": "EMISSION_SHAPE_BOX", - "value": 3 - }, - { - "name": "EMISSION_SHAPE_POINTS", - "value": 4 - }, - { - "name": "EMISSION_SHAPE_DIRECTED_POINTS", - "value": 5 - }, - { - "name": "EMISSION_SHAPE_RING", - "value": 6 - }, - { - "name": "EMISSION_SHAPE_MAX", - "value": 7 - } - ] - }, - { - "name": "ParticleFlags", - "values": [ - { - "name": "PARTICLE_FLAG_ALIGN_Y_TO_VELOCITY", - "value": 0 - }, - { - "name": "PARTICLE_FLAG_ROTATE_Y", - "value": 1 - }, - { - "name": "PARTICLE_FLAG_DISABLE_Z", - "value": 2 - }, - { - "name": "PARTICLE_FLAG_MAX", - "value": 3 } ] }, @@ -48414,19 +48431,60 @@ ] }, { - "name": "DrawOrder", + "name": "ParticleFlags", "values": [ { - "name": "DRAW_ORDER_INDEX", + "name": "PARTICLE_FLAG_ALIGN_Y_TO_VELOCITY", "value": 0 }, { - "name": "DRAW_ORDER_LIFETIME", + "name": "PARTICLE_FLAG_ROTATE_Y", "value": 1 }, { - "name": "DRAW_ORDER_VIEW_DEPTH", + "name": "PARTICLE_FLAG_DISABLE_Z", "value": 2 + }, + { + "name": "PARTICLE_FLAG_MAX", + "value": 3 + } + ] + }, + { + "name": "EmissionShape", + "values": [ + { + "name": "EMISSION_SHAPE_POINT", + "value": 0 + }, + { + "name": "EMISSION_SHAPE_SPHERE", + "value": 1 + }, + { + "name": "EMISSION_SHAPE_SPHERE_SURFACE", + "value": 2 + }, + { + "name": "EMISSION_SHAPE_BOX", + "value": 3 + }, + { + "name": "EMISSION_SHAPE_POINTS", + "value": 4 + }, + { + "name": "EMISSION_SHAPE_DIRECTED_POINTS", + "value": 5 + }, + { + "name": "EMISSION_SHAPE_RING", + "value": 6 + }, + { + "name": "EMISSION_SHAPE_MAX", + "value": 7 } ] } @@ -50390,15 +50448,19 @@ "api_type": "core", "enums": [ { - "name": "PathIntervalType", + "name": "Mode", "values": [ { - "name": "PATH_INTERVAL_DISTANCE", + "name": "MODE_DEPTH", "value": 0 }, { - "name": "PATH_INTERVAL_SUBDIVIDE", + "name": "MODE_SPIN", "value": 1 + }, + { + "name": "MODE_PATH", + "value": 2 } ] }, @@ -50420,19 +50482,15 @@ ] }, { - "name": "Mode", + "name": "PathIntervalType", "values": [ { - "name": "MODE_DEPTH", + "name": "PATH_INTERVAL_DISTANCE", "value": 0 }, { - "name": "MODE_SPIN", + "name": "PATH_INTERVAL_SUBDIVIDE", "value": 1 - }, - { - "name": "MODE_PATH", - "value": 2 } ] } @@ -51755,19 +51813,6 @@ "inherits": "Node2D", "api_type": "core", "enums": [ - { - "name": "Camera2DProcessCallback", - "values": [ - { - "name": "CAMERA2D_PROCESS_PHYSICS", - "value": 0 - }, - { - "name": "CAMERA2D_PROCESS_IDLE", - "value": 1 - } - ] - }, { "name": "AnchorMode", "values": [ @@ -51780,6 +51825,19 @@ "value": 1 } ] + }, + { + "name": "Camera2DProcessCallback", + "values": [ + { + "name": "CAMERA2D_PROCESS_PHYSICS", + "value": 0 + }, + { + "name": "CAMERA2D_PROCESS_IDLE", + "value": 1 + } + ] } ], "methods": [ @@ -52520,19 +52578,6 @@ "inherits": "Node3D", "api_type": "core", "enums": [ - { - "name": "KeepAspect", - "values": [ - { - "name": "KEEP_WIDTH", - "value": 0 - }, - { - "name": "KEEP_HEIGHT", - "value": 1 - } - ] - }, { "name": "Projection", "values": [ @@ -52550,6 +52595,19 @@ } ] }, + { + "name": "KeepAspect", + "values": [ + { + "name": "KEEP_WIDTH", + "value": 0 + }, + { + "name": "KEEP_HEIGHT", + "value": 1 + } + ] + }, { "name": "DopplerTracking", "values": [ @@ -53915,7 +53973,7 @@ ], "signals": [ { - "name": "camera_feed_removed", + "name": "camera_feed_added", "arguments": [ { "name": "id", @@ -53924,7 +53982,7 @@ ] }, { - "name": "camera_feed_added", + "name": "camera_feed_removed", "arguments": [ { "name": "id", @@ -55613,17 +55671,17 @@ } ], "signals": [ - { - "name": "hidden" - }, - { - "name": "item_rect_changed" - }, { "name": "draw" }, { "name": "visibility_changed" + }, + { + "name": "hidden" + }, + { + "name": "item_rect_changed" } ], "properties": [ @@ -55713,23 +55771,6 @@ "inherits": "Material", "api_type": "core", "enums": [ - { - "name": "LightMode", - "values": [ - { - "name": "LIGHT_MODE_NORMAL", - "value": 0 - }, - { - "name": "LIGHT_MODE_UNSHADED", - "value": 1 - }, - { - "name": "LIGHT_MODE_LIGHT_ONLY", - "value": 2 - } - ] - }, { "name": "BlendMode", "values": [ @@ -55754,6 +55795,23 @@ "value": 4 } ] + }, + { + "name": "LightMode", + "values": [ + { + "name": "LIGHT_MODE_NORMAL", + "value": 0 + }, + { + "name": "LIGHT_MODE_UNSHADED", + "value": 1 + }, + { + "name": "LIGHT_MODE_LIGHT_ONLY", + "value": 2 + } + ] } ], "methods": [ @@ -60774,15 +60832,6 @@ { "name": "code_completion_requested" }, - { - "name": "symbol_validate", - "arguments": [ - { - "name": "symbol", - "type": "String" - } - ] - }, { "name": "symbol_lookup", "arguments": [ @@ -60799,6 +60848,15 @@ "type": "int" } ] + }, + { + "name": "symbol_validate", + "arguments": [ + { + "name": "symbol", + "type": "String" + } + ] } ], "properties": [ @@ -61983,14 +62041,25 @@ ], "signals": [ { - "name": "mouse_shape_exited", + "name": "input_event", "arguments": [ + { + "name": "viewport", + "type": "Node" + }, + { + "name": "event", + "type": "InputEvent" + }, { "name": "shape_idx", "type": "int" } ] }, + { + "name": "mouse_entered" + }, { "name": "mouse_exited" }, @@ -62004,19 +62073,8 @@ ] }, { - "name": "mouse_entered" - }, - { - "name": "input_event", + "name": "mouse_shape_exited", "arguments": [ - { - "name": "viewport", - "type": "Node" - }, - { - "name": "event", - "type": "InputEvent" - }, { "name": "shape_idx", "type": "int" @@ -62601,12 +62659,6 @@ } ], "signals": [ - { - "name": "mouse_exited" - }, - { - "name": "mouse_entered" - }, { "name": "input_event", "arguments": [ @@ -62631,6 +62683,12 @@ "type": "int" } ] + }, + { + "name": "mouse_entered" + }, + { + "name": "mouse_exited" } ], "properties": [ @@ -63508,7 +63566,7 @@ ], "signals": [ { - "name": "preset_removed", + "name": "color_changed", "arguments": [ { "name": "color", @@ -63526,7 +63584,7 @@ ] }, { - "name": "color_changed", + "name": "preset_removed", "arguments": [ { "name": "color", @@ -63675,12 +63733,6 @@ } ], "signals": [ - { - "name": "picker_created" - }, - { - "name": "popup_closed" - }, { "name": "color_changed", "arguments": [ @@ -63689,6 +63741,12 @@ "type": "Color" } ] + }, + { + "name": "popup_closed" + }, + { + "name": "picker_created" } ], "properties": [ @@ -64578,19 +64636,6 @@ } ], "enums": [ - { - "name": "Anchor", - "values": [ - { - "name": "ANCHOR_BEGIN", - "value": 0 - }, - { - "name": "ANCHOR_END", - "value": 1 - } - ] - }, { "name": "FocusMode", "values": [ @@ -64608,86 +64653,6 @@ } ] }, - { - "name": "TextDirection", - "values": [ - { - "name": "TEXT_DIRECTION_INHERITED", - "value": 3 - }, - { - "name": "TEXT_DIRECTION_AUTO", - "value": 0 - }, - { - "name": "TEXT_DIRECTION_LTR", - "value": 1 - }, - { - "name": "TEXT_DIRECTION_RTL", - "value": 2 - } - ] - }, - { - "name": "LayoutPresetMode", - "values": [ - { - "name": "PRESET_MODE_MINSIZE", - "value": 0 - }, - { - "name": "PRESET_MODE_KEEP_WIDTH", - "value": 1 - }, - { - "name": "PRESET_MODE_KEEP_HEIGHT", - "value": 2 - }, - { - "name": "PRESET_MODE_KEEP_SIZE", - "value": 3 - } - ] - }, - { - "name": "LayoutDirection", - "values": [ - { - "name": "LAYOUT_DIRECTION_INHERITED", - "value": 0 - }, - { - "name": "LAYOUT_DIRECTION_LOCALE", - "value": 1 - }, - { - "name": "LAYOUT_DIRECTION_LTR", - "value": 2 - }, - { - "name": "LAYOUT_DIRECTION_RTL", - "value": 3 - } - ] - }, - { - "name": "MouseFilter", - "values": [ - { - "name": "MOUSE_FILTER_STOP", - "value": 0 - }, - { - "name": "MOUSE_FILTER_PASS", - "value": 1 - }, - { - "name": "MOUSE_FILTER_IGNORE", - "value": 2 - } - ] - }, { "name": "CursorShape", "values": [ @@ -64761,52 +64726,6 @@ } ] }, - { - "name": "GrowDirection", - "values": [ - { - "name": "GROW_DIRECTION_BEGIN", - "value": 0 - }, - { - "name": "GROW_DIRECTION_END", - "value": 1 - }, - { - "name": "GROW_DIRECTION_BOTH", - "value": 2 - } - ] - }, - { - "name": "SizeFlags", - "values": [ - { - "name": "SIZE_SHRINK_BEGIN", - "value": 0 - }, - { - "name": "SIZE_FILL", - "value": 1 - }, - { - "name": "SIZE_EXPAND", - "value": 2 - }, - { - "name": "SIZE_EXPAND_FILL", - "value": 3 - }, - { - "name": "SIZE_SHRINK_CENTER", - "value": 4 - }, - { - "name": "SIZE_SHRINK_END", - "value": 8 - } - ] - }, { "name": "LayoutPreset", "values": [ @@ -64875,6 +64794,145 @@ "value": 15 } ] + }, + { + "name": "LayoutPresetMode", + "values": [ + { + "name": "PRESET_MODE_MINSIZE", + "value": 0 + }, + { + "name": "PRESET_MODE_KEEP_WIDTH", + "value": 1 + }, + { + "name": "PRESET_MODE_KEEP_HEIGHT", + "value": 2 + }, + { + "name": "PRESET_MODE_KEEP_SIZE", + "value": 3 + } + ] + }, + { + "name": "SizeFlags", + "values": [ + { + "name": "SIZE_SHRINK_BEGIN", + "value": 0 + }, + { + "name": "SIZE_FILL", + "value": 1 + }, + { + "name": "SIZE_EXPAND", + "value": 2 + }, + { + "name": "SIZE_EXPAND_FILL", + "value": 3 + }, + { + "name": "SIZE_SHRINK_CENTER", + "value": 4 + }, + { + "name": "SIZE_SHRINK_END", + "value": 8 + } + ] + }, + { + "name": "MouseFilter", + "values": [ + { + "name": "MOUSE_FILTER_STOP", + "value": 0 + }, + { + "name": "MOUSE_FILTER_PASS", + "value": 1 + }, + { + "name": "MOUSE_FILTER_IGNORE", + "value": 2 + } + ] + }, + { + "name": "GrowDirection", + "values": [ + { + "name": "GROW_DIRECTION_BEGIN", + "value": 0 + }, + { + "name": "GROW_DIRECTION_END", + "value": 1 + }, + { + "name": "GROW_DIRECTION_BOTH", + "value": 2 + } + ] + }, + { + "name": "Anchor", + "values": [ + { + "name": "ANCHOR_BEGIN", + "value": 0 + }, + { + "name": "ANCHOR_END", + "value": 1 + } + ] + }, + { + "name": "LayoutDirection", + "values": [ + { + "name": "LAYOUT_DIRECTION_INHERITED", + "value": 0 + }, + { + "name": "LAYOUT_DIRECTION_LOCALE", + "value": 1 + }, + { + "name": "LAYOUT_DIRECTION_LTR", + "value": 2 + }, + { + "name": "LAYOUT_DIRECTION_RTL", + "value": 3 + } + ] + }, + { + "name": "TextDirection", + "values": [ + { + "name": "TEXT_DIRECTION_INHERITED", + "value": 3 + }, + { + "name": "TEXT_DIRECTION_AUTO", + "value": 0 + }, + { + "name": "TEXT_DIRECTION_LTR", + "value": 1 + }, + { + "name": "TEXT_DIRECTION_RTL", + "value": 2 + } + ] } ], "methods": [ @@ -66594,6 +66652,31 @@ "type": "enum::Control.MouseFilter" } }, + { + "name": "set_force_pass_scroll_events", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "force_pass_scroll_events", + "type": "bool" + } + ] + }, + { + "name": "is_force_pass_scroll_events", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, { "name": "set_clip_contents", "is_const": false, @@ -66752,10 +66835,7 @@ ], "signals": [ { - "name": "mouse_exited" - }, - { - "name": "theme_changed" + "name": "resized" }, { "name": "gui_input", @@ -66766,23 +66846,26 @@ } ] }, + { + "name": "mouse_entered" + }, + { + "name": "mouse_exited" + }, { "name": "focus_entered" }, { - "name": "resized" - }, - { - "name": "minimum_size_changed" - }, - { - "name": "mouse_entered" + "name": "focus_exited" }, { "name": "size_flags_changed" }, { - "name": "focus_exited" + "name": "minimum_size_changed" + }, + { + "name": "theme_changed" } ], "properties": [ @@ -67024,6 +67107,13 @@ "getter": "get_mouse_filter", "index": -1 }, + { + "type": "bool", + "name": "mouse_force_pass_scroll_events", + "setter": "set_force_pass_scroll_events", + "getter": "is_force_pass_scroll_events", + "index": -1 + }, { "type": "int", "name": "mouse_default_cursor_shape", @@ -67522,6 +67612,21 @@ "meta": "int32" } }, + { + "name": "set_point_count", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "count", + "type": "int", + "meta": "int32" + } + ] + }, { "name": "add_point", "is_const": false, @@ -67961,6 +68066,13 @@ "setter": "set_bake_resolution", "getter": "get_bake_resolution", "index": -1 + }, + { + "type": "Points,point_", + "name": "point_count", + "setter": "set_point_count", + "getter": "get_point_count", + "index": -1 } ] }, @@ -67983,6 +68095,21 @@ "meta": "int32" } }, + { + "name": "set_point_count", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "count", + "type": "int", + "meta": "int32" + } + ] + }, { "name": "add_point", "is_const": false, @@ -68329,6 +68456,13 @@ "setter": "set_bake_interval", "getter": "get_bake_interval", "index": -1 + }, + { + "type": "Points,point_", + "name": "point_count", + "setter": "set_point_count", + "getter": "get_point_count", + "index": -1 } ] }, @@ -68351,6 +68485,21 @@ "meta": "int32" } }, + { + "name": "set_point_count", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "count", + "type": "int", + "meta": "int32" + } + ] + }, { "name": "add_point", "is_const": false, @@ -68807,6 +68956,13 @@ "getter": "get_bake_interval", "index": -1 }, + { + "type": "Points,point_", + "name": "point_count", + "setter": "set_point_count", + "getter": "get_point_count", + "index": -1 + }, { "type": "bool", "name": "up_vector_enabled", @@ -69198,6 +69354,56 @@ "type": "int", "meta": "int32" } + }, + { + "name": "set_cap_top", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "cap_top", + "type": "bool" + } + ] + }, + { + "name": "is_cap_top", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_cap_bottom", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "cap_bottom", + "type": "bool" + } + ] + }, + { + "name": "is_cap_bottom", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } } ], "properties": [ @@ -69235,6 +69441,20 @@ "setter": "set_rings", "getter": "get_rings", "index": -1 + }, + { + "type": "bool", + "name": "cap_top", + "setter": "set_cap_top", + "getter": "is_cap_top", + "index": -1 + }, + { + "type": "bool", + "name": "cap_bottom", + "setter": "set_cap_bottom", + "getter": "is_cap_bottom", + "index": -1 } ] }, @@ -70607,39 +70827,6 @@ } ], "enums": [ - { - "name": "ScreenOrientation", - "values": [ - { - "name": "SCREEN_LANDSCAPE", - "value": 0 - }, - { - "name": "SCREEN_PORTRAIT", - "value": 1 - }, - { - "name": "SCREEN_REVERSE_LANDSCAPE", - "value": 2 - }, - { - "name": "SCREEN_REVERSE_PORTRAIT", - "value": 3 - }, - { - "name": "SCREEN_SENSOR_LANDSCAPE", - "value": 4 - }, - { - "name": "SCREEN_SENSOR_PORTRAIT", - "value": 5 - }, - { - "name": "SCREEN_SENSOR", - "value": 6 - } - ] - }, { "name": "Feature", "values": [ @@ -70721,81 +70908,6 @@ } ] }, - { - "name": "WindowFlags", - "values": [ - { - "name": "WINDOW_FLAG_RESIZE_DISABLED", - "value": 0 - }, - { - "name": "WINDOW_FLAG_BORDERLESS", - "value": 1 - }, - { - "name": "WINDOW_FLAG_ALWAYS_ON_TOP", - "value": 2 - }, - { - "name": "WINDOW_FLAG_TRANSPARENT", - "value": 3 - }, - { - "name": "WINDOW_FLAG_NO_FOCUS", - "value": 4 - }, - { - "name": "WINDOW_FLAG_POPUP", - "value": 5 - }, - { - "name": "WINDOW_FLAG_MAX", - "value": 6 - } - ] - }, - { - "name": "WindowMode", - "values": [ - { - "name": "WINDOW_MODE_WINDOWED", - "value": 0 - }, - { - "name": "WINDOW_MODE_MINIMIZED", - "value": 1 - }, - { - "name": "WINDOW_MODE_MAXIMIZED", - "value": 2 - }, - { - "name": "WINDOW_MODE_FULLSCREEN", - "value": 3 - }, - { - "name": "WINDOW_MODE_EXCLUSIVE_FULLSCREEN", - "value": 4 - } - ] - }, - { - "name": "HandleType", - "values": [ - { - "name": "DISPLAY_HANDLE", - "value": 0 - }, - { - "name": "WINDOW_HANDLE", - "value": 1 - }, - { - "name": "WINDOW_VIEW", - "value": 2 - } - ] - }, { "name": "MouseMode", "values": [ @@ -70821,6 +70933,39 @@ } ] }, + { + "name": "ScreenOrientation", + "values": [ + { + "name": "SCREEN_LANDSCAPE", + "value": 0 + }, + { + "name": "SCREEN_PORTRAIT", + "value": 1 + }, + { + "name": "SCREEN_REVERSE_LANDSCAPE", + "value": 2 + }, + { + "name": "SCREEN_REVERSE_PORTRAIT", + "value": 3 + }, + { + "name": "SCREEN_SENSOR_LANDSCAPE", + "value": 4 + }, + { + "name": "SCREEN_SENSOR_PORTRAIT", + "value": 5 + }, + { + "name": "SCREEN_SENSOR", + "value": 6 + } + ] + }, { "name": "CursorShape", "values": [ @@ -70899,44 +71044,60 @@ ] }, { - "name": "TTSUtteranceEvent", + "name": "WindowMode", "values": [ { - "name": "TTS_UTTERANCE_STARTED", + "name": "WINDOW_MODE_WINDOWED", "value": 0 }, { - "name": "TTS_UTTERANCE_ENDED", + "name": "WINDOW_MODE_MINIMIZED", "value": 1 }, { - "name": "TTS_UTTERANCE_CANCELED", + "name": "WINDOW_MODE_MAXIMIZED", "value": 2 }, { - "name": "TTS_UTTERANCE_BOUNDARY", + "name": "WINDOW_MODE_FULLSCREEN", "value": 3 + }, + { + "name": "WINDOW_MODE_EXCLUSIVE_FULLSCREEN", + "value": 4 } ] }, { - "name": "VSyncMode", + "name": "WindowFlags", "values": [ { - "name": "VSYNC_DISABLED", + "name": "WINDOW_FLAG_RESIZE_DISABLED", "value": 0 }, { - "name": "VSYNC_ENABLED", + "name": "WINDOW_FLAG_BORDERLESS", "value": 1 }, { - "name": "VSYNC_ADAPTIVE", + "name": "WINDOW_FLAG_ALWAYS_ON_TOP", "value": 2 }, { - "name": "VSYNC_MAILBOX", + "name": "WINDOW_FLAG_TRANSPARENT", "value": 3 + }, + { + "name": "WINDOW_FLAG_NO_FOCUS", + "value": 4 + }, + { + "name": "WINDOW_FLAG_POPUP", + "value": 5 + }, + { + "name": "WINDOW_FLAG_MAX", + "value": 6 } ] }, @@ -70972,6 +71133,65 @@ "value": 6 } ] + }, + { + "name": "VSyncMode", + "values": [ + { + "name": "VSYNC_DISABLED", + "value": 0 + }, + { + "name": "VSYNC_ENABLED", + "value": 1 + }, + { + "name": "VSYNC_ADAPTIVE", + "value": 2 + }, + { + "name": "VSYNC_MAILBOX", + "value": 3 + } + ] + }, + { + "name": "HandleType", + "values": [ + { + "name": "DISPLAY_HANDLE", + "value": 0 + }, + { + "name": "WINDOW_HANDLE", + "value": 1 + }, + { + "name": "WINDOW_VIEW", + "value": 2 + } + ] + }, + { + "name": "TTSUtteranceEvent", + "values": [ + { + "name": "TTS_UTTERANCE_STARTED", + "value": 0 + }, + { + "name": "TTS_UTTERANCE_ENDED", + "value": 1 + }, + { + "name": "TTS_UTTERANCE_CANCELED", + "value": 2 + }, + { + "name": "TTS_UTTERANCE_BOUNDARY", + "value": 3 + } + ] } ], "methods": [ @@ -73730,6 +73950,13 @@ } ] }, + { + "name": "DisplayServerOSX", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "DisplayServer", + "api_type": "core" + }, { "name": "ENetConnection", "is_refcounted": true, @@ -73737,6 +73964,31 @@ "inherits": "RefCounted", "api_type": "core", "enums": [ + { + "name": "CompressionMode", + "values": [ + { + "name": "COMPRESS_NONE", + "value": 0 + }, + { + "name": "COMPRESS_RANGE_CODER", + "value": 1 + }, + { + "name": "COMPRESS_FASTLZ", + "value": 2 + }, + { + "name": "COMPRESS_ZLIB", + "value": 3 + }, + { + "name": "COMPRESS_ZSTD", + "value": 4 + } + ] + }, { "name": "EventType", "values": [ @@ -73782,31 +74034,6 @@ "value": 3 } ] - }, - { - "name": "CompressionMode", - "values": [ - { - "name": "COMPRESS_NONE", - "value": 0 - }, - { - "name": "COMPRESS_RANGE_CODER", - "value": 1 - }, - { - "name": "COMPRESS_FASTLZ", - "value": 2 - }, - { - "name": "COMPRESS_ZLIB", - "value": 3 - }, - { - "name": "COMPRESS_ZSTD", - "value": 4 - } - ] } ], "methods": [ @@ -74419,6 +74646,51 @@ } ], "enums": [ + { + "name": "PeerState", + "values": [ + { + "name": "STATE_DISCONNECTED", + "value": 0 + }, + { + "name": "STATE_CONNECTING", + "value": 1 + }, + { + "name": "STATE_ACKNOWLEDGING_CONNECT", + "value": 2 + }, + { + "name": "STATE_CONNECTION_PENDING", + "value": 3 + }, + { + "name": "STATE_CONNECTION_SUCCEEDED", + "value": 4 + }, + { + "name": "STATE_CONNECTED", + "value": 5 + }, + { + "name": "STATE_DISCONNECT_LATER", + "value": 6 + }, + { + "name": "STATE_DISCONNECTING", + "value": 7 + }, + { + "name": "STATE_ACKNOWLEDGING_DISCONNECT", + "value": 8 + }, + { + "name": "STATE_ZOMBIE", + "value": 9 + } + ] + }, { "name": "PeerStatistic", "values": [ @@ -74479,51 +74751,6 @@ "value": 13 } ] - }, - { - "name": "PeerState", - "values": [ - { - "name": "STATE_DISCONNECTED", - "value": 0 - }, - { - "name": "STATE_CONNECTING", - "value": 1 - }, - { - "name": "STATE_ACKNOWLEDGING_CONNECT", - "value": 2 - }, - { - "name": "STATE_CONNECTION_PENDING", - "value": 3 - }, - { - "name": "STATE_CONNECTION_SUCCEEDED", - "value": 4 - }, - { - "name": "STATE_CONNECTED", - "value": 5 - }, - { - "name": "STATE_DISCONNECT_LATER", - "value": 6 - }, - { - "name": "STATE_DISCONNECTING", - "value": 7 - }, - { - "name": "STATE_ACKNOWLEDGING_DISCONNECT", - "value": 8 - }, - { - "name": "STATE_ZOMBIE", - "value": 9 - } - ] } ], "methods": [ @@ -74896,6 +75123,12 @@ } ], "signals": [ + { + "name": "started" + }, + { + "name": "stopped" + }, { "name": "breaked", "arguments": [ @@ -74905,12 +75138,6 @@ } ] }, - { - "name": "stopped" - }, - { - "name": "started" - }, { "name": "continued" } @@ -75396,19 +75623,6 @@ "inherits": "ConfirmationDialog", "api_type": "editor", "enums": [ - { - "name": "DisplayMode", - "values": [ - { - "name": "DISPLAY_THUMBNAILS", - "value": 0 - }, - { - "name": "DISPLAY_LIST", - "value": 1 - } - ] - }, { "name": "FileMode", "values": [ @@ -75450,6 +75664,19 @@ "value": 2 } ] + }, + { + "name": "DisplayMode", + "values": [ + { + "name": "DISPLAY_THUMBNAILS", + "value": 0 + }, + { + "name": "DISPLAY_LIST", + "value": 1 + } + ] } ], "methods": [ @@ -75696,6 +75923,15 @@ } ], "signals": [ + { + "name": "file_selected", + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, { "name": "files_selected", "arguments": [ @@ -75713,15 +75949,6 @@ "type": "String" } ] - }, - { - "name": "file_selected", - "arguments": [ - { - "name": "path", - "type": "String" - } - ] } ], "properties": [ @@ -75895,17 +76122,25 @@ "is_static": false, "is_virtual": false, "hash": 134152229 + }, + { + "name": "reimport_files", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "files", + "type": "PackedStringArray" + } + ] } ], "signals": [ { - "name": "resources_reimported", - "arguments": [ - { - "name": "resources", - "type": "PackedStringArray" - } - ] + "name": "filesystem_changed" }, { "name": "sources_changed", @@ -75917,7 +76152,13 @@ ] }, { - "name": "filesystem_changed" + "name": "resources_reimported", + "arguments": [ + { + "name": "resources", + "type": "PackedStringArray" + } + ] }, { "name": "resources_reload", @@ -76385,33 +76626,6 @@ "inherits": "ScrollContainer", "api_type": "editor", "signals": [ - { - "name": "property_edited", - "arguments": [ - { - "name": "property", - "type": "String" - } - ] - }, - { - "name": "object_id_selected", - "arguments": [ - { - "name": "id", - "type": "int" - } - ] - }, - { - "name": "property_deleted", - "arguments": [ - { - "name": "property", - "type": "String" - } - ] - }, { "name": "property_selected", "arguments": [ @@ -76421,12 +76635,6 @@ } ] }, - { - "name": "restart_requested" - }, - { - "name": "edited_object_changed" - }, { "name": "property_keyed", "arguments": [ @@ -76444,6 +76652,15 @@ } ] }, + { + "name": "property_deleted", + "arguments": [ + { + "name": "property", + "type": "String" + } + ] + }, { "name": "resource_selected", "arguments": [ @@ -76457,6 +76674,24 @@ } ] }, + { + "name": "object_id_selected", + "arguments": [ + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "property_edited", + "arguments": [ + { + "name": "property", + "type": "String" + } + ] + }, { "name": "property_toggled", "arguments": [ @@ -76469,6 +76704,12 @@ "type": "bool" } ] + }, + { + "name": "edited_object_changed" + }, + { + "name": "restart_requested" } ] }, @@ -76615,7 +76856,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 134224103, + "hash": 135649961, "arguments": [ { "name": "property", @@ -76624,6 +76865,11 @@ { "name": "editor", "type": "Control" + }, + { + "name": "add_to_end", + "type": "bool", + "default_value": "false" } ] }, @@ -78140,47 +78386,6 @@ "inherits": "Node", "api_type": "editor", "enums": [ - { - "name": "DockSlot", - "values": [ - { - "name": "DOCK_SLOT_LEFT_UL", - "value": 0 - }, - { - "name": "DOCK_SLOT_LEFT_BL", - "value": 1 - }, - { - "name": "DOCK_SLOT_LEFT_UR", - "value": 2 - }, - { - "name": "DOCK_SLOT_LEFT_BR", - "value": 3 - }, - { - "name": "DOCK_SLOT_RIGHT_UL", - "value": 4 - }, - { - "name": "DOCK_SLOT_RIGHT_BL", - "value": 5 - }, - { - "name": "DOCK_SLOT_RIGHT_UR", - "value": 6 - }, - { - "name": "DOCK_SLOT_RIGHT_BR", - "value": 7 - }, - { - "name": "DOCK_SLOT_MAX", - "value": 8 - } - ] - }, { "name": "CustomControlContainer", "values": [ @@ -78233,6 +78438,47 @@ "value": 11 } ] + }, + { + "name": "DockSlot", + "values": [ + { + "name": "DOCK_SLOT_LEFT_UL", + "value": 0 + }, + { + "name": "DOCK_SLOT_LEFT_BL", + "value": 1 + }, + { + "name": "DOCK_SLOT_LEFT_UR", + "value": 2 + }, + { + "name": "DOCK_SLOT_LEFT_BR", + "value": 3 + }, + { + "name": "DOCK_SLOT_RIGHT_UL", + "value": 4 + }, + { + "name": "DOCK_SLOT_RIGHT_BL", + "value": 5 + }, + { + "name": "DOCK_SLOT_RIGHT_UR", + "value": 6 + }, + { + "name": "DOCK_SLOT_RIGHT_BR", + "value": 7 + }, + { + "name": "DOCK_SLOT_MAX", + "value": 8 + } + ] } ], "methods": [ @@ -79097,11 +79343,11 @@ ], "signals": [ { - "name": "main_screen_changed", + "name": "scene_changed", "arguments": [ { - "name": "screen_name", - "type": "String" + "name": "scene_root", + "type": "Node" } ] }, @@ -79115,17 +79361,14 @@ ] }, { - "name": "scene_changed", + "name": "main_screen_changed", "arguments": [ { - "name": "scene_root", - "type": "Node" + "name": "screen_name", + "type": "String" } ] }, - { - "name": "project_settings_changed" - }, { "name": "resource_saved", "arguments": [ @@ -79134,6 +79377,9 @@ "type": "Resource" } ] + }, + { + "name": "project_settings_changed" } ] }, @@ -79426,28 +79672,37 @@ ], "signals": [ { - "name": "object_id_selected", + "name": "property_changed", "arguments": [ { "name": "property", "type": "StringName" }, { - "name": "id", - "type": "int" + "name": "value", + "type": "Variant" } ] }, { - "name": "property_checked", + "name": "multiple_properties_changed", + "arguments": [ + { + "name": "properties", + "type": "PackedStringArray" + }, + { + "name": "value", + "type": "Array" + } + ] + }, + { + "name": "property_keyed", "arguments": [ { "name": "property", "type": "StringName" - }, - { - "name": "checked", - "type": "bool" } ] }, @@ -79474,24 +79729,28 @@ ] }, { - "name": "property_keyed", - "arguments": [ - { - "name": "property", - "type": "StringName" - } - ] - }, - { - "name": "property_changed", + "name": "property_checked", "arguments": [ { "name": "property", "type": "StringName" }, { - "name": "value", - "type": "Variant" + "name": "checked", + "type": "bool" + } + ] + }, + { + "name": "property_pinned", + "arguments": [ + { + "name": "property", + "type": "StringName" + }, + { + "name": "pinned", + "type": "bool" } ] }, @@ -79508,6 +79767,19 @@ } ] }, + { + "name": "object_id_selected", + "arguments": [ + { + "name": "property", + "type": "StringName" + }, + { + "name": "id", + "type": "int" + } + ] + }, { "name": "selected", "arguments": [ @@ -79520,32 +79792,6 @@ "type": "int" } ] - }, - { - "name": "multiple_properties_changed", - "arguments": [ - { - "name": "properties", - "type": "PackedStringArray" - }, - { - "name": "value", - "type": "Array" - } - ] - }, - { - "name": "property_pinned", - "arguments": [ - { - "name": "property", - "type": "StringName" - }, - { - "name": "pinned", - "type": "bool" - } - ] } ], "properties": [ @@ -81104,6 +81350,31 @@ "return_value": { "type": "bool" } + }, + { + "name": "set_hide_slider", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "hide_slider", + "type": "bool" + } + ] + }, + { + "name": "is_hiding_slider", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } } ], "properties": [ @@ -81134,6 +81405,13 @@ "setter": "set_flat", "getter": "is_flat", "index": -1 + }, + { + "type": "bool", + "name": "hide_slider", + "setter": "set_hide_slider", + "getter": "is_hiding_slider", + "index": -1 } ] }, @@ -82126,86 +82404,6 @@ "inherits": "Resource", "api_type": "core", "enums": [ - { - "name": "GlowBlendMode", - "values": [ - { - "name": "GLOW_BLEND_MODE_ADDITIVE", - "value": 0 - }, - { - "name": "GLOW_BLEND_MODE_SCREEN", - "value": 1 - }, - { - "name": "GLOW_BLEND_MODE_SOFTLIGHT", - "value": 2 - }, - { - "name": "GLOW_BLEND_MODE_REPLACE", - "value": 3 - }, - { - "name": "GLOW_BLEND_MODE_MIX", - "value": 4 - } - ] - }, - { - "name": "ToneMapper", - "values": [ - { - "name": "TONE_MAPPER_LINEAR", - "value": 0 - }, - { - "name": "TONE_MAPPER_REINHARDT", - "value": 1 - }, - { - "name": "TONE_MAPPER_FILMIC", - "value": 2 - }, - { - "name": "TONE_MAPPER_ACES", - "value": 3 - } - ] - }, - { - "name": "ReflectionSource", - "values": [ - { - "name": "REFLECTION_SOURCE_BG", - "value": 0 - }, - { - "name": "REFLECTION_SOURCE_DISABLED", - "value": 1 - }, - { - "name": "REFLECTION_SOURCE_SKY", - "value": 2 - } - ] - }, - { - "name": "SDFGIYScale", - "values": [ - { - "name": "SDFGI_Y_SCALE_50_PERCENT", - "value": 0 - }, - { - "name": "SDFGI_Y_SCALE_75_PERCENT", - "value": 1 - }, - { - "name": "SDFGI_Y_SCALE_100_PERCENT", - "value": 2 - } - ] - }, { "name": "BGMode", "values": [ @@ -82259,6 +82457,86 @@ "value": 3 } ] + }, + { + "name": "ReflectionSource", + "values": [ + { + "name": "REFLECTION_SOURCE_BG", + "value": 0 + }, + { + "name": "REFLECTION_SOURCE_DISABLED", + "value": 1 + }, + { + "name": "REFLECTION_SOURCE_SKY", + "value": 2 + } + ] + }, + { + "name": "ToneMapper", + "values": [ + { + "name": "TONE_MAPPER_LINEAR", + "value": 0 + }, + { + "name": "TONE_MAPPER_REINHARDT", + "value": 1 + }, + { + "name": "TONE_MAPPER_FILMIC", + "value": 2 + }, + { + "name": "TONE_MAPPER_ACES", + "value": 3 + } + ] + }, + { + "name": "GlowBlendMode", + "values": [ + { + "name": "GLOW_BLEND_MODE_ADDITIVE", + "value": 0 + }, + { + "name": "GLOW_BLEND_MODE_SCREEN", + "value": 1 + }, + { + "name": "GLOW_BLEND_MODE_SOFTLIGHT", + "value": 2 + }, + { + "name": "GLOW_BLEND_MODE_REPLACE", + "value": 3 + }, + { + "name": "GLOW_BLEND_MODE_MIX", + "value": 4 + } + ] + }, + { + "name": "SDFGIYScale", + "values": [ + { + "name": "SDFGI_Y_SCALE_50_PERCENT", + "value": 0 + }, + { + "name": "SDFGI_Y_SCALE_75_PERCENT", + "value": 1 + }, + { + "name": "SDFGI_Y_SCALE_100_PERCENT", + "value": 2 + } + ] } ], "methods": [ @@ -85413,19 +85691,52 @@ "api_type": "core", "enums": [ { - "name": "DomainWarpType", + "name": "NoiseType", "values": [ { - "name": "DOMAIN_WARP_SIMPLEX", + "name": "TYPE_VALUE", + "value": 5 + }, + { + "name": "TYPE_VALUE_CUBIC", + "value": 4 + }, + { + "name": "TYPE_PERLIN", + "value": 3 + }, + { + "name": "TYPE_CELLULAR", + "value": 2 + }, + { + "name": "TYPE_SIMPLEX", "value": 0 }, { - "name": "DOMAIN_WARP_SIMPLEX_REDUCED", + "name": "TYPE_SIMPLEX_SMOOTH", + "value": 1 + } + ] + }, + { + "name": "FractalType", + "values": [ + { + "name": "FRACTAL_NONE", + "value": 0 + }, + { + "name": "FRACTAL_FBM", "value": 1 }, { - "name": "DOMAIN_WARP_BASIC_GRID", + "name": "FRACTAL_RIDGED", "value": 2 + }, + { + "name": "FRACTAL_PING_PONG", + "value": 3 } ] }, @@ -85484,52 +85795,19 @@ ] }, { - "name": "FractalType", + "name": "DomainWarpType", "values": [ { - "name": "FRACTAL_NONE", + "name": "DOMAIN_WARP_SIMPLEX", "value": 0 }, { - "name": "FRACTAL_FBM", + "name": "DOMAIN_WARP_SIMPLEX_REDUCED", "value": 1 }, { - "name": "FRACTAL_RIDGED", + "name": "DOMAIN_WARP_BASIC_GRID", "value": 2 - }, - { - "name": "FRACTAL_PING_PONG", - "value": 3 - } - ] - }, - { - "name": "NoiseType", - "values": [ - { - "name": "TYPE_VALUE", - "value": 5 - }, - { - "name": "TYPE_VALUE_CUBIC", - "value": 4 - }, - { - "name": "TYPE_PERLIN", - "value": 3 - }, - { - "name": "TYPE_CELLULAR", - "value": 2 - }, - { - "name": "TYPE_SIMPLEX", - "value": 0 - }, - { - "name": "TYPE_SIMPLEX_SMOOTH", - "value": 1 } ] }, @@ -86261,27 +86539,6 @@ "inherits": "RefCounted", "api_type": "core", "enums": [ - { - "name": "CompressionMode", - "values": [ - { - "name": "COMPRESSION_FASTLZ", - "value": 0 - }, - { - "name": "COMPRESSION_DEFLATE", - "value": 1 - }, - { - "name": "COMPRESSION_ZSTD", - "value": 2 - }, - { - "name": "COMPRESSION_GZIP", - "value": 3 - } - ] - }, { "name": "ModeFlags", "values": [ @@ -86302,6 +86559,27 @@ "value": 7 } ] + }, + { + "name": "CompressionMode", + "values": [ + { + "name": "COMPRESSION_FASTLZ", + "value": 0 + }, + { + "name": "COMPRESSION_DEFLATE", + "value": 1 + }, + { + "name": "COMPRESSION_ZSTD", + "value": 2 + }, + { + "name": "COMPRESSION_GZIP", + "value": 3 + } + ] } ], "methods": [ @@ -87316,6 +87594,15 @@ } ], "signals": [ + { + "name": "file_selected", + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, { "name": "files_selected", "arguments": [ @@ -87333,15 +87620,6 @@ "type": "String" } ] - }, - { - "name": "file_selected", - "arguments": [ - { - "name": "path", - "type": "String" - } - ] } ], "properties": [ @@ -87426,9 +87704,6 @@ } ], "signals": [ - { - "name": "display_mode_changed" - }, { "name": "inherit", "arguments": [ @@ -87438,6 +87713,33 @@ } ] }, + { + "name": "instance", + "arguments": [ + { + "name": "files", + "type": "PackedStringArray" + } + ] + }, + { + "name": "file_removed", + "arguments": [ + { + "name": "file", + "type": "String" + } + ] + }, + { + "name": "folder_removed", + "arguments": [ + { + "name": "folder", + "type": "String" + } + ] + }, { "name": "files_moved", "arguments": [ @@ -87451,24 +87753,6 @@ } ] }, - { - "name": "folder_removed", - "arguments": [ - { - "name": "folder", - "type": "String" - } - ] - }, - { - "name": "instance", - "arguments": [ - { - "name": "files", - "type": "PackedStringArray" - } - ] - }, { "name": "folder_moved", "arguments": [ @@ -87483,13 +87767,7 @@ ] }, { - "name": "file_removed", - "arguments": [ - { - "name": "file", - "type": "String" - } - ] + "name": "display_mode_changed" } ] }, @@ -91571,82 +91849,58 @@ "api_type": "core", "methods": [ { - "name": "get_import_setting_keys", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "Array" - } - }, - { - "name": "import_preflight", + "name": "_import_preflight", "is_const": false, - "is_vararg": false, "is_static": false, - "is_virtual": false, - "hash": 135374087, + "is_vararg": false, + "is_virtual": true, "return_value": { - "type": "enum::Error" + "type": "int" }, "arguments": [ { - "name": "document", - "type": "GLTFDocument" + "name": "state", + "type": "GLTFState" } ] }, { - "name": "get_import_setting", - "is_const": true, - "is_vararg": false, + "name": "_import_post_parse", + "is_const": false, "is_static": false, - "is_virtual": false, - "hash": 135374120, + "is_vararg": false, + "is_virtual": true, "return_value": { - "type": "Variant" + "type": "int" }, "arguments": [ { - "name": "key", - "type": "StringName" + "name": "state", + "type": "GLTFState" } ] }, { - "name": "set_import_setting", + "name": "_import_node", "is_const": false, - "is_vararg": false, "is_static": false, - "is_virtual": false, - "hash": 134224103, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + }, "arguments": [ { - "name": "key", - "type": "StringName" + "name": "state", + "type": "GLTFState" }, { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "import_post", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135410024, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ + "name": "gltf_node", + "type": "GLTFNode" + }, { - "name": "document", - "type": "GLTFDocument" + "name": "json", + "type": "Dictionary" }, { "name": "node", @@ -91655,65 +91909,62 @@ ] }, { - "name": "get_export_setting_keys", - "is_const": true, - "is_vararg": false, + "name": "_import_post", + "is_const": false, "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "Array" - } - }, - { - "name": "get_export_setting", - "is_const": true, "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135374120, + "is_virtual": true, "return_value": { - "type": "Variant" + "type": "int" }, "arguments": [ { - "name": "key", - "type": "StringName" - } - ] - }, - { - "name": "set_export_setting", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134224103, - "arguments": [ - { - "name": "key", - "type": "StringName" + "name": "state", + "type": "GLTFState" }, { - "name": "value", - "type": "Variant" + "name": "root", + "type": "Node" } ] }, { - "name": "export_preflight", + "name": "_export_preflight", "is_const": false, - "is_vararg": false, "is_static": false, - "is_virtual": false, - "hash": 135410024, + "is_vararg": false, + "is_virtual": true, "return_value": { - "type": "enum::Error" + "type": "int" }, "arguments": [ { - "name": "document", - "type": "GLTFDocument" + "name": "root", + "type": "Node" + } + ] + }, + { + "name": "_export_node", + "is_const": false, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + }, + "arguments": [ + { + "name": "state", + "type": "GLTFState" + }, + { + "name": "gltf_node", + "type": "GLTFNode" + }, + { + "name": "json", + "type": "Dictionary" }, { "name": "node", @@ -91722,19 +91973,18 @@ ] }, { - "name": "export_post", + "name": "_export_post", "is_const": false, - "is_vararg": false, "is_static": false, - "is_virtual": false, - "hash": 135374087, + "is_vararg": false, + "is_virtual": true, "return_value": { - "type": "enum::Error" + "type": "int" }, "arguments": [ { - "name": "document", - "type": "GLTFDocument" + "name": "state", + "type": "GLTFState" } ] } @@ -93542,6 +93792,31 @@ } ] }, + { + "name": "get_base_path", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "String" + } + }, + { + "name": "set_base_path", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "base_path", + "type": "String" + } + ] + }, { "name": "get_root_nodes", "is_const": false, @@ -93921,6 +94196,13 @@ "getter": "get_scene_name", "index": -1 }, + { + "type": "String", + "name": "base_path", + "setter": "set_base_path", + "getter": "get_base_path", + "index": -1 + }, { "type": "PackedInt32Array", "name": "root_nodes", @@ -94052,6 +94334,23 @@ "inherits": "Node2D", "api_type": "core", "enums": [ + { + "name": "DrawOrder", + "values": [ + { + "name": "DRAW_ORDER_INDEX", + "value": 0 + }, + { + "name": "DRAW_ORDER_LIFETIME", + "value": 1 + }, + { + "name": "DRAW_ORDER_REVERSE_LIFETIME", + "value": 2 + } + ] + }, { "name": "EmitFlags", "values": [ @@ -94076,23 +94375,6 @@ "value": 16 } ] - }, - { - "name": "DrawOrder", - "values": [ - { - "name": "DRAW_ORDER_INDEX", - "value": 0 - }, - { - "name": "DRAW_ORDER_LIFETIME", - "value": 1 - }, - { - "name": "DRAW_ORDER_REVERSE_LIFETIME", - "value": 2 - } - ] } ], "methods": [ @@ -94889,6 +95171,27 @@ } ], "enums": [ + { + "name": "DrawOrder", + "values": [ + { + "name": "DRAW_ORDER_INDEX", + "value": 0 + }, + { + "name": "DRAW_ORDER_LIFETIME", + "value": 1 + }, + { + "name": "DRAW_ORDER_REVERSE_LIFETIME", + "value": 2 + }, + { + "name": "DRAW_ORDER_VIEW_DEPTH", + "value": 3 + } + ] + }, { "name": "EmitFlags", "values": [ @@ -94934,27 +95237,6 @@ "value": 3 } ] - }, - { - "name": "DrawOrder", - "values": [ - { - "name": "DRAW_ORDER_INDEX", - "value": 0 - }, - { - "name": "DRAW_ORDER_LIFETIME", - "value": 1 - }, - { - "name": "DRAW_ORDER_REVERSE_LIFETIME", - "value": 2 - }, - { - "name": "DRAW_ORDER_VIEW_DEPTH", - "value": 3 - } - ] } ], "methods": [ @@ -96330,7 +96612,7 @@ } }, { - "name": "set_follow_camera_mode", + "name": "set_follow_camera_enabled", "is_const": false, "is_vararg": false, "is_static": false, @@ -96344,7 +96626,7 @@ ] }, { - "name": "is_follow_camera_mode_enabled", + "name": "is_follow_camera_enabled", "is_const": true, "is_vararg": false, "is_static": false, @@ -96353,33 +96635,6 @@ "return_value": { "type": "bool" } - }, - { - "name": "set_follow_camera_push_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_follow_camera_push_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "float", - "meta": "float" - } } ], "properties": [ @@ -96407,15 +96662,8 @@ { "type": "bool", "name": "follow_camera_enabled", - "setter": "set_follow_camera_mode", - "getter": "is_follow_camera_mode_enabled", - "index": -1 - }, - { - "type": "float", - "name": "follow_camera_push_ratio", - "setter": "set_follow_camera_push_ratio", - "getter": "get_follow_camera_push_ratio", + "setter": "set_follow_camera_enabled", + "getter": "is_follow_camera_enabled", "index": -1 } ] @@ -97595,31 +97843,6 @@ "inherits": "Object", "api_type": "core", "enums": [ - { - "name": "PolyEndType", - "values": [ - { - "name": "END_POLYGON", - "value": 0 - }, - { - "name": "END_JOINED", - "value": 1 - }, - { - "name": "END_BUTT", - "value": 2 - }, - { - "name": "END_SQUARE", - "value": 3 - }, - { - "name": "END_ROUND", - "value": 4 - } - ] - }, { "name": "PolyBooleanOperation", "values": [ @@ -97657,6 +97880,31 @@ "value": 2 } ] + }, + { + "name": "PolyEndType", + "values": [ + { + "name": "END_POLYGON", + "value": 0 + }, + { + "name": "END_JOINED", + "value": 1 + }, + { + "name": "END_BUTT", + "value": 2 + }, + { + "name": "END_SQUARE", + "value": 3 + }, + { + "name": "END_ROUND", + "value": 4 + } + ] } ], "methods": [ @@ -98501,23 +98749,6 @@ "inherits": "VisualInstance3D", "api_type": "core", "enums": [ - { - "name": "GIMode", - "values": [ - { - "name": "GI_MODE_DISABLED", - "value": 0 - }, - { - "name": "GI_MODE_STATIC", - "value": 1 - }, - { - "name": "GI_MODE_DYNAMIC", - "value": 2 - } - ] - }, { "name": "ShadowCastingSetting", "values": [ @@ -98539,6 +98770,23 @@ } ] }, + { + "name": "GIMode", + "values": [ + { + "name": "GI_MODE_DISABLED", + "value": 0 + }, + { + "name": "GI_MODE_STATIC", + "value": 1 + }, + { + "name": "GI_MODE_DYNAMIC", + "value": 2 + } + ] + }, { "name": "LightmapScale", "values": [ @@ -100381,6 +100629,33 @@ "type": "bool" } }, + { + "name": "set_connection_lines_curvature", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "curvature", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_connection_lines_curvature", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, { "name": "set_connection_lines_thickness", "is_const": false, @@ -100571,78 +100846,7 @@ ], "signals": [ { - "name": "connection_drag_started", - "arguments": [ - { - "name": "from", - "type": "String" - }, - { - "name": "slot", - "type": "String" - }, - { - "name": "is_output", - "type": "bool" - } - ] - }, - { - "name": "delete_nodes_request" - }, - { - "name": "copy_nodes_request" - }, - { - "name": "duplicate_nodes_request" - }, - { - "name": "connection_drag_ended" - }, - { - "name": "popup_request", - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "paste_nodes_request" - }, - { - "name": "scroll_offset_changed", - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "node_selected", - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "node_deselected", - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "begin_node_move" - }, - { - "name": "connection_to_empty", + "name": "connection_request", "arguments": [ { "name": "from", @@ -100653,8 +100857,12 @@ "type": "int" }, { - "name": "release_position", - "type": "Vector2" + "name": "to", + "type": "StringName" + }, + { + "name": "to_slot", + "type": "int" } ] }, @@ -100680,7 +100888,43 @@ ] }, { - "name": "connection_request", + "name": "popup_request", + "arguments": [ + { + "name": "position", + "type": "Vector2" + } + ] + }, + { + "name": "duplicate_nodes_request" + }, + { + "name": "copy_nodes_request" + }, + { + "name": "paste_nodes_request" + }, + { + "name": "node_selected", + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "node_deselected", + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "connection_to_empty", "arguments": [ { "name": "from", @@ -100691,12 +100935,8 @@ "type": "int" }, { - "name": "to", - "type": "StringName" - }, - { - "name": "to_slot", - "type": "int" + "name": "release_position", + "type": "Vector2" } ] }, @@ -100717,8 +100957,49 @@ } ] }, + { + "name": "delete_nodes_request", + "arguments": [ + { + "name": "nodes", + "type": "Array" + } + ] + }, + { + "name": "begin_node_move" + }, { "name": "end_node_move" + }, + { + "name": "scroll_offset_changed", + "arguments": [ + { + "name": "offset", + "type": "Vector2" + } + ] + }, + { + "name": "connection_drag_started", + "arguments": [ + { + "name": "from", + "type": "String" + }, + { + "name": "slot", + "type": "String" + }, + { + "name": "is_output", + "type": "bool" + } + ] + }, + { + "name": "connection_drag_ended" } ], "properties": [ @@ -100757,6 +101038,13 @@ "getter": "get_panning_scheme", "index": -1 }, + { + "type": "float", + "name": "connection_lines_curvature", + "setter": "set_connection_lines_curvature", + "getter": "get_connection_lines_curvature", + "index": -1 + }, { "type": "float", "name": "connection_lines_thickness", @@ -100981,7 +101269,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 417479696, + "hash": 2222531442, "arguments": [ { "name": "idx", @@ -101023,6 +101311,11 @@ "name": "custom_right", "type": "Texture2D", "default_value": "null" + }, + { + "name": "enable", + "type": "bool", + "default_value": "true" } ] }, @@ -101275,6 +101568,43 @@ } ] }, + { + "name": "is_slot_draw_stylebox", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_slot_draw_stylebox", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + }, + { + "name": "draw_stylebox", + "type": "bool" + } + ] + }, { "name": "set_position_offset", "is_const": false, @@ -101375,18 +101705,6 @@ "type": "bool" } }, - { - "name": "get_connection_output_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338150, - "return_value": { - "type": "int", - "meta": "int32" - } - }, { "name": "get_connection_input_count", "is_const": false, @@ -101400,25 +101718,7 @@ } }, { - "name": "get_connection_output_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135374087, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_connection_output_type", + "name": "get_connection_input_height", "is_const": false, "is_vararg": false, "is_static": false, @@ -101436,24 +101736,6 @@ } ] }, - { - "name": "get_connection_output_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135374087, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, { "name": "get_connection_input_position", "is_const": false, @@ -101509,6 +101791,92 @@ } ] }, + { + "name": "get_connection_output_count", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_connection_output_height", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_connection_output_position", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_connection_output_type", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_connection_output_color", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374087, + "return_value": { + "type": "Color" + }, + "arguments": [ + { + "name": "idx", + "type": "int", + "meta": "int32" + } + ] + }, { "name": "set_show_close_button", "is_const": false, @@ -101561,14 +101929,17 @@ } ], "signals": [ - { - "name": "raise_request" - }, { "name": "position_offset_changed" }, { - "name": "close_request" + "name": "slot_updated", + "arguments": [ + { + "name": "idx", + "type": "int" + } + ] }, { "name": "dragged", @@ -101584,13 +101955,10 @@ ] }, { - "name": "slot_updated", - "arguments": [ - { - "name": "idx", - "type": "int" - } - ] + "name": "raise_request" + }, + { + "name": "close_request" }, { "name": "resize_request", @@ -102610,51 +102978,6 @@ "inherits": "RefCounted", "api_type": "core", "enums": [ - { - "name": "Status", - "values": [ - { - "name": "STATUS_DISCONNECTED", - "value": 0 - }, - { - "name": "STATUS_RESOLVING", - "value": 1 - }, - { - "name": "STATUS_CANT_RESOLVE", - "value": 2 - }, - { - "name": "STATUS_CONNECTING", - "value": 3 - }, - { - "name": "STATUS_CANT_CONNECT", - "value": 4 - }, - { - "name": "STATUS_CONNECTED", - "value": 5 - }, - { - "name": "STATUS_REQUESTING", - "value": 6 - }, - { - "name": "STATUS_BODY", - "value": 7 - }, - { - "name": "STATUS_CONNECTION_ERROR", - "value": 8 - }, - { - "name": "STATUS_SSL_HANDSHAKE_ERROR", - "value": 9 - } - ] - }, { "name": "Method", "values": [ @@ -102700,6 +103023,51 @@ } ] }, + { + "name": "Status", + "values": [ + { + "name": "STATUS_DISCONNECTED", + "value": 0 + }, + { + "name": "STATUS_RESOLVING", + "value": 1 + }, + { + "name": "STATUS_CANT_RESOLVE", + "value": 2 + }, + { + "name": "STATUS_CONNECTING", + "value": 3 + }, + { + "name": "STATUS_CANT_CONNECT", + "value": 4 + }, + { + "name": "STATUS_CONNECTED", + "value": 5 + }, + { + "name": "STATUS_REQUESTING", + "value": 6 + }, + { + "name": "STATUS_BODY", + "value": 7 + }, + { + "name": "STATUS_CONNECTION_ERROR", + "value": 8 + }, + { + "name": "STATUS_SSL_HANDSHAKE_ERROR", + "value": 9 + } + ] + }, { "name": "ResponseCode", "values": [ @@ -104450,115 +104818,6 @@ } ], "enums": [ - { - "name": "AlphaMode", - "values": [ - { - "name": "ALPHA_NONE", - "value": 0 - }, - { - "name": "ALPHA_BIT", - "value": 1 - }, - { - "name": "ALPHA_BLEND", - "value": 2 - } - ] - }, - { - "name": "CompressSource", - "values": [ - { - "name": "COMPRESS_SOURCE_GENERIC", - "value": 0 - }, - { - "name": "COMPRESS_SOURCE_SRGB", - "value": 1 - }, - { - "name": "COMPRESS_SOURCE_NORMAL", - "value": 2 - } - ] - }, - { - "name": "UsedChannels", - "values": [ - { - "name": "USED_CHANNELS_L", - "value": 0 - }, - { - "name": "USED_CHANNELS_LA", - "value": 1 - }, - { - "name": "USED_CHANNELS_R", - "value": 2 - }, - { - "name": "USED_CHANNELS_RG", - "value": 3 - }, - { - "name": "USED_CHANNELS_RGB", - "value": 4 - }, - { - "name": "USED_CHANNELS_RGBA", - "value": 5 - } - ] - }, - { - "name": "Interpolation", - "values": [ - { - "name": "INTERPOLATE_NEAREST", - "value": 0 - }, - { - "name": "INTERPOLATE_BILINEAR", - "value": 1 - }, - { - "name": "INTERPOLATE_CUBIC", - "value": 2 - }, - { - "name": "INTERPOLATE_TRILINEAR", - "value": 3 - }, - { - "name": "INTERPOLATE_LANCZOS", - "value": 4 - } - ] - }, - { - "name": "CompressMode", - "values": [ - { - "name": "COMPRESS_S3TC", - "value": 0 - }, - { - "name": "COMPRESS_ETC", - "value": 1 - }, - { - "name": "COMPRESS_ETC2", - "value": 2 - }, - { - "name": "COMPRESS_BPTC", - "value": 3 - } - ] - }, { "name": "Format", "values": [ @@ -104707,6 +104966,115 @@ "value": 35 } ] + }, + { + "name": "Interpolation", + "values": [ + { + "name": "INTERPOLATE_NEAREST", + "value": 0 + }, + { + "name": "INTERPOLATE_BILINEAR", + "value": 1 + }, + { + "name": "INTERPOLATE_CUBIC", + "value": 2 + }, + { + "name": "INTERPOLATE_TRILINEAR", + "value": 3 + }, + { + "name": "INTERPOLATE_LANCZOS", + "value": 4 + } + ] + }, + { + "name": "AlphaMode", + "values": [ + { + "name": "ALPHA_NONE", + "value": 0 + }, + { + "name": "ALPHA_BIT", + "value": 1 + }, + { + "name": "ALPHA_BLEND", + "value": 2 + } + ] + }, + { + "name": "CompressMode", + "values": [ + { + "name": "COMPRESS_S3TC", + "value": 0 + }, + { + "name": "COMPRESS_ETC", + "value": 1 + }, + { + "name": "COMPRESS_ETC2", + "value": 2 + }, + { + "name": "COMPRESS_BPTC", + "value": 3 + } + ] + }, + { + "name": "UsedChannels", + "values": [ + { + "name": "USED_CHANNELS_L", + "value": 0 + }, + { + "name": "USED_CHANNELS_LA", + "value": 1 + }, + { + "name": "USED_CHANNELS_R", + "value": 2 + }, + { + "name": "USED_CHANNELS_RG", + "value": 3 + }, + { + "name": "USED_CHANNELS_RGB", + "value": 4 + }, + { + "name": "USED_CHANNELS_RGBA", + "value": 5 + } + ] + }, + { + "name": "CompressSource", + "values": [ + { + "name": "COMPRESS_SOURCE_GENERIC", + "value": 0 + }, + { + "name": "COMPRESS_SOURCE_SRGB", + "value": 1 + }, + { + "name": "COMPRESS_SOURCE_NORMAL", + "value": 2 + } + ] } ], "methods": [ @@ -107309,6 +107677,17 @@ } ] }, + { + "name": "is_using_accumulated_input", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, { "name": "flush_buffered_events", "is_const": false, @@ -107332,6 +107711,22 @@ } ] } + ], + "properties": [ + { + "type": "int", + "name": "mouse_mode", + "setter": "set_mouse_mode", + "getter": "get_mouse_mode", + "index": -1 + }, + { + "type": "bool", + "name": "use_accumulated_input", + "setter": "set_use_accumulated_input", + "getter": "is_using_accumulated_input", + "index": -1 + } ] }, { @@ -109647,19 +110042,6 @@ "inherits": "Control", "api_type": "core", "enums": [ - { - "name": "SelectMode", - "values": [ - { - "name": "SELECT_SINGLE", - "value": 0 - }, - { - "name": "SELECT_MULTI", - "value": 1 - } - ] - }, { "name": "IconMode", "values": [ @@ -109672,6 +110054,19 @@ "value": 1 } ] + }, + { + "name": "SelectMode", + "values": [ + { + "name": "SELECT_SINGLE", + "value": 0 + }, + { + "name": "SELECT_MULTI", + "value": 1 + } + ] } ], "methods": [ @@ -110820,7 +111215,7 @@ ], "signals": [ { - "name": "item_activated", + "name": "item_selected", "arguments": [ { "name": "index", @@ -110829,15 +111224,15 @@ ] }, { - "name": "multi_selected", + "name": "empty_clicked", "arguments": [ { - "name": "index", - "type": "int" + "name": "at_position", + "type": "Vector2" }, { - "name": "selected", - "type": "bool" + "name": "mouse_button_index", + "type": "int" } ] }, @@ -110859,20 +111254,20 @@ ] }, { - "name": "empty_clicked", + "name": "multi_selected", "arguments": [ { - "name": "at_position", - "type": "Vector2" + "name": "index", + "type": "int" }, { - "name": "mouse_button_index", - "type": "int" + "name": "selected", + "type": "bool" } ] }, { - "name": "item_selected", + "name": "item_activated", "arguments": [ { "name": "index", @@ -112114,31 +112509,6 @@ "inherits": "Control", "api_type": "core", "enums": [ - { - "name": "VisibleCharactersBehavior", - "values": [ - { - "name": "VC_CHARS_BEFORE_SHAPING", - "value": 0 - }, - { - "name": "VC_CHARS_AFTER_SHAPING", - "value": 1 - }, - { - "name": "VC_GLYPHS_AUTO", - "value": 2 - }, - { - "name": "VC_GLYPHS_LTR", - "value": 3 - }, - { - "name": "VC_GLYPHS_RTL", - "value": 4 - } - ] - }, { "name": "AutowrapMode", "values": [ @@ -112184,6 +112554,31 @@ "value": 4 } ] + }, + { + "name": "VisibleCharactersBehavior", + "values": [ + { + "name": "VC_CHARS_BEFORE_SHAPING", + "value": 0 + }, + { + "name": "VC_CHARS_AFTER_SHAPING", + "value": 1 + }, + { + "name": "VC_GLYPHS_AUTO", + "value": 2 + }, + { + "name": "VC_GLYPHS_LTR", + "value": 3 + }, + { + "name": "VC_GLYPHS_RTL", + "value": 4 + } + ] } ], "methods": [ @@ -112819,6 +113214,27 @@ "inherits": "GeometryInstance3D", "api_type": "core", "enums": [ + { + "name": "AutowrapMode", + "values": [ + { + "name": "AUTOWRAP_OFF", + "value": 0 + }, + { + "name": "AUTOWRAP_ARBITRARY", + "value": 1 + }, + { + "name": "AUTOWRAP_WORD", + "value": 2 + }, + { + "name": "AUTOWRAP_WORD_SMART", + "value": 3 + } + ] + }, { "name": "DrawFlags", "values": [ @@ -112860,27 +113276,6 @@ "value": 2 } ] - }, - { - "name": "AutowrapMode", - "values": [ - { - "name": "AUTOWRAP_OFF", - "value": 0 - }, - { - "name": "AUTOWRAP_ARBITRARY", - "value": 1 - }, - { - "name": "AUTOWRAP_WORD", - "value": 2 - }, - { - "name": "AUTOWRAP_WORD_SMART", - "value": 3 - } - ] } ], "methods": [ @@ -114368,23 +114763,6 @@ "inherits": "VisualInstance3D", "api_type": "core", "enums": [ - { - "name": "BakeMode", - "values": [ - { - "name": "BAKE_DISABLED", - "value": 0 - }, - { - "name": "BAKE_STATIC", - "value": 1 - }, - { - "name": "BAKE_DYNAMIC", - "value": 2 - } - ] - }, { "name": "Param", "values": [ @@ -114469,6 +114847,23 @@ "value": 19 } ] + }, + { + "name": "BakeMode", + "values": [ + { + "name": "BAKE_DISABLED", + "value": 0 + }, + { + "name": "BAKE_STATIC", + "value": 1 + }, + { + "name": "BAKE_DYNAMIC", + "value": 2 + } + ] } ], "methods": [ @@ -115112,6 +115507,31 @@ } ] }, + { + "name": "GenerateProbes", + "values": [ + { + "name": "GENERATE_PROBES_DISABLED", + "value": 0 + }, + { + "name": "GENERATE_PROBES_SUBDIV_4", + "value": 1 + }, + { + "name": "GENERATE_PROBES_SUBDIV_8", + "value": 2 + }, + { + "name": "GENERATE_PROBES_SUBDIV_16", + "value": 3 + }, + { + "name": "GENERATE_PROBES_SUBDIV_32", + "value": 4 + } + ] + }, { "name": "BakeError", "values": [ @@ -115145,31 +115565,6 @@ } ] }, - { - "name": "GenerateProbes", - "values": [ - { - "name": "GENERATE_PROBES_DISABLED", - "value": 0 - }, - { - "name": "GENERATE_PROBES_SUBDIV_4", - "value": 1 - }, - { - "name": "GENERATE_PROBES_SUBDIV_8", - "value": 2 - }, - { - "name": "GENERATE_PROBES_SUBDIV_16", - "value": 3 - }, - { - "name": "GENERATE_PROBES_SUBDIV_32", - "value": 4 - } - ] - }, { "name": "EnvironmentMode", "values": [ @@ -115805,18 +116200,18 @@ "api_type": "core", "enums": [ { - "name": "LineTextureMode", + "name": "LineJointMode", "values": [ { - "name": "LINE_TEXTURE_NONE", + "name": "LINE_JOINT_SHARP", "value": 0 }, { - "name": "LINE_TEXTURE_TILE", + "name": "LINE_JOINT_BEVEL", "value": 1 }, { - "name": "LINE_TEXTURE_STRETCH", + "name": "LINE_JOINT_ROUND", "value": 2 } ] @@ -115839,18 +116234,18 @@ ] }, { - "name": "LineJointMode", + "name": "LineTextureMode", "values": [ { - "name": "LINE_JOINT_SHARP", + "name": "LINE_TEXTURE_NONE", "value": 0 }, { - "name": "LINE_JOINT_BEVEL", + "name": "LINE_TEXTURE_TILE", "value": 1 }, { - "name": "LINE_JOINT_ROUND", + "name": "LINE_TEXTURE_STRETCH", "value": 2 } ] @@ -117405,15 +117800,6 @@ } ], "signals": [ - { - "name": "text_submitted", - "arguments": [ - { - "name": "new_text", - "type": "String" - } - ] - }, { "name": "text_changed", "arguments": [ @@ -117431,6 +117817,15 @@ "type": "String" } ] + }, + { + "name": "text_submitted", + "arguments": [ + { + "name": "new_text", + "type": "String" + } + ] } ], "properties": [ @@ -118382,15 +118777,88 @@ "api_type": "core", "enums": [ { - "name": "BlendShapeMode", + "name": "PrimitiveType", "values": [ { - "name": "BLEND_SHAPE_MODE_NORMALIZED", + "name": "PRIMITIVE_POINTS", "value": 0 }, { - "name": "BLEND_SHAPE_MODE_RELATIVE", + "name": "PRIMITIVE_LINES", "value": 1 + }, + { + "name": "PRIMITIVE_LINE_STRIP", + "value": 2 + }, + { + "name": "PRIMITIVE_TRIANGLES", + "value": 3 + }, + { + "name": "PRIMITIVE_TRIANGLE_STRIP", + "value": 4 + } + ] + }, + { + "name": "ArrayType", + "values": [ + { + "name": "ARRAY_VERTEX", + "value": 0 + }, + { + "name": "ARRAY_NORMAL", + "value": 1 + }, + { + "name": "ARRAY_TANGENT", + "value": 2 + }, + { + "name": "ARRAY_COLOR", + "value": 3 + }, + { + "name": "ARRAY_TEX_UV", + "value": 4 + }, + { + "name": "ARRAY_TEX_UV2", + "value": 5 + }, + { + "name": "ARRAY_CUSTOM0", + "value": 6 + }, + { + "name": "ARRAY_CUSTOM1", + "value": 7 + }, + { + "name": "ARRAY_CUSTOM2", + "value": 8 + }, + { + "name": "ARRAY_CUSTOM3", + "value": 9 + }, + { + "name": "ARRAY_BONES", + "value": 10 + }, + { + "name": "ARRAY_WEIGHTS", + "value": 11 + }, + { + "name": "ARRAY_INDEX", + "value": 12 + }, + { + "name": "ARRAY_MAX", + "value": 13 } ] }, @@ -118435,31 +118903,6 @@ } ] }, - { - "name": "PrimitiveType", - "values": [ - { - "name": "PRIMITIVE_POINTS", - "value": 0 - }, - { - "name": "PRIMITIVE_LINES", - "value": 1 - }, - { - "name": "PRIMITIVE_LINE_STRIP", - "value": 2 - }, - { - "name": "PRIMITIVE_TRIANGLES", - "value": 3 - }, - { - "name": "PRIMITIVE_TRIANGLE_STRIP", - "value": 4 - } - ] - }, { "name": "ArrayFormat", "values": [ @@ -118566,63 +119009,15 @@ ] }, { - "name": "ArrayType", + "name": "BlendShapeMode", "values": [ { - "name": "ARRAY_VERTEX", + "name": "BLEND_SHAPE_MODE_NORMALIZED", "value": 0 }, { - "name": "ARRAY_NORMAL", + "name": "BLEND_SHAPE_MODE_RELATIVE", "value": 1 - }, - { - "name": "ARRAY_TANGENT", - "value": 2 - }, - { - "name": "ARRAY_COLOR", - "value": 3 - }, - { - "name": "ARRAY_TEX_UV", - "value": 4 - }, - { - "name": "ARRAY_TEX_UV2", - "value": 5 - }, - { - "name": "ARRAY_CUSTOM0", - "value": 6 - }, - { - "name": "ARRAY_CUSTOM1", - "value": 7 - }, - { - "name": "ARRAY_CUSTOM2", - "value": 8 - }, - { - "name": "ARRAY_CUSTOM3", - "value": 9 - }, - { - "name": "ARRAY_BONES", - "value": 10 - }, - { - "name": "ARRAY_WEIGHTS", - "value": 11 - }, - { - "name": "ARRAY_INDEX", - "value": 12 - }, - { - "name": "ARRAY_MAX", - "value": 13 } ] } @@ -121848,7 +122243,22 @@ ], "signals": [ { - "name": "connected_to_server" + "name": "peer_connected", + "arguments": [ + { + "name": "id", + "type": "int" + } + ] + }, + { + "name": "peer_disconnected", + "arguments": [ + { + "name": "id", + "type": "int" + } + ] }, { "name": "peer_packet", @@ -121863,27 +122273,12 @@ } ] }, + { + "name": "connected_to_server" + }, { "name": "connection_failed" }, - { - "name": "peer_disconnected", - "arguments": [ - { - "name": "id", - "type": "int" - } - ] - }, - { - "name": "peer_connected", - "arguments": [ - { - "name": "id", - "type": "int" - } - ] - }, { "name": "server_disconnected" } @@ -122105,10 +122500,13 @@ ], "signals": [ { - "name": "connection_failed" - }, - { - "name": "connection_succeeded" + "name": "peer_connected", + "arguments": [ + { + "name": "id", + "type": "int" + } + ] }, { "name": "peer_disconnected", @@ -122120,16 +122518,13 @@ ] }, { - "name": "peer_connected", - "arguments": [ - { - "name": "id", - "type": "int" - } - ] + "name": "server_disconnected" }, { - "name": "server_disconnected" + "name": "connection_succeeded" + }, + { + "name": "connection_failed" } ], "properties": [ @@ -122380,6 +122775,58 @@ } ] }, + { + "name": "add_spawnable_scene", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, + { + "name": "get_spawnable_scene_count", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_spawnable_scene", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "String" + }, + "arguments": [ + { + "name": "path", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "clear_spawnable_scenes", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134152229 + }, { "name": "spawn", "is_const": false, @@ -122398,31 +122845,6 @@ } ] }, - { - "name": "get_spawnable_scenes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338150, - "return_value": { - "type": "Array" - } - }, - { - "name": "set_spawnable_scenes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "scenes", - "type": "Array" - } - ] - }, { "name": "get_spawn_path", "is_const": true, @@ -122530,13 +122952,6 @@ } ], "properties": [ - { - "type": "Array", - "name": "replication", - "setter": "set_spawnable_scenes", - "getter": "get_spawnable_scenes", - "index": -1 - }, { "type": "NodePath", "name": "spawn_path", @@ -122662,7 +123077,7 @@ }, { "type": "SceneReplicationConfig", - "name": "resource", + "name": "replication_config", "setter": "set_replication_config", "getter": "get_replication_config", "index": -1 @@ -122952,6 +123367,31 @@ "type": "RID" } }, + { + "name": "set_avoidance_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_avoidance_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, { "name": "set_target_desired_distance", "is_const": false, @@ -123302,6 +123742,12 @@ { "name": "path_changed" }, + { + "name": "target_reached" + }, + { + "name": "navigation_finished" + }, { "name": "velocity_computed", "arguments": [ @@ -123310,12 +123756,6 @@ "type": "Vector3" } ] - }, - { - "name": "navigation_finished" - }, - { - "name": "target_reached" } ], "properties": [ @@ -123368,6 +123808,13 @@ "getter": "get_path_max_distance", "index": -1 }, + { + "type": "bool", + "name": "avoidance_enabled", + "setter": "set_avoidance_enabled", + "getter": "get_avoidance_enabled", + "index": -1 + }, { "type": "int", "name": "navigable_layers", @@ -123395,6 +123842,31 @@ "type": "RID" } }, + { + "name": "set_avoidance_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] + }, + { + "name": "get_avoidance_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, { "name": "set_target_desired_distance", "is_const": false, @@ -123797,6 +124269,12 @@ { "name": "path_changed" }, + { + "name": "target_reached" + }, + { + "name": "navigation_finished" + }, { "name": "velocity_computed", "arguments": [ @@ -123805,12 +124283,6 @@ "type": "Vector3" } ] - }, - { - "name": "navigation_finished" - }, - { - "name": "target_reached" } ], "properties": [ @@ -123877,6 +124349,13 @@ "getter": "get_ignore_y", "index": -1 }, + { + "type": "bool", + "name": "avoidance_enabled", + "setter": "set_avoidance_enabled", + "getter": "get_avoidance_enabled", + "index": -1 + }, { "type": "int", "name": "navigable_layers", @@ -123893,27 +124372,6 @@ "inherits": "Resource", "api_type": "core", "enums": [ - { - "name": "ParsedGeometryType", - "values": [ - { - "name": "PARSED_GEOMETRY_MESH_INSTANCES", - "value": 0 - }, - { - "name": "PARSED_GEOMETRY_STATIC_COLLIDERS", - "value": 1 - }, - { - "name": "PARSED_GEOMETRY_BOTH", - "value": 2 - }, - { - "name": "PARSED_GEOMETRY_MAX", - "value": 3 - } - ] - }, { "name": "SamplePartitionType", "values": [ @@ -123935,6 +124393,27 @@ } ] }, + { + "name": "ParsedGeometryType", + "values": [ + { + "name": "PARSED_GEOMETRY_MESH_INSTANCES", + "value": 0 + }, + { + "name": "PARSED_GEOMETRY_STATIC_COLLIDERS", + "value": 1 + }, + { + "name": "PARSED_GEOMETRY_BOTH", + "value": 2 + }, + { + "name": "PARSED_GEOMETRY_MAX", + "value": 3 + } + ] + }, { "name": "SourceGeometryMode", "values": [ @@ -124852,6 +125331,17 @@ "inherits": "Node", "api_type": "core", "methods": [ + { + "name": "get_rid", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, { "name": "set_estimate_radius", "is_const": false, @@ -124929,6 +125419,17 @@ "inherits": "Node", "api_type": "core", "methods": [ + { + "name": "get_rid", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "RID" + } + }, { "name": "set_estimate_radius", "is_const": false, @@ -125083,6 +125584,17 @@ "is_virtual": false, "hash": 134152229 }, + { + "name": "get_mesh", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "NavigationMesh" + } + }, { "name": "add_outline", "is_const": false, @@ -125454,10 +125966,10 @@ ], "signals": [ { - "name": "bake_finished" + "name": "navigation_mesh_changed" }, { - "name": "navigation_mesh_changed" + "name": "bake_finished" } ], "properties": [ @@ -125688,6 +126200,40 @@ } ] }, + { + "name": "map_get_regions", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "map", + "type": "RID" + } + ] + }, + { + "name": "map_get_agents", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "map", + "type": "RID" + } + ] + }, { "name": "region_create", "is_const": true, @@ -125717,6 +126263,23 @@ } ] }, + { + "name": "region_get_map", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "region", + "type": "RID" + } + ] + }, { "name": "region_set_layers", "is_const": true, @@ -125881,6 +126444,23 @@ } ] }, + { + "name": "agent_get_map", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "agent", + "type": "RID" + } + ] + }, { "name": "agent_set_neighbor_dist", "is_const": true, @@ -126391,6 +126971,40 @@ } ] }, + { + "name": "map_get_regions", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "map", + "type": "RID" + } + ] + }, + { + "name": "map_get_agents", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "Array" + }, + "arguments": [ + { + "name": "map", + "type": "RID" + } + ] + }, { "name": "region_create", "is_const": true, @@ -126420,6 +127034,23 @@ } ] }, + { + "name": "region_get_map", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "region", + "type": "RID" + } + ] + }, { "name": "region_set_layers", "is_const": true, @@ -126602,6 +127233,23 @@ } ] }, + { + "name": "agent_get_map", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "RID" + }, + "arguments": [ + { + "name": "agent", + "type": "RID" + } + ] + }, { "name": "agent_set_neighbor_dist", "is_const": true, @@ -128716,27 +129364,21 @@ } ], "signals": [ - { - "name": "renamed" - }, - { - "name": "child_exited_tree", - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, { "name": "ready" }, + { + "name": "renamed" + }, { "name": "tree_entered" }, { "name": "tree_exiting" }, + { + "name": "tree_exited" + }, { "name": "child_entered_tree", "arguments": [ @@ -128747,7 +129389,13 @@ ] }, { - "name": "tree_exited" + "name": "child_exited_tree", + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] } ], "properties": [ @@ -131051,39 +131699,35 @@ ] }, { - "name": "SystemDir", + "name": "Weekday", "values": [ { - "name": "SYSTEM_DIR_DESKTOP", + "name": "DAY_SUNDAY", "value": 0 }, { - "name": "SYSTEM_DIR_DCIM", + "name": "DAY_MONDAY", "value": 1 }, { - "name": "SYSTEM_DIR_DOCUMENTS", + "name": "DAY_TUESDAY", "value": 2 }, { - "name": "SYSTEM_DIR_DOWNLOADS", + "name": "DAY_WEDNESDAY", "value": 3 }, { - "name": "SYSTEM_DIR_MOVIES", + "name": "DAY_THURSDAY", "value": 4 }, { - "name": "SYSTEM_DIR_MUSIC", + "name": "DAY_FRIDAY", "value": 5 }, { - "name": "SYSTEM_DIR_PICTURES", + "name": "DAY_SATURDAY", "value": 6 - }, - { - "name": "SYSTEM_DIR_RINGTONES", - "value": 7 } ] }, @@ -131141,35 +131785,39 @@ ] }, { - "name": "Weekday", + "name": "SystemDir", "values": [ { - "name": "DAY_SUNDAY", + "name": "SYSTEM_DIR_DESKTOP", "value": 0 }, { - "name": "DAY_MONDAY", + "name": "SYSTEM_DIR_DCIM", "value": 1 }, { - "name": "DAY_TUESDAY", + "name": "SYSTEM_DIR_DOCUMENTS", "value": 2 }, { - "name": "DAY_WEDNESDAY", + "name": "SYSTEM_DIR_DOWNLOADS", "value": 3 }, { - "name": "DAY_THURSDAY", + "name": "SYSTEM_DIR_MOVIES", "value": 4 }, { - "name": "DAY_FRIDAY", + "name": "SYSTEM_DIR_MUSIC", "value": 5 }, { - "name": "DAY_SATURDAY", + "name": "SYSTEM_DIR_PICTURES", "value": 6 + }, + { + "name": "SYSTEM_DIR_RINGTONES", + "value": 7 } ] } @@ -133118,779 +133766,6 @@ } ] }, - { - "name": "OpenXRAction", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "ActionType", - "values": [ - { - "name": "OPENXR_ACTION_BOOL", - "value": 0 - }, - { - "name": "OPENXR_ACTION_FLOAT", - "value": 1 - }, - { - "name": "OPENXR_ACTION_VECTOR2", - "value": 2 - }, - { - "name": "OPENXR_ACTION_POSE", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "set_localized_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "localized_name", - "type": "String" - } - ] - }, - { - "name": "get_localized_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "String" - } - }, - { - "name": "set_action_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "action_type", - "type": "enum::OpenXRAction.ActionType" - } - ] - }, - { - "name": "get_action_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "enum::OpenXRAction.ActionType" - } - }, - { - "name": "set_toplevel_paths", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "toplevel_paths", - "type": "PackedStringArray" - } - ] - }, - { - "name": "get_toplevel_paths", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "PackedStringArray" - } - } - ], - "properties": [ - { - "type": "String", - "name": "localized_name", - "setter": "set_localized_name", - "getter": "get_localized_name", - "index": -1 - }, - { - "type": "int", - "name": "action_type", - "setter": "set_action_type", - "getter": "get_action_type", - "index": -1 - }, - { - "type": "Array", - "name": "toplevel_paths", - "setter": "set_toplevel_paths", - "getter": "get_toplevel_paths", - "index": -1 - } - ] - }, - { - "name": "OpenXRActionMap", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_action_sets", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "action_sets", - "type": "Array" - } - ] - }, - { - "name": "get_action_sets", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "Array" - } - }, - { - "name": "get_action_set_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "find_action_set", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135374120, - "return_value": { - "type": "OpenXRActionSet" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_action_set", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135374120, - "return_value": { - "type": "OpenXRActionSet" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_action_set", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "action_set", - "type": "OpenXRActionSet" - } - ] - }, - { - "name": "remove_action_set", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "action_set", - "type": "OpenXRActionSet" - } - ] - }, - { - "name": "set_interaction_profiles", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "interaction_profiles", - "type": "Array" - } - ] - }, - { - "name": "get_interaction_profiles", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "Array" - } - }, - { - "name": "get_interaction_profile_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "find_interaction_profile", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135374120, - "return_value": { - "type": "OpenXRInteractionProfile" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_interaction_profile", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135374120, - "return_value": { - "type": "OpenXRInteractionProfile" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_interaction_profile", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "interaction_profile", - "type": "OpenXRInteractionProfile" - } - ] - }, - { - "name": "remove_interaction_profile", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "interaction_profile", - "type": "OpenXRInteractionProfile" - } - ] - }, - { - "name": "create_default_action_sets", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134152229 - } - ], - "properties": [ - { - "type": "OpenXRActionSet", - "name": "action_sets", - "setter": "set_action_sets", - "getter": "get_action_sets", - "index": -1 - }, - { - "type": "OpenXRInteractionProfile", - "name": "interaction_profiles", - "setter": "set_interaction_profiles", - "getter": "get_interaction_profiles", - "index": -1 - } - ] - }, - { - "name": "OpenXRActionSet", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_localized_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "localized_name", - "type": "String" - } - ] - }, - { - "name": "get_localized_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "String" - } - }, - { - "name": "set_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "priority", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_action_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_actions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "actions", - "type": "Array" - } - ] - }, - { - "name": "get_actions", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "Array" - } - }, - { - "name": "add_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "action", - "type": "OpenXRAction" - } - ] - }, - { - "name": "remove_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "action", - "type": "OpenXRAction" - } - ] - } - ], - "properties": [ - { - "type": "String", - "name": "localized_name", - "setter": "set_localized_name", - "getter": "get_localized_name", - "index": -1 - }, - { - "type": "int", - "name": "priority", - "setter": "set_priority", - "getter": "get_priority", - "index": -1 - }, - { - "type": "OpenXRAction", - "name": "actions", - "setter": "set_actions", - "getter": "get_actions", - "index": -1 - } - ] - }, - { - "name": "OpenXRIPBinding", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "action", - "type": "OpenXRAction" - } - ] - }, - { - "name": "get_action", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "OpenXRAction" - } - }, - { - "name": "get_path_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_paths", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "paths", - "type": "PackedStringArray" - } - ] - }, - { - "name": "get_paths", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "has_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135374120, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "arg0", - "type": "String" - } - ] - }, - { - "name": "add_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "remove_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - } - ], - "properties": [ - { - "type": "OpenXRAction", - "name": "action", - "setter": "set_action", - "getter": "get_action", - "index": -1 - }, - { - "type": "Array", - "name": "paths", - "setter": "set_paths", - "getter": "get_paths", - "index": -1 - } - ] - }, - { - "name": "OpenXRInteractionProfile", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_interaction_profile_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "interaction_profile_path", - "type": "String" - } - ] - }, - { - "name": "get_interaction_profile_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "String" - } - }, - { - "name": "get_binding_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_binding", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135374120, - "return_value": { - "type": "OpenXRIPBinding" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_bindings", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134188166, - "arguments": [ - { - "name": "bindings", - "type": "Array" - } - ] - }, - { - "name": "get_bindings", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 135338183, - "return_value": { - "type": "Array" - } - } - ], - "properties": [ - { - "type": "String", - "name": "interaction_profile_path", - "setter": "set_interaction_profile_path", - "getter": "get_interaction_profile_path", - "index": -1 - }, - { - "type": "OpenXRIPBinding", - "name": "bindings", - "setter": "set_bindings", - "getter": "get_bindings", - "index": -1 - } - ] - }, - { - "name": "OpenXRInterface", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "XRInterface", - "api_type": "core", - "signals": [ - { - "name": "session_begun" - }, - { - "name": "pose_recentered" - }, - { - "name": "session_focussed" - }, - { - "name": "session_stopping" - }, - { - "name": "session_visible" - } - ] - }, { "name": "OptimizedTranslation", "is_refcounted": true, @@ -134385,7 +134260,7 @@ ], "signals": [ { - "name": "item_focused", + "name": "item_selected", "arguments": [ { "name": "index", @@ -134394,7 +134269,7 @@ ] }, { - "name": "item_selected", + "name": "item_focused", "arguments": [ { "name": "index", @@ -135685,6 +135560,84 @@ "inherits": "Material", "api_type": "core", "enums": [ + { + "name": "Parameter", + "values": [ + { + "name": "PARAM_INITIAL_LINEAR_VELOCITY", + "value": 0 + }, + { + "name": "PARAM_ANGULAR_VELOCITY", + "value": 1 + }, + { + "name": "PARAM_ORBIT_VELOCITY", + "value": 2 + }, + { + "name": "PARAM_LINEAR_ACCEL", + "value": 3 + }, + { + "name": "PARAM_RADIAL_ACCEL", + "value": 4 + }, + { + "name": "PARAM_TANGENTIAL_ACCEL", + "value": 5 + }, + { + "name": "PARAM_DAMPING", + "value": 6 + }, + { + "name": "PARAM_ANGLE", + "value": 7 + }, + { + "name": "PARAM_SCALE", + "value": 8 + }, + { + "name": "PARAM_HUE_VARIATION", + "value": 9 + }, + { + "name": "PARAM_ANIM_SPEED", + "value": 10 + }, + { + "name": "PARAM_ANIM_OFFSET", + "value": 11 + }, + { + "name": "PARAM_MAX", + "value": 12 + } + ] + }, + { + "name": "ParticleFlags", + "values": [ + { + "name": "PARTICLE_FLAG_ALIGN_Y_TO_VELOCITY", + "value": 0 + }, + { + "name": "PARTICLE_FLAG_ROTATE_Y", + "value": 1 + }, + { + "name": "PARTICLE_FLAG_DISABLE_Z", + "value": 2 + }, + { + "name": "PARTICLE_FLAG_MAX", + "value": 3 + } + ] + }, { "name": "EmissionShape", "values": [ @@ -135746,84 +135699,6 @@ "value": 4 } ] - }, - { - "name": "ParticleFlags", - "values": [ - { - "name": "PARTICLE_FLAG_ALIGN_Y_TO_VELOCITY", - "value": 0 - }, - { - "name": "PARTICLE_FLAG_ROTATE_Y", - "value": 1 - }, - { - "name": "PARTICLE_FLAG_DISABLE_Z", - "value": 2 - }, - { - "name": "PARTICLE_FLAG_MAX", - "value": 3 - } - ] - }, - { - "name": "Parameter", - "values": [ - { - "name": "PARAM_INITIAL_LINEAR_VELOCITY", - "value": 0 - }, - { - "name": "PARAM_ANGULAR_VELOCITY", - "value": 1 - }, - { - "name": "PARAM_ORBIT_VELOCITY", - "value": 2 - }, - { - "name": "PARAM_LINEAR_ACCEL", - "value": 3 - }, - { - "name": "PARAM_RADIAL_ACCEL", - "value": 4 - }, - { - "name": "PARAM_TANGENTIAL_ACCEL", - "value": 5 - }, - { - "name": "PARAM_DAMPING", - "value": 6 - }, - { - "name": "PARAM_ANGLE", - "value": 7 - }, - { - "name": "PARAM_SCALE", - "value": 8 - }, - { - "name": "PARAM_HUE_VARIATION", - "value": 9 - }, - { - "name": "PARAM_ANIM_SPEED", - "value": 10 - }, - { - "name": "PARAM_ANIM_OFFSET", - "value": 11 - }, - { - "name": "PARAM_MAX", - "value": 12 - } - ] } ], "methods": [ @@ -138225,6 +138100,19 @@ "inherits": "PhysicsBody3D", "api_type": "core", "enums": [ + { + "name": "DampMode", + "values": [ + { + "name": "DAMP_MODE_COMBINE", + "value": 0 + }, + { + "name": "DAMP_MODE_REPLACE", + "value": 1 + } + ] + }, { "name": "JointType", "values": [ @@ -138253,19 +138141,6 @@ "value": 5 } ] - }, - { - "name": "DampMode", - "values": [ - { - "name": "DAMP_MODE_COMBINE", - "value": 0 - }, - { - "name": "DAMP_MODE_REPLACE", - "value": 1 - } - ] } ], "methods": [ @@ -139122,7 +138997,7 @@ } }, { - "name": "set_dither_strength", + "name": "set_use_debanding", "is_const": false, "is_vararg": false, "is_static": false, @@ -139130,22 +139005,20 @@ "hash": 134188166, "arguments": [ { - "name": "strength", - "type": "float", - "meta": "float" + "name": "use_debanding", + "type": "bool" } ] }, { - "name": "get_dither_strength", + "name": "get_use_debanding", "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, "hash": 135338183, "return_value": { - "type": "float", - "meta": "float" + "type": "bool" } }, { @@ -139239,10 +139112,10 @@ "index": -1 }, { - "type": "float", - "name": "dither_strength", - "setter": "set_dither_strength", - "getter": "get_dither_strength", + "type": "bool", + "name": "use_debanding", + "setter": "set_use_debanding", + "getter": "get_use_debanding", "index": -1 }, { @@ -143162,53 +143035,43 @@ "api_type": "core", "enums": [ { - "name": "ProcessInfo", + "name": "SpaceParameter", "values": [ { - "name": "INFO_ACTIVE_OBJECTS", + "name": "SPACE_PARAM_CONTACT_RECYCLE_RADIUS", "value": 0 }, { - "name": "INFO_COLLISION_PAIRS", + "name": "SPACE_PARAM_CONTACT_MAX_SEPARATION", "value": 1 }, { - "name": "INFO_ISLAND_COUNT", - "value": 2 - } - ] - }, - { - "name": "AreaBodyStatus", - "values": [ - { - "name": "AREA_BODY_ADDED", - "value": 0 - }, - { - "name": "AREA_BODY_REMOVED", - "value": 1 - } - ] - }, - { - "name": "BodyMode", - "values": [ - { - "name": "BODY_MODE_STATIC", - "value": 0 - }, - { - "name": "BODY_MODE_KINEMATIC", - "value": 1 - }, - { - "name": "BODY_MODE_DYNAMIC", + "name": "SPACE_PARAM_CONTACT_MAX_ALLOWED_PENETRATION", "value": 2 }, { - "name": "BODY_MODE_DYNAMIC_LINEAR", + "name": "SPACE_PARAM_CONTACT_DEFAULT_BIAS", "value": 3 + }, + { + "name": "SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_THRESHOLD", + "value": 4 + }, + { + "name": "SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_THRESHOLD", + "value": 5 + }, + { + "name": "SPACE_PARAM_BODY_TIME_TO_SLEEP", + "value": 6 + }, + { + "name": "SPACE_PARAM_CONSTRAINT_DEFAULT_BIAS", + "value": 7 + }, + { + "name": "SPACE_PARAM_SOLVER_ITERATIONS", + "value": 8 } ] }, @@ -143254,156 +143117,100 @@ ] }, { - "name": "JointParam", + "name": "AreaParameter", "values": [ { - "name": "JOINT_PARAM_BIAS", + "name": "AREA_PARAM_GRAVITY_OVERRIDE_MODE", "value": 0 }, { - "name": "JOINT_PARAM_MAX_BIAS", + "name": "AREA_PARAM_GRAVITY", "value": 1 }, { - "name": "JOINT_PARAM_MAX_FORCE", - "value": 2 - } - ] - }, - { - "name": "BodyDampMode", - "values": [ - { - "name": "BODY_DAMP_MODE_COMBINE", - "value": 0 - }, - { - "name": "BODY_DAMP_MODE_REPLACE", - "value": 1 - } - ] - }, - { - "name": "SpaceParameter", - "values": [ - { - "name": "SPACE_PARAM_CONTACT_RECYCLE_RADIUS", - "value": 0 - }, - { - "name": "SPACE_PARAM_CONTACT_MAX_SEPARATION", - "value": 1 - }, - { - "name": "SPACE_PARAM_CONTACT_MAX_ALLOWED_PENETRATION", + "name": "AREA_PARAM_GRAVITY_VECTOR", "value": 2 }, { - "name": "SPACE_PARAM_CONTACT_DEFAULT_BIAS", + "name": "AREA_PARAM_GRAVITY_IS_POINT", "value": 3 }, { - "name": "SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_THRESHOLD", + "name": "AREA_PARAM_GRAVITY_DISTANCE_SCALE", "value": 4 }, { - "name": "SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_THRESHOLD", + "name": "AREA_PARAM_GRAVITY_POINT_ATTENUATION", "value": 5 }, { - "name": "SPACE_PARAM_BODY_TIME_TO_SLEEP", + "name": "AREA_PARAM_LINEAR_DAMP_OVERRIDE_MODE", "value": 6 }, { - "name": "SPACE_PARAM_CONSTRAINT_DEFAULT_BIAS", + "name": "AREA_PARAM_LINEAR_DAMP", "value": 7 }, { - "name": "SPACE_PARAM_SOLVER_ITERATIONS", + "name": "AREA_PARAM_ANGULAR_DAMP_OVERRIDE_MODE", "value": 8 + }, + { + "name": "AREA_PARAM_ANGULAR_DAMP", + "value": 9 + }, + { + "name": "AREA_PARAM_PRIORITY", + "value": 10 } ] }, { - "name": "JointType", + "name": "AreaSpaceOverrideMode", "values": [ { - "name": "JOINT_TYPE_PIN", + "name": "AREA_SPACE_OVERRIDE_DISABLED", "value": 0 }, { - "name": "JOINT_TYPE_GROOVE", + "name": "AREA_SPACE_OVERRIDE_COMBINE", "value": 1 }, { - "name": "JOINT_TYPE_DAMPED_SPRING", + "name": "AREA_SPACE_OVERRIDE_COMBINE_REPLACE", "value": 2 }, { - "name": "JOINT_TYPE_MAX", - "value": 3 - } - ] - }, - { - "name": "CCDMode", - "values": [ - { - "name": "CCD_MODE_DISABLED", - "value": 0 - }, - { - "name": "CCD_MODE_CAST_RAY", - "value": 1 - }, - { - "name": "CCD_MODE_CAST_SHAPE", - "value": 2 - } - ] - }, - { - "name": "DampedSpringParam", - "values": [ - { - "name": "DAMPED_SPRING_REST_LENGTH", - "value": 0 - }, - { - "name": "DAMPED_SPRING_STIFFNESS", - "value": 1 - }, - { - "name": "DAMPED_SPRING_DAMPING", - "value": 2 - } - ] - }, - { - "name": "BodyState", - "values": [ - { - "name": "BODY_STATE_TRANSFORM", - "value": 0 - }, - { - "name": "BODY_STATE_LINEAR_VELOCITY", - "value": 1 - }, - { - "name": "BODY_STATE_ANGULAR_VELOCITY", - "value": 2 - }, - { - "name": "BODY_STATE_SLEEPING", + "name": "AREA_SPACE_OVERRIDE_REPLACE", "value": 3 }, { - "name": "BODY_STATE_CAN_SLEEP", + "name": "AREA_SPACE_OVERRIDE_REPLACE_COMBINE", "value": 4 } ] }, + { + "name": "BodyMode", + "values": [ + { + "name": "BODY_MODE_STATIC", + "value": 0 + }, + { + "name": "BODY_MODE_KINEMATIC", + "value": 1 + }, + { + "name": "BODY_MODE_DYNAMIC", + "value": 2 + }, + { + "name": "BODY_MODE_DYNAMIC_LINEAR", + "value": 3 + } + ] + }, { "name": "BodyParameter", "values": [ @@ -143454,76 +143261,142 @@ ] }, { - "name": "AreaSpaceOverrideMode", + "name": "BodyDampMode", "values": [ { - "name": "AREA_SPACE_OVERRIDE_DISABLED", + "name": "BODY_DAMP_MODE_COMBINE", "value": 0 }, { - "name": "AREA_SPACE_OVERRIDE_COMBINE", + "name": "BODY_DAMP_MODE_REPLACE", + "value": 1 + } + ] + }, + { + "name": "BodyState", + "values": [ + { + "name": "BODY_STATE_TRANSFORM", + "value": 0 + }, + { + "name": "BODY_STATE_LINEAR_VELOCITY", "value": 1 }, { - "name": "AREA_SPACE_OVERRIDE_COMBINE_REPLACE", + "name": "BODY_STATE_ANGULAR_VELOCITY", "value": 2 }, { - "name": "AREA_SPACE_OVERRIDE_REPLACE", + "name": "BODY_STATE_SLEEPING", "value": 3 }, { - "name": "AREA_SPACE_OVERRIDE_REPLACE_COMBINE", + "name": "BODY_STATE_CAN_SLEEP", "value": 4 } ] }, { - "name": "AreaParameter", + "name": "JointType", "values": [ { - "name": "AREA_PARAM_GRAVITY_OVERRIDE_MODE", + "name": "JOINT_TYPE_PIN", "value": 0 }, { - "name": "AREA_PARAM_GRAVITY", + "name": "JOINT_TYPE_GROOVE", "value": 1 }, { - "name": "AREA_PARAM_GRAVITY_VECTOR", + "name": "JOINT_TYPE_DAMPED_SPRING", "value": 2 }, { - "name": "AREA_PARAM_GRAVITY_IS_POINT", + "name": "JOINT_TYPE_MAX", "value": 3 + } + ] + }, + { + "name": "JointParam", + "values": [ + { + "name": "JOINT_PARAM_BIAS", + "value": 0 }, { - "name": "AREA_PARAM_GRAVITY_DISTANCE_SCALE", - "value": 4 + "name": "JOINT_PARAM_MAX_BIAS", + "value": 1 }, { - "name": "AREA_PARAM_GRAVITY_POINT_ATTENUATION", - "value": 5 + "name": "JOINT_PARAM_MAX_FORCE", + "value": 2 + } + ] + }, + { + "name": "DampedSpringParam", + "values": [ + { + "name": "DAMPED_SPRING_REST_LENGTH", + "value": 0 }, { - "name": "AREA_PARAM_LINEAR_DAMP_OVERRIDE_MODE", - "value": 6 + "name": "DAMPED_SPRING_STIFFNESS", + "value": 1 }, { - "name": "AREA_PARAM_LINEAR_DAMP", - "value": 7 + "name": "DAMPED_SPRING_DAMPING", + "value": 2 + } + ] + }, + { + "name": "CCDMode", + "values": [ + { + "name": "CCD_MODE_DISABLED", + "value": 0 }, { - "name": "AREA_PARAM_ANGULAR_DAMP_OVERRIDE_MODE", - "value": 8 + "name": "CCD_MODE_CAST_RAY", + "value": 1 }, { - "name": "AREA_PARAM_ANGULAR_DAMP", - "value": 9 + "name": "CCD_MODE_CAST_SHAPE", + "value": 2 + } + ] + }, + { + "name": "AreaBodyStatus", + "values": [ + { + "name": "AREA_BODY_ADDED", + "value": 0 }, { - "name": "AREA_PARAM_PRIORITY", - "value": 10 + "name": "AREA_BODY_REMOVED", + "value": 1 + } + ] + }, + { + "name": "ProcessInfo", + "values": [ + { + "name": "INFO_ACTIVE_OBJECTS", + "value": 0 + }, + { + "name": "INFO_COLLISION_PAIRS", + "value": 1 + }, + { + "name": "INFO_ISLAND_COUNT", + "value": 2 } ] } @@ -145568,227 +145441,6 @@ "inherits": "Object", "api_type": "core", "enums": [ - { - "name": "BodyAxis", - "values": [ - { - "name": "BODY_AXIS_LINEAR_X", - "value": 1 - }, - { - "name": "BODY_AXIS_LINEAR_Y", - "value": 2 - }, - { - "name": "BODY_AXIS_LINEAR_Z", - "value": 4 - }, - { - "name": "BODY_AXIS_ANGULAR_X", - "value": 8 - }, - { - "name": "BODY_AXIS_ANGULAR_Y", - "value": 16 - }, - { - "name": "BODY_AXIS_ANGULAR_Z", - "value": 32 - } - ] - }, - { - "name": "ProcessInfo", - "values": [ - { - "name": "INFO_ACTIVE_OBJECTS", - "value": 0 - }, - { - "name": "INFO_COLLISION_PAIRS", - "value": 1 - }, - { - "name": "INFO_ISLAND_COUNT", - "value": 2 - } - ] - }, - { - "name": "AreaBodyStatus", - "values": [ - { - "name": "AREA_BODY_ADDED", - "value": 0 - }, - { - "name": "AREA_BODY_REMOVED", - "value": 1 - } - ] - }, - { - "name": "BodyMode", - "values": [ - { - "name": "BODY_MODE_STATIC", - "value": 0 - }, - { - "name": "BODY_MODE_KINEMATIC", - "value": 1 - }, - { - "name": "BODY_MODE_DYNAMIC", - "value": 2 - }, - { - "name": "BODY_MODE_DYNAMIC_LINEAR", - "value": 3 - } - ] - }, - { - "name": "ShapeType", - "values": [ - { - "name": "SHAPE_WORLD_BOUNDARY", - "value": 0 - }, - { - "name": "SHAPE_SEPARATION_RAY", - "value": 1 - }, - { - "name": "SHAPE_SPHERE", - "value": 2 - }, - { - "name": "SHAPE_BOX", - "value": 3 - }, - { - "name": "SHAPE_CAPSULE", - "value": 4 - }, - { - "name": "SHAPE_CYLINDER", - "value": 5 - }, - { - "name": "SHAPE_CONVEX_POLYGON", - "value": 6 - }, - { - "name": "SHAPE_CONCAVE_POLYGON", - "value": 7 - }, - { - "name": "SHAPE_HEIGHTMAP", - "value": 8 - }, - { - "name": "SHAPE_SOFT_BODY", - "value": 9 - }, - { - "name": "SHAPE_CUSTOM", - "value": 10 - } - ] - }, - { - "name": "PinJointParam", - "values": [ - { - "name": "PIN_JOINT_BIAS", - "value": 0 - }, - { - "name": "PIN_JOINT_DAMPING", - "value": 1 - }, - { - "name": "PIN_JOINT_IMPULSE_CLAMP", - "value": 2 - } - ] - }, - { - "name": "SpaceParameter", - "values": [ - { - "name": "SPACE_PARAM_CONTACT_RECYCLE_RADIUS", - "value": 0 - }, - { - "name": "SPACE_PARAM_CONTACT_MAX_SEPARATION", - "value": 1 - }, - { - "name": "SPACE_PARAM_CONTACT_MAX_ALLOWED_PENETRATION", - "value": 2 - }, - { - "name": "SPACE_PARAM_CONTACT_DEFAULT_BIAS", - "value": 3 - }, - { - "name": "SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_THRESHOLD", - "value": 4 - }, - { - "name": "SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_THRESHOLD", - "value": 5 - }, - { - "name": "SPACE_PARAM_BODY_TIME_TO_SLEEP", - "value": 6 - }, - { - "name": "SPACE_PARAM_SOLVER_ITERATIONS", - "value": 7 - } - ] - }, - { - "name": "BodyDampMode", - "values": [ - { - "name": "BODY_DAMP_MODE_COMBINE", - "value": 0 - }, - { - "name": "BODY_DAMP_MODE_REPLACE", - "value": 1 - } - ] - }, - { - "name": "ConeTwistJointParam", - "values": [ - { - "name": "CONE_TWIST_JOINT_SWING_SPAN", - "value": 0 - }, - { - "name": "CONE_TWIST_JOINT_TWIST_SPAN", - "value": 1 - }, - { - "name": "CONE_TWIST_JOINT_BIAS", - "value": 2 - }, - { - "name": "CONE_TWIST_JOINT_SOFTNESS", - "value": 3 - }, - { - "name": "CONE_TWIST_JOINT_RELAXATION", - "value": 4 - } - ] - }, { "name": "JointType", "values": [ @@ -145819,145 +145471,69 @@ ] }, { - "name": "BodyState", + "name": "PinJointParam", "values": [ { - "name": "BODY_STATE_TRANSFORM", + "name": "PIN_JOINT_BIAS", "value": 0 }, { - "name": "BODY_STATE_LINEAR_VELOCITY", + "name": "PIN_JOINT_DAMPING", "value": 1 }, { - "name": "BODY_STATE_ANGULAR_VELOCITY", + "name": "PIN_JOINT_IMPULSE_CLAMP", "value": 2 - }, - { - "name": "BODY_STATE_SLEEPING", - "value": 3 - }, - { - "name": "BODY_STATE_CAN_SLEEP", - "value": 4 } ] }, { - "name": "BodyParameter", + "name": "HingeJointParam", "values": [ { - "name": "BODY_PARAM_BOUNCE", + "name": "HINGE_JOINT_BIAS", "value": 0 }, { - "name": "BODY_PARAM_FRICTION", + "name": "HINGE_JOINT_LIMIT_UPPER", "value": 1 }, { - "name": "BODY_PARAM_MASS", + "name": "HINGE_JOINT_LIMIT_LOWER", "value": 2 }, { - "name": "BODY_PARAM_INERTIA", + "name": "HINGE_JOINT_LIMIT_BIAS", "value": 3 }, { - "name": "BODY_PARAM_CENTER_OF_MASS", + "name": "HINGE_JOINT_LIMIT_SOFTNESS", "value": 4 }, { - "name": "BODY_PARAM_GRAVITY_SCALE", + "name": "HINGE_JOINT_LIMIT_RELAXATION", "value": 5 }, { - "name": "BODY_PARAM_LINEAR_DAMP_MODE", + "name": "HINGE_JOINT_MOTOR_TARGET_VELOCITY", "value": 6 }, { - "name": "BODY_PARAM_ANGULAR_DAMP_MODE", + "name": "HINGE_JOINT_MOTOR_MAX_IMPULSE", "value": 7 - }, - { - "name": "BODY_PARAM_LINEAR_DAMP", - "value": 8 - }, - { - "name": "BODY_PARAM_ANGULAR_DAMP", - "value": 9 - }, - { - "name": "BODY_PARAM_MAX", - "value": 10 } ] }, { - "name": "G6DOFJointAxisParam", + "name": "HingeJointFlag", "values": [ { - "name": "G6DOF_JOINT_LINEAR_LOWER_LIMIT", + "name": "HINGE_JOINT_FLAG_USE_LIMIT", "value": 0 }, { - "name": "G6DOF_JOINT_LINEAR_UPPER_LIMIT", + "name": "HINGE_JOINT_FLAG_ENABLE_MOTOR", "value": 1 - }, - { - "name": "G6DOF_JOINT_LINEAR_LIMIT_SOFTNESS", - "value": 2 - }, - { - "name": "G6DOF_JOINT_LINEAR_RESTITUTION", - "value": 3 - }, - { - "name": "G6DOF_JOINT_LINEAR_DAMPING", - "value": 4 - }, - { - "name": "G6DOF_JOINT_LINEAR_MOTOR_TARGET_VELOCITY", - "value": 5 - }, - { - "name": "G6DOF_JOINT_LINEAR_MOTOR_FORCE_LIMIT", - "value": 6 - }, - { - "name": "G6DOF_JOINT_ANGULAR_LOWER_LIMIT", - "value": 10 - }, - { - "name": "G6DOF_JOINT_ANGULAR_UPPER_LIMIT", - "value": 11 - }, - { - "name": "G6DOF_JOINT_ANGULAR_LIMIT_SOFTNESS", - "value": 12 - }, - { - "name": "G6DOF_JOINT_ANGULAR_DAMPING", - "value": 13 - }, - { - "name": "G6DOF_JOINT_ANGULAR_RESTITUTION", - "value": 14 - }, - { - "name": "G6DOF_JOINT_ANGULAR_FORCE_LIMIT", - "value": 15 - }, - { - "name": "G6DOF_JOINT_ANGULAR_ERP", - "value": 16 - }, - { - "name": "G6DOF_JOINT_ANGULAR_MOTOR_TARGET_VELOCITY", - "value": 17 - }, - { - "name": "G6DOF_JOINT_ANGULAR_MOTOR_FORCE_LIMIT", - "value": 18 } ] }, @@ -146059,39 +145635,96 @@ ] }, { - "name": "HingeJointParam", + "name": "ConeTwistJointParam", "values": [ { - "name": "HINGE_JOINT_BIAS", + "name": "CONE_TWIST_JOINT_SWING_SPAN", "value": 0 }, { - "name": "HINGE_JOINT_LIMIT_UPPER", + "name": "CONE_TWIST_JOINT_TWIST_SPAN", "value": 1 }, { - "name": "HINGE_JOINT_LIMIT_LOWER", + "name": "CONE_TWIST_JOINT_BIAS", "value": 2 }, { - "name": "HINGE_JOINT_LIMIT_BIAS", + "name": "CONE_TWIST_JOINT_SOFTNESS", "value": 3 }, { - "name": "HINGE_JOINT_LIMIT_SOFTNESS", + "name": "CONE_TWIST_JOINT_RELAXATION", + "value": 4 + } + ] + }, + { + "name": "G6DOFJointAxisParam", + "values": [ + { + "name": "G6DOF_JOINT_LINEAR_LOWER_LIMIT", + "value": 0 + }, + { + "name": "G6DOF_JOINT_LINEAR_UPPER_LIMIT", + "value": 1 + }, + { + "name": "G6DOF_JOINT_LINEAR_LIMIT_SOFTNESS", + "value": 2 + }, + { + "name": "G6DOF_JOINT_LINEAR_RESTITUTION", + "value": 3 + }, + { + "name": "G6DOF_JOINT_LINEAR_DAMPING", "value": 4 }, { - "name": "HINGE_JOINT_LIMIT_RELAXATION", + "name": "G6DOF_JOINT_LINEAR_MOTOR_TARGET_VELOCITY", "value": 5 }, { - "name": "HINGE_JOINT_MOTOR_TARGET_VELOCITY", + "name": "G6DOF_JOINT_LINEAR_MOTOR_FORCE_LIMIT", "value": 6 }, { - "name": "HINGE_JOINT_MOTOR_MAX_IMPULSE", - "value": 7 + "name": "G6DOF_JOINT_ANGULAR_LOWER_LIMIT", + "value": 10 + }, + { + "name": "G6DOF_JOINT_ANGULAR_UPPER_LIMIT", + "value": 11 + }, + { + "name": "G6DOF_JOINT_ANGULAR_LIMIT_SOFTNESS", + "value": 12 + }, + { + "name": "G6DOF_JOINT_ANGULAR_DAMPING", + "value": 13 + }, + { + "name": "G6DOF_JOINT_ANGULAR_RESTITUTION", + "value": 14 + }, + { + "name": "G6DOF_JOINT_ANGULAR_FORCE_LIMIT", + "value": 15 + }, + { + "name": "G6DOF_JOINT_ANGULAR_ERP", + "value": 16 + }, + { + "name": "G6DOF_JOINT_ANGULAR_MOTOR_TARGET_VELOCITY", + "value": 17 + }, + { + "name": "G6DOF_JOINT_ANGULAR_MOTOR_FORCE_LIMIT", + "value": 18 } ] }, @@ -146117,40 +145750,51 @@ ] }, { - "name": "HingeJointFlag", + "name": "ShapeType", "values": [ { - "name": "HINGE_JOINT_FLAG_USE_LIMIT", + "name": "SHAPE_WORLD_BOUNDARY", "value": 0 }, { - "name": "HINGE_JOINT_FLAG_ENABLE_MOTOR", - "value": 1 - } - ] - }, - { - "name": "AreaSpaceOverrideMode", - "values": [ - { - "name": "AREA_SPACE_OVERRIDE_DISABLED", - "value": 0 - }, - { - "name": "AREA_SPACE_OVERRIDE_COMBINE", + "name": "SHAPE_SEPARATION_RAY", "value": 1 }, { - "name": "AREA_SPACE_OVERRIDE_COMBINE_REPLACE", + "name": "SHAPE_SPHERE", "value": 2 }, { - "name": "AREA_SPACE_OVERRIDE_REPLACE", + "name": "SHAPE_BOX", "value": 3 }, { - "name": "AREA_SPACE_OVERRIDE_REPLACE_COMBINE", + "name": "SHAPE_CAPSULE", "value": 4 + }, + { + "name": "SHAPE_CYLINDER", + "value": 5 + }, + { + "name": "SHAPE_CONVEX_POLYGON", + "value": 6 + }, + { + "name": "SHAPE_CONCAVE_POLYGON", + "value": 7 + }, + { + "name": "SHAPE_HEIGHTMAP", + "value": 8 + }, + { + "name": "SHAPE_SOFT_BODY", + "value": 9 + }, + { + "name": "SHAPE_CUSTOM", + "value": 10 } ] }, @@ -146218,6 +145862,235 @@ "value": 14 } ] + }, + { + "name": "AreaSpaceOverrideMode", + "values": [ + { + "name": "AREA_SPACE_OVERRIDE_DISABLED", + "value": 0 + }, + { + "name": "AREA_SPACE_OVERRIDE_COMBINE", + "value": 1 + }, + { + "name": "AREA_SPACE_OVERRIDE_COMBINE_REPLACE", + "value": 2 + }, + { + "name": "AREA_SPACE_OVERRIDE_REPLACE", + "value": 3 + }, + { + "name": "AREA_SPACE_OVERRIDE_REPLACE_COMBINE", + "value": 4 + } + ] + }, + { + "name": "BodyMode", + "values": [ + { + "name": "BODY_MODE_STATIC", + "value": 0 + }, + { + "name": "BODY_MODE_KINEMATIC", + "value": 1 + }, + { + "name": "BODY_MODE_DYNAMIC", + "value": 2 + }, + { + "name": "BODY_MODE_DYNAMIC_LINEAR", + "value": 3 + } + ] + }, + { + "name": "BodyParameter", + "values": [ + { + "name": "BODY_PARAM_BOUNCE", + "value": 0 + }, + { + "name": "BODY_PARAM_FRICTION", + "value": 1 + }, + { + "name": "BODY_PARAM_MASS", + "value": 2 + }, + { + "name": "BODY_PARAM_INERTIA", + "value": 3 + }, + { + "name": "BODY_PARAM_CENTER_OF_MASS", + "value": 4 + }, + { + "name": "BODY_PARAM_GRAVITY_SCALE", + "value": 5 + }, + { + "name": "BODY_PARAM_LINEAR_DAMP_MODE", + "value": 6 + }, + { + "name": "BODY_PARAM_ANGULAR_DAMP_MODE", + "value": 7 + }, + { + "name": "BODY_PARAM_LINEAR_DAMP", + "value": 8 + }, + { + "name": "BODY_PARAM_ANGULAR_DAMP", + "value": 9 + }, + { + "name": "BODY_PARAM_MAX", + "value": 10 + } + ] + }, + { + "name": "BodyDampMode", + "values": [ + { + "name": "BODY_DAMP_MODE_COMBINE", + "value": 0 + }, + { + "name": "BODY_DAMP_MODE_REPLACE", + "value": 1 + } + ] + }, + { + "name": "BodyState", + "values": [ + { + "name": "BODY_STATE_TRANSFORM", + "value": 0 + }, + { + "name": "BODY_STATE_LINEAR_VELOCITY", + "value": 1 + }, + { + "name": "BODY_STATE_ANGULAR_VELOCITY", + "value": 2 + }, + { + "name": "BODY_STATE_SLEEPING", + "value": 3 + }, + { + "name": "BODY_STATE_CAN_SLEEP", + "value": 4 + } + ] + }, + { + "name": "AreaBodyStatus", + "values": [ + { + "name": "AREA_BODY_ADDED", + "value": 0 + }, + { + "name": "AREA_BODY_REMOVED", + "value": 1 + } + ] + }, + { + "name": "ProcessInfo", + "values": [ + { + "name": "INFO_ACTIVE_OBJECTS", + "value": 0 + }, + { + "name": "INFO_COLLISION_PAIRS", + "value": 1 + }, + { + "name": "INFO_ISLAND_COUNT", + "value": 2 + } + ] + }, + { + "name": "SpaceParameter", + "values": [ + { + "name": "SPACE_PARAM_CONTACT_RECYCLE_RADIUS", + "value": 0 + }, + { + "name": "SPACE_PARAM_CONTACT_MAX_SEPARATION", + "value": 1 + }, + { + "name": "SPACE_PARAM_CONTACT_MAX_ALLOWED_PENETRATION", + "value": 2 + }, + { + "name": "SPACE_PARAM_CONTACT_DEFAULT_BIAS", + "value": 3 + }, + { + "name": "SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_THRESHOLD", + "value": 4 + }, + { + "name": "SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_THRESHOLD", + "value": 5 + }, + { + "name": "SPACE_PARAM_BODY_TIME_TO_SLEEP", + "value": 6 + }, + { + "name": "SPACE_PARAM_SOLVER_ITERATIONS", + "value": 7 + } + ] + }, + { + "name": "BodyAxis", + "values": [ + { + "name": "BODY_AXIS_LINEAR_X", + "value": 1 + }, + { + "name": "BODY_AXIS_LINEAR_Y", + "value": 2 + }, + { + "name": "BODY_AXIS_LINEAR_Z", + "value": 4 + }, + { + "name": "BODY_AXIS_ANGULAR_X", + "value": 8 + }, + { + "name": "BODY_AXIS_ANGULAR_Y", + "value": 16 + }, + { + "name": "BODY_AXIS_ANGULAR_Z", + "value": 32 + } + ] } ], "methods": [ @@ -151772,6 +151645,31 @@ "type": "Array" } ] + }, + { + "name": "is_recovery_as_collision_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_recovery_as_collision_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] } ], "properties": [ @@ -151816,6 +151714,13 @@ "setter": "set_exclude_objects", "getter": "get_exclude_objects", "index": -1 + }, + { + "type": "bool", + "name": "recovery_as_collision", + "setter": "set_recovery_as_collision_enabled", + "getter": "is_recovery_as_collision_enabled", + "index": -1 } ] }, @@ -152004,6 +151909,31 @@ "type": "Array" } ] + }, + { + "name": "is_recovery_as_collision_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_recovery_as_collision_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enabled", + "type": "bool" + } + ] } ], "properties": [ @@ -152055,6 +151985,13 @@ "setter": "set_exclude_objects", "getter": "get_exclude_objects", "index": -1 + }, + { + "type": "bool", + "name": "recovery_as_collision", + "setter": "set_recovery_as_collision_enabled", + "getter": "is_recovery_as_collision_enabled", + "index": -1 } ] }, @@ -155269,10 +155206,10 @@ ], "signals": [ { - "name": "index_pressed", + "name": "id_pressed", "arguments": [ { - "name": "index", + "name": "id", "type": "int" } ] @@ -155287,10 +155224,10 @@ ] }, { - "name": "id_pressed", + "name": "index_pressed", "arguments": [ { - "name": "id", + "name": "index", "type": "int" } ] @@ -156209,7 +156146,7 @@ } }, { - "name": "set_dither_strength", + "name": "set_use_debanding", "is_const": false, "is_vararg": false, "is_static": false, @@ -156217,22 +156154,20 @@ "hash": 134188166, "arguments": [ { - "name": "strength", - "type": "float", - "meta": "float" + "name": "use_debanding", + "type": "bool" } ] }, { - "name": "get_dither_strength", + "name": "get_use_debanding", "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, "hash": 135338183, "return_value": { - "type": "float", - "meta": "float" + "type": "bool" } } ], @@ -156322,10 +156257,10 @@ "index": -1 }, { - "type": "float", - "name": "dither_strength", - "setter": "set_dither_strength", - "getter": "get_dither_strength", + "type": "bool", + "name": "use_debanding", + "setter": "set_use_debanding", + "getter": "get_use_debanding", "index": -1 } ] @@ -162410,6 +162345,19 @@ "inherits": "VisualInstance3D", "api_type": "core", "enums": [ + { + "name": "UpdateMode", + "values": [ + { + "name": "UPDATE_ONCE", + "value": 0 + }, + { + "name": "UPDATE_ALWAYS", + "value": 1 + } + ] + }, { "name": "AmbientMode", "values": [ @@ -162426,19 +162374,6 @@ "value": 2 } ] - }, - { - "name": "UpdateMode", - "values": [ - { - "name": "UPDATE_ONCE", - "value": 0 - }, - { - "name": "UPDATE_ALWAYS", - "value": 1 - } - ] } ], "methods": [ @@ -163576,230 +163511,88 @@ ], "enums": [ { - "name": "MemoryType", + "name": "DeviceType", "values": [ { - "name": "MEMORY_TEXTURES", + "name": "DEVICE_TYPE_OTHER", "value": 0 }, { - "name": "MEMORY_BUFFERS", + "name": "DEVICE_TYPE_INTEGRATED_GPU", "value": 1 }, { - "name": "MEMORY_TOTAL", - "value": 2 - } - ] - }, - { - "name": "ShaderLanguage", - "values": [ - { - "name": "SHADER_LANGUAGE_GLSL", - "value": 0 - }, - { - "name": "SHADER_LANGUAGE_HLSL", - "value": 1 - } - ] - }, - { - "name": "ShaderStage", - "values": [ - { - "name": "SHADER_STAGE_VERTEX", - "value": 0 - }, - { - "name": "SHADER_STAGE_FRAGMENT", - "value": 1 - }, - { - "name": "SHADER_STAGE_TESSELATION_CONTROL", + "name": "DEVICE_TYPE_DISCRETE_GPU", "value": 2 }, { - "name": "SHADER_STAGE_TESSELATION_EVALUATION", + "name": "DEVICE_TYPE_VIRTUAL_GPU", "value": 3 }, { - "name": "SHADER_STAGE_COMPUTE", + "name": "DEVICE_TYPE_CPU", "value": 4 }, { - "name": "SHADER_STAGE_MAX", + "name": "DEVICE_TYPE_MAX", "value": 5 - }, - { - "name": "SHADER_STAGE_VERTEX_BIT", - "value": 1 - }, - { - "name": "SHADER_STAGE_FRAGMENT_BIT", - "value": 2 - }, - { - "name": "SHADER_STAGE_TESSELATION_CONTROL_BIT", - "value": 4 - }, - { - "name": "SHADER_STAGE_TESSELATION_EVALUATION_BIT", - "value": 8 - }, - { - "name": "SHADER_STAGE_COMPUTE_BIT", - "value": 16 } ] }, { - "name": "CompareOperator", + "name": "DriverResource", "values": [ { - "name": "COMPARE_OP_NEVER", + "name": "DRIVER_RESOURCE_VULKAN_DEVICE", "value": 0 }, { - "name": "COMPARE_OP_LESS", + "name": "DRIVER_RESOURCE_VULKAN_PHYSICAL_DEVICE", "value": 1 }, { - "name": "COMPARE_OP_EQUAL", + "name": "DRIVER_RESOURCE_VULKAN_INSTANCE", "value": 2 }, { - "name": "COMPARE_OP_LESS_OR_EQUAL", + "name": "DRIVER_RESOURCE_VULKAN_QUEUE", "value": 3 }, { - "name": "COMPARE_OP_GREATER", + "name": "DRIVER_RESOURCE_VULKAN_QUEUE_FAMILY_INDEX", "value": 4 }, { - "name": "COMPARE_OP_NOT_EQUAL", + "name": "DRIVER_RESOURCE_VULKAN_IMAGE", "value": 5 }, { - "name": "COMPARE_OP_GREATER_OR_EQUAL", + "name": "DRIVER_RESOURCE_VULKAN_IMAGE_VIEW", "value": 6 }, { - "name": "COMPARE_OP_ALWAYS", + "name": "DRIVER_RESOURCE_VULKAN_IMAGE_NATIVE_TEXTURE_FORMAT", "value": 7 }, { - "name": "COMPARE_OP_MAX", + "name": "DRIVER_RESOURCE_VULKAN_SAMPLER", "value": 8 - } - ] - }, - { - "name": "StencilOperation", - "values": [ - { - "name": "STENCIL_OP_KEEP", - "value": 0 }, { - "name": "STENCIL_OP_ZERO", - "value": 1 + "name": "DRIVER_RESOURCE_VULKAN_DESCRIPTOR_SET", + "value": 9 }, { - "name": "STENCIL_OP_REPLACE", - "value": 2 + "name": "DRIVER_RESOURCE_VULKAN_BUFFER", + "value": 10 }, { - "name": "STENCIL_OP_INCREMENT_AND_CLAMP", - "value": 3 + "name": "DRIVER_RESOURCE_VULKAN_COMPUTE_PIPELINE", + "value": 11 }, { - "name": "STENCIL_OP_DECREMENT_AND_CLAMP", - "value": 4 - }, - { - "name": "STENCIL_OP_INVERT", - "value": 5 - }, - { - "name": "STENCIL_OP_INCREMENT_AND_WRAP", - "value": 6 - }, - { - "name": "STENCIL_OP_DECREMENT_AND_WRAP", - "value": 7 - }, - { - "name": "STENCIL_OP_MAX", - "value": 8 - } - ] - }, - { - "name": "IndexBufferFormat", - "values": [ - { - "name": "INDEX_BUFFER_FORMAT_UINT16", - "value": 0 - }, - { - "name": "INDEX_BUFFER_FORMAT_UINT32", - "value": 1 - } - ] - }, - { - "name": "TextureSliceType", - "values": [ - { - "name": "TEXTURE_SLICE_2D", - "value": 0 - }, - { - "name": "TEXTURE_SLICE_CUBEMAP", - "value": 1 - }, - { - "name": "TEXTURE_SLICE_3D", - "value": 2 - } - ] - }, - { - "name": "TextureType", - "values": [ - { - "name": "TEXTURE_TYPE_1D", - "value": 0 - }, - { - "name": "TEXTURE_TYPE_2D", - "value": 1 - }, - { - "name": "TEXTURE_TYPE_3D", - "value": 2 - }, - { - "name": "TEXTURE_TYPE_CUBE", - "value": 3 - }, - { - "name": "TEXTURE_TYPE_1D_ARRAY", - "value": 4 - }, - { - "name": "TEXTURE_TYPE_2D_ARRAY", - "value": 5 - }, - { - "name": "TEXTURE_TYPE_CUBE_ARRAY", - "value": 6 - }, - { - "name": "TEXTURE_TYPE_MAX", - "value": 7 + "name": "DRIVER_RESOURCE_VULKAN_RENDER_PIPELINE", + "value": 12 } ] }, @@ -164684,6 +164477,576 @@ } ] }, + { + "name": "TextureType", + "values": [ + { + "name": "TEXTURE_TYPE_1D", + "value": 0 + }, + { + "name": "TEXTURE_TYPE_2D", + "value": 1 + }, + { + "name": "TEXTURE_TYPE_3D", + "value": 2 + }, + { + "name": "TEXTURE_TYPE_CUBE", + "value": 3 + }, + { + "name": "TEXTURE_TYPE_1D_ARRAY", + "value": 4 + }, + { + "name": "TEXTURE_TYPE_2D_ARRAY", + "value": 5 + }, + { + "name": "TEXTURE_TYPE_CUBE_ARRAY", + "value": 6 + }, + { + "name": "TEXTURE_TYPE_MAX", + "value": 7 + } + ] + }, + { + "name": "TextureSamples", + "values": [ + { + "name": "TEXTURE_SAMPLES_1", + "value": 0 + }, + { + "name": "TEXTURE_SAMPLES_2", + "value": 1 + }, + { + "name": "TEXTURE_SAMPLES_4", + "value": 2 + }, + { + "name": "TEXTURE_SAMPLES_8", + "value": 3 + }, + { + "name": "TEXTURE_SAMPLES_16", + "value": 4 + }, + { + "name": "TEXTURE_SAMPLES_32", + "value": 5 + }, + { + "name": "TEXTURE_SAMPLES_64", + "value": 6 + }, + { + "name": "TEXTURE_SAMPLES_MAX", + "value": 7 + } + ] + }, + { + "name": "TextureUsageBits", + "values": [ + { + "name": "TEXTURE_USAGE_SAMPLING_BIT", + "value": 1 + }, + { + "name": "TEXTURE_USAGE_COLOR_ATTACHMENT_BIT", + "value": 2 + }, + { + "name": "TEXTURE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT", + "value": 4 + }, + { + "name": "TEXTURE_USAGE_STORAGE_BIT", + "value": 8 + }, + { + "name": "TEXTURE_USAGE_STORAGE_ATOMIC_BIT", + "value": 16 + }, + { + "name": "TEXTURE_USAGE_CPU_READ_BIT", + "value": 32 + }, + { + "name": "TEXTURE_USAGE_CAN_UPDATE_BIT", + "value": 64 + }, + { + "name": "TEXTURE_USAGE_CAN_COPY_FROM_BIT", + "value": 128 + }, + { + "name": "TEXTURE_USAGE_CAN_COPY_TO_BIT", + "value": 256 + }, + { + "name": "TEXTURE_USAGE_INPUT_ATTACHMENT_BIT", + "value": 512 + } + ] + }, + { + "name": "TextureSwizzle", + "values": [ + { + "name": "TEXTURE_SWIZZLE_IDENTITY", + "value": 0 + }, + { + "name": "TEXTURE_SWIZZLE_ZERO", + "value": 1 + }, + { + "name": "TEXTURE_SWIZZLE_ONE", + "value": 2 + }, + { + "name": "TEXTURE_SWIZZLE_R", + "value": 3 + }, + { + "name": "TEXTURE_SWIZZLE_G", + "value": 4 + }, + { + "name": "TEXTURE_SWIZZLE_B", + "value": 5 + }, + { + "name": "TEXTURE_SWIZZLE_A", + "value": 6 + }, + { + "name": "TEXTURE_SWIZZLE_MAX", + "value": 7 + } + ] + }, + { + "name": "TextureSliceType", + "values": [ + { + "name": "TEXTURE_SLICE_2D", + "value": 0 + }, + { + "name": "TEXTURE_SLICE_CUBEMAP", + "value": 1 + }, + { + "name": "TEXTURE_SLICE_3D", + "value": 2 + } + ] + }, + { + "name": "SamplerFilter", + "values": [ + { + "name": "SAMPLER_FILTER_NEAREST", + "value": 0 + }, + { + "name": "SAMPLER_FILTER_LINEAR", + "value": 1 + } + ] + }, + { + "name": "SamplerRepeatMode", + "values": [ + { + "name": "SAMPLER_REPEAT_MODE_REPEAT", + "value": 0 + }, + { + "name": "SAMPLER_REPEAT_MODE_MIRRORED_REPEAT", + "value": 1 + }, + { + "name": "SAMPLER_REPEAT_MODE_CLAMP_TO_EDGE", + "value": 2 + }, + { + "name": "SAMPLER_REPEAT_MODE_CLAMP_TO_BORDER", + "value": 3 + }, + { + "name": "SAMPLER_REPEAT_MODE_MIRROR_CLAMP_TO_EDGE", + "value": 4 + }, + { + "name": "SAMPLER_REPEAT_MODE_MAX", + "value": 5 + } + ] + }, + { + "name": "SamplerBorderColor", + "values": [ + { + "name": "SAMPLER_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK", + "value": 0 + }, + { + "name": "SAMPLER_BORDER_COLOR_INT_TRANSPARENT_BLACK", + "value": 1 + }, + { + "name": "SAMPLER_BORDER_COLOR_FLOAT_OPAQUE_BLACK", + "value": 2 + }, + { + "name": "SAMPLER_BORDER_COLOR_INT_OPAQUE_BLACK", + "value": 3 + }, + { + "name": "SAMPLER_BORDER_COLOR_FLOAT_OPAQUE_WHITE", + "value": 4 + }, + { + "name": "SAMPLER_BORDER_COLOR_INT_OPAQUE_WHITE", + "value": 5 + }, + { + "name": "SAMPLER_BORDER_COLOR_MAX", + "value": 6 + } + ] + }, + { + "name": "VertexFrequency", + "values": [ + { + "name": "VERTEX_FREQUENCY_VERTEX", + "value": 0 + }, + { + "name": "VERTEX_FREQUENCY_INSTANCE", + "value": 1 + } + ] + }, + { + "name": "IndexBufferFormat", + "values": [ + { + "name": "INDEX_BUFFER_FORMAT_UINT16", + "value": 0 + }, + { + "name": "INDEX_BUFFER_FORMAT_UINT32", + "value": 1 + } + ] + }, + { + "name": "StorageBufferUsage", + "values": [ + { + "name": "STORAGE_BUFFER_USAGE_DISPATCH_INDIRECT", + "value": 1 + } + ] + }, + { + "name": "UniformType", + "values": [ + { + "name": "UNIFORM_TYPE_SAMPLER", + "value": 0 + }, + { + "name": "UNIFORM_TYPE_SAMPLER_WITH_TEXTURE", + "value": 1 + }, + { + "name": "UNIFORM_TYPE_TEXTURE", + "value": 2 + }, + { + "name": "UNIFORM_TYPE_IMAGE", + "value": 3 + }, + { + "name": "UNIFORM_TYPE_TEXTURE_BUFFER", + "value": 4 + }, + { + "name": "UNIFORM_TYPE_SAMPLER_WITH_TEXTURE_BUFFER", + "value": 5 + }, + { + "name": "UNIFORM_TYPE_IMAGE_BUFFER", + "value": 6 + }, + { + "name": "UNIFORM_TYPE_UNIFORM_BUFFER", + "value": 7 + }, + { + "name": "UNIFORM_TYPE_STORAGE_BUFFER", + "value": 8 + }, + { + "name": "UNIFORM_TYPE_INPUT_ATTACHMENT", + "value": 9 + }, + { + "name": "UNIFORM_TYPE_MAX", + "value": 10 + } + ] + }, + { + "name": "RenderPrimitive", + "values": [ + { + "name": "RENDER_PRIMITIVE_POINTS", + "value": 0 + }, + { + "name": "RENDER_PRIMITIVE_LINES", + "value": 1 + }, + { + "name": "RENDER_PRIMITIVE_LINES_WITH_ADJACENCY", + "value": 2 + }, + { + "name": "RENDER_PRIMITIVE_LINESTRIPS", + "value": 3 + }, + { + "name": "RENDER_PRIMITIVE_LINESTRIPS_WITH_ADJACENCY", + "value": 4 + }, + { + "name": "RENDER_PRIMITIVE_TRIANGLES", + "value": 5 + }, + { + "name": "RENDER_PRIMITIVE_TRIANGLES_WITH_ADJACENCY", + "value": 6 + }, + { + "name": "RENDER_PRIMITIVE_TRIANGLE_STRIPS", + "value": 7 + }, + { + "name": "RENDER_PRIMITIVE_TRIANGLE_STRIPS_WITH_AJACENCY", + "value": 8 + }, + { + "name": "RENDER_PRIMITIVE_TRIANGLE_STRIPS_WITH_RESTART_INDEX", + "value": 9 + }, + { + "name": "RENDER_PRIMITIVE_TESSELATION_PATCH", + "value": 10 + }, + { + "name": "RENDER_PRIMITIVE_MAX", + "value": 11 + } + ] + }, + { + "name": "PolygonCullMode", + "values": [ + { + "name": "POLYGON_CULL_DISABLED", + "value": 0 + }, + { + "name": "POLYGON_CULL_FRONT", + "value": 1 + }, + { + "name": "POLYGON_CULL_BACK", + "value": 2 + } + ] + }, + { + "name": "PolygonFrontFace", + "values": [ + { + "name": "POLYGON_FRONT_FACE_CLOCKWISE", + "value": 0 + }, + { + "name": "POLYGON_FRONT_FACE_COUNTER_CLOCKWISE", + "value": 1 + } + ] + }, + { + "name": "StencilOperation", + "values": [ + { + "name": "STENCIL_OP_KEEP", + "value": 0 + }, + { + "name": "STENCIL_OP_ZERO", + "value": 1 + }, + { + "name": "STENCIL_OP_REPLACE", + "value": 2 + }, + { + "name": "STENCIL_OP_INCREMENT_AND_CLAMP", + "value": 3 + }, + { + "name": "STENCIL_OP_DECREMENT_AND_CLAMP", + "value": 4 + }, + { + "name": "STENCIL_OP_INVERT", + "value": 5 + }, + { + "name": "STENCIL_OP_INCREMENT_AND_WRAP", + "value": 6 + }, + { + "name": "STENCIL_OP_DECREMENT_AND_WRAP", + "value": 7 + }, + { + "name": "STENCIL_OP_MAX", + "value": 8 + } + ] + }, + { + "name": "CompareOperator", + "values": [ + { + "name": "COMPARE_OP_NEVER", + "value": 0 + }, + { + "name": "COMPARE_OP_LESS", + "value": 1 + }, + { + "name": "COMPARE_OP_EQUAL", + "value": 2 + }, + { + "name": "COMPARE_OP_LESS_OR_EQUAL", + "value": 3 + }, + { + "name": "COMPARE_OP_GREATER", + "value": 4 + }, + { + "name": "COMPARE_OP_NOT_EQUAL", + "value": 5 + }, + { + "name": "COMPARE_OP_GREATER_OR_EQUAL", + "value": 6 + }, + { + "name": "COMPARE_OP_ALWAYS", + "value": 7 + }, + { + "name": "COMPARE_OP_MAX", + "value": 8 + } + ] + }, + { + "name": "LogicOperation", + "values": [ + { + "name": "LOGIC_OP_CLEAR", + "value": 0 + }, + { + "name": "LOGIC_OP_AND", + "value": 1 + }, + { + "name": "LOGIC_OP_AND_REVERSE", + "value": 2 + }, + { + "name": "LOGIC_OP_COPY", + "value": 3 + }, + { + "name": "LOGIC_OP_AND_INVERTED", + "value": 4 + }, + { + "name": "LOGIC_OP_NO_OP", + "value": 5 + }, + { + "name": "LOGIC_OP_XOR", + "value": 6 + }, + { + "name": "LOGIC_OP_OR", + "value": 7 + }, + { + "name": "LOGIC_OP_NOR", + "value": 8 + }, + { + "name": "LOGIC_OP_EQUIVALENT", + "value": 9 + }, + { + "name": "LOGIC_OP_INVERT", + "value": 10 + }, + { + "name": "LOGIC_OP_OR_REVERSE", + "value": 11 + }, + { + "name": "LOGIC_OP_COPY_INVERTED", + "value": 12 + }, + { + "name": "LOGIC_OP_OR_INVERTED", + "value": 13 + }, + { + "name": "LOGIC_OP_NAND", + "value": 14 + }, + { + "name": "LOGIC_OP_SET", + "value": 15 + }, + { + "name": "LOGIC_OP_MAX", + "value": 16 + } + ] + }, { "name": "BlendFactor", "values": [ @@ -164769,89 +165132,6 @@ } ] }, - { - "name": "StorageBufferUsage", - "values": [ - { - "name": "STORAGE_BUFFER_USAGE_DISPATCH_INDIRECT", - "value": 1 - } - ] - }, - { - "name": "DriverResource", - "values": [ - { - "name": "DRIVER_RESOURCE_VULKAN_DEVICE", - "value": 0 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_PHYSICAL_DEVICE", - "value": 1 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_INSTANCE", - "value": 2 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_QUEUE", - "value": 3 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_QUEUE_FAMILY_INDEX", - "value": 4 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_IMAGE", - "value": 5 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_IMAGE_VIEW", - "value": 6 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_IMAGE_NATIVE_TEXTURE_FORMAT", - "value": 7 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_SAMPLER", - "value": 8 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_DESCRIPTOR_SET", - "value": 9 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_BUFFER", - "value": 10 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_COMPUTE_PIPELINE", - "value": 11 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_RENDER_PIPELINE", - "value": 12 - } - ] - }, - { - "name": "PolygonCullMode", - "values": [ - { - "name": "POLYGON_CULL_DISABLED", - "value": 0 - }, - { - "name": "POLYGON_CULL_FRONT", - "value": 1 - }, - { - "name": "POLYGON_CULL_BACK", - "value": 2 - } - ] - }, { "name": "BlendOperation", "values": [ @@ -164882,39 +165162,168 @@ ] }, { - "name": "TextureSamples", + "name": "PipelineDynamicStateFlags", "values": [ { - "name": "TEXTURE_SAMPLES_1", - "value": 0 - }, - { - "name": "TEXTURE_SAMPLES_2", + "name": "DYNAMIC_STATE_LINE_WIDTH", "value": 1 }, { - "name": "TEXTURE_SAMPLES_4", + "name": "DYNAMIC_STATE_DEPTH_BIAS", "value": 2 }, { - "name": "TEXTURE_SAMPLES_8", - "value": 3 - }, - { - "name": "TEXTURE_SAMPLES_16", + "name": "DYNAMIC_STATE_BLEND_CONSTANTS", "value": 4 }, { - "name": "TEXTURE_SAMPLES_32", + "name": "DYNAMIC_STATE_DEPTH_BOUNDS", + "value": 8 + }, + { + "name": "DYNAMIC_STATE_STENCIL_COMPARE_MASK", + "value": 16 + }, + { + "name": "DYNAMIC_STATE_STENCIL_WRITE_MASK", + "value": 32 + }, + { + "name": "DYNAMIC_STATE_STENCIL_REFERENCE", + "value": 64 + } + ] + }, + { + "name": "InitialAction", + "values": [ + { + "name": "INITIAL_ACTION_CLEAR", + "value": 0 + }, + { + "name": "INITIAL_ACTION_CLEAR_REGION", + "value": 1 + }, + { + "name": "INITIAL_ACTION_CLEAR_REGION_CONTINUE", + "value": 2 + }, + { + "name": "INITIAL_ACTION_KEEP", + "value": 3 + }, + { + "name": "INITIAL_ACTION_DROP", + "value": 4 + }, + { + "name": "INITIAL_ACTION_CONTINUE", "value": 5 }, { - "name": "TEXTURE_SAMPLES_64", + "name": "INITIAL_ACTION_MAX", "value": 6 + } + ] + }, + { + "name": "FinalAction", + "values": [ + { + "name": "FINAL_ACTION_READ", + "value": 0 }, { - "name": "TEXTURE_SAMPLES_MAX", - "value": 7 + "name": "FINAL_ACTION_DISCARD", + "value": 1 + }, + { + "name": "FINAL_ACTION_CONTINUE", + "value": 2 + }, + { + "name": "FINAL_ACTION_MAX", + "value": 3 + } + ] + }, + { + "name": "ShaderStage", + "values": [ + { + "name": "SHADER_STAGE_VERTEX", + "value": 0 + }, + { + "name": "SHADER_STAGE_FRAGMENT", + "value": 1 + }, + { + "name": "SHADER_STAGE_TESSELATION_CONTROL", + "value": 2 + }, + { + "name": "SHADER_STAGE_TESSELATION_EVALUATION", + "value": 3 + }, + { + "name": "SHADER_STAGE_COMPUTE", + "value": 4 + }, + { + "name": "SHADER_STAGE_MAX", + "value": 5 + }, + { + "name": "SHADER_STAGE_VERTEX_BIT", + "value": 1 + }, + { + "name": "SHADER_STAGE_FRAGMENT_BIT", + "value": 2 + }, + { + "name": "SHADER_STAGE_TESSELATION_CONTROL_BIT", + "value": 4 + }, + { + "name": "SHADER_STAGE_TESSELATION_EVALUATION_BIT", + "value": 8 + }, + { + "name": "SHADER_STAGE_COMPUTE_BIT", + "value": 16 + } + ] + }, + { + "name": "ShaderLanguage", + "values": [ + { + "name": "SHADER_LANGUAGE_GLSL", + "value": 0 + }, + { + "name": "SHADER_LANGUAGE_HLSL", + "value": 1 + } + ] + }, + { + "name": "PipelineSpecializationConstantType", + "values": [ + { + "name": "PIPELINE_SPECIALIZATION_CONSTANT_TYPE_BOOL", + "value": 0 + }, + { + "name": "PIPELINE_SPECIALIZATION_CONSTANT_TYPE_INT", + "value": 1 + }, + { + "name": "PIPELINE_SPECIALIZATION_CONSTANT_TYPE_FLOAT", + "value": 2 } ] }, @@ -165064,493 +165473,19 @@ ] }, { - "name": "LogicOperation", + "name": "MemoryType", "values": [ { - "name": "LOGIC_OP_CLEAR", + "name": "MEMORY_TEXTURES", "value": 0 }, { - "name": "LOGIC_OP_AND", + "name": "MEMORY_BUFFERS", "value": 1 }, { - "name": "LOGIC_OP_AND_REVERSE", + "name": "MEMORY_TOTAL", "value": 2 - }, - { - "name": "LOGIC_OP_COPY", - "value": 3 - }, - { - "name": "LOGIC_OP_AND_INVERTED", - "value": 4 - }, - { - "name": "LOGIC_OP_NO_OP", - "value": 5 - }, - { - "name": "LOGIC_OP_XOR", - "value": 6 - }, - { - "name": "LOGIC_OP_OR", - "value": 7 - }, - { - "name": "LOGIC_OP_NOR", - "value": 8 - }, - { - "name": "LOGIC_OP_EQUIVALENT", - "value": 9 - }, - { - "name": "LOGIC_OP_INVERT", - "value": 10 - }, - { - "name": "LOGIC_OP_OR_REVERSE", - "value": 11 - }, - { - "name": "LOGIC_OP_COPY_INVERTED", - "value": 12 - }, - { - "name": "LOGIC_OP_OR_INVERTED", - "value": 13 - }, - { - "name": "LOGIC_OP_NAND", - "value": 14 - }, - { - "name": "LOGIC_OP_SET", - "value": 15 - }, - { - "name": "LOGIC_OP_MAX", - "value": 16 - } - ] - }, - { - "name": "FinalAction", - "values": [ - { - "name": "FINAL_ACTION_READ", - "value": 0 - }, - { - "name": "FINAL_ACTION_DISCARD", - "value": 1 - }, - { - "name": "FINAL_ACTION_CONTINUE", - "value": 2 - }, - { - "name": "FINAL_ACTION_MAX", - "value": 3 - } - ] - }, - { - "name": "InitialAction", - "values": [ - { - "name": "INITIAL_ACTION_CLEAR", - "value": 0 - }, - { - "name": "INITIAL_ACTION_CLEAR_REGION", - "value": 1 - }, - { - "name": "INITIAL_ACTION_CLEAR_REGION_CONTINUE", - "value": 2 - }, - { - "name": "INITIAL_ACTION_KEEP", - "value": 3 - }, - { - "name": "INITIAL_ACTION_DROP", - "value": 4 - }, - { - "name": "INITIAL_ACTION_CONTINUE", - "value": 5 - }, - { - "name": "INITIAL_ACTION_MAX", - "value": 6 - } - ] - }, - { - "name": "PolygonFrontFace", - "values": [ - { - "name": "POLYGON_FRONT_FACE_CLOCKWISE", - "value": 0 - }, - { - "name": "POLYGON_FRONT_FACE_COUNTER_CLOCKWISE", - "value": 1 - } - ] - }, - { - "name": "VertexFrequency", - "values": [ - { - "name": "VERTEX_FREQUENCY_VERTEX", - "value": 0 - }, - { - "name": "VERTEX_FREQUENCY_INSTANCE", - "value": 1 - } - ] - }, - { - "name": "TextureUsageBits", - "values": [ - { - "name": "TEXTURE_USAGE_SAMPLING_BIT", - "value": 1 - }, - { - "name": "TEXTURE_USAGE_COLOR_ATTACHMENT_BIT", - "value": 2 - }, - { - "name": "TEXTURE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT", - "value": 4 - }, - { - "name": "TEXTURE_USAGE_STORAGE_BIT", - "value": 8 - }, - { - "name": "TEXTURE_USAGE_STORAGE_ATOMIC_BIT", - "value": 16 - }, - { - "name": "TEXTURE_USAGE_CPU_READ_BIT", - "value": 32 - }, - { - "name": "TEXTURE_USAGE_CAN_UPDATE_BIT", - "value": 64 - }, - { - "name": "TEXTURE_USAGE_CAN_COPY_FROM_BIT", - "value": 128 - }, - { - "name": "TEXTURE_USAGE_CAN_COPY_TO_BIT", - "value": 256 - }, - { - "name": "TEXTURE_USAGE_INPUT_ATTACHMENT_BIT", - "value": 512 - } - ] - }, - { - "name": "PipelineSpecializationConstantType", - "values": [ - { - "name": "PIPELINE_SPECIALIZATION_CONSTANT_TYPE_BOOL", - "value": 0 - }, - { - "name": "PIPELINE_SPECIALIZATION_CONSTANT_TYPE_INT", - "value": 1 - }, - { - "name": "PIPELINE_SPECIALIZATION_CONSTANT_TYPE_FLOAT", - "value": 2 - } - ] - }, - { - "name": "PipelineDynamicStateFlags", - "values": [ - { - "name": "DYNAMIC_STATE_LINE_WIDTH", - "value": 1 - }, - { - "name": "DYNAMIC_STATE_DEPTH_BIAS", - "value": 2 - }, - { - "name": "DYNAMIC_STATE_BLEND_CONSTANTS", - "value": 4 - }, - { - "name": "DYNAMIC_STATE_DEPTH_BOUNDS", - "value": 8 - }, - { - "name": "DYNAMIC_STATE_STENCIL_COMPARE_MASK", - "value": 16 - }, - { - "name": "DYNAMIC_STATE_STENCIL_WRITE_MASK", - "value": 32 - }, - { - "name": "DYNAMIC_STATE_STENCIL_REFERENCE", - "value": 64 - } - ] - }, - { - "name": "RenderPrimitive", - "values": [ - { - "name": "RENDER_PRIMITIVE_POINTS", - "value": 0 - }, - { - "name": "RENDER_PRIMITIVE_LINES", - "value": 1 - }, - { - "name": "RENDER_PRIMITIVE_LINES_WITH_ADJACENCY", - "value": 2 - }, - { - "name": "RENDER_PRIMITIVE_LINESTRIPS", - "value": 3 - }, - { - "name": "RENDER_PRIMITIVE_LINESTRIPS_WITH_ADJACENCY", - "value": 4 - }, - { - "name": "RENDER_PRIMITIVE_TRIANGLES", - "value": 5 - }, - { - "name": "RENDER_PRIMITIVE_TRIANGLES_WITH_ADJACENCY", - "value": 6 - }, - { - "name": "RENDER_PRIMITIVE_TRIANGLE_STRIPS", - "value": 7 - }, - { - "name": "RENDER_PRIMITIVE_TRIANGLE_STRIPS_WITH_AJACENCY", - "value": 8 - }, - { - "name": "RENDER_PRIMITIVE_TRIANGLE_STRIPS_WITH_RESTART_INDEX", - "value": 9 - }, - { - "name": "RENDER_PRIMITIVE_TESSELATION_PATCH", - "value": 10 - }, - { - "name": "RENDER_PRIMITIVE_MAX", - "value": 11 - } - ] - }, - { - "name": "SamplerBorderColor", - "values": [ - { - "name": "SAMPLER_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK", - "value": 0 - }, - { - "name": "SAMPLER_BORDER_COLOR_INT_TRANSPARENT_BLACK", - "value": 1 - }, - { - "name": "SAMPLER_BORDER_COLOR_FLOAT_OPAQUE_BLACK", - "value": 2 - }, - { - "name": "SAMPLER_BORDER_COLOR_INT_OPAQUE_BLACK", - "value": 3 - }, - { - "name": "SAMPLER_BORDER_COLOR_FLOAT_OPAQUE_WHITE", - "value": 4 - }, - { - "name": "SAMPLER_BORDER_COLOR_INT_OPAQUE_WHITE", - "value": 5 - }, - { - "name": "SAMPLER_BORDER_COLOR_MAX", - "value": 6 - } - ] - }, - { - "name": "TextureSwizzle", - "values": [ - { - "name": "TEXTURE_SWIZZLE_IDENTITY", - "value": 0 - }, - { - "name": "TEXTURE_SWIZZLE_ZERO", - "value": 1 - }, - { - "name": "TEXTURE_SWIZZLE_ONE", - "value": 2 - }, - { - "name": "TEXTURE_SWIZZLE_R", - "value": 3 - }, - { - "name": "TEXTURE_SWIZZLE_G", - "value": 4 - }, - { - "name": "TEXTURE_SWIZZLE_B", - "value": 5 - }, - { - "name": "TEXTURE_SWIZZLE_A", - "value": 6 - }, - { - "name": "TEXTURE_SWIZZLE_MAX", - "value": 7 - } - ] - }, - { - "name": "UniformType", - "values": [ - { - "name": "UNIFORM_TYPE_SAMPLER", - "value": 0 - }, - { - "name": "UNIFORM_TYPE_SAMPLER_WITH_TEXTURE", - "value": 1 - }, - { - "name": "UNIFORM_TYPE_TEXTURE", - "value": 2 - }, - { - "name": "UNIFORM_TYPE_IMAGE", - "value": 3 - }, - { - "name": "UNIFORM_TYPE_TEXTURE_BUFFER", - "value": 4 - }, - { - "name": "UNIFORM_TYPE_SAMPLER_WITH_TEXTURE_BUFFER", - "value": 5 - }, - { - "name": "UNIFORM_TYPE_IMAGE_BUFFER", - "value": 6 - }, - { - "name": "UNIFORM_TYPE_UNIFORM_BUFFER", - "value": 7 - }, - { - "name": "UNIFORM_TYPE_STORAGE_BUFFER", - "value": 8 - }, - { - "name": "UNIFORM_TYPE_INPUT_ATTACHMENT", - "value": 9 - }, - { - "name": "UNIFORM_TYPE_MAX", - "value": 10 - } - ] - }, - { - "name": "SamplerRepeatMode", - "values": [ - { - "name": "SAMPLER_REPEAT_MODE_REPEAT", - "value": 0 - }, - { - "name": "SAMPLER_REPEAT_MODE_MIRRORED_REPEAT", - "value": 1 - }, - { - "name": "SAMPLER_REPEAT_MODE_CLAMP_TO_EDGE", - "value": 2 - }, - { - "name": "SAMPLER_REPEAT_MODE_CLAMP_TO_BORDER", - "value": 3 - }, - { - "name": "SAMPLER_REPEAT_MODE_MIRROR_CLAMP_TO_EDGE", - "value": 4 - }, - { - "name": "SAMPLER_REPEAT_MODE_MAX", - "value": 5 - } - ] - }, - { - "name": "SamplerFilter", - "values": [ - { - "name": "SAMPLER_FILTER_NEAREST", - "value": 0 - }, - { - "name": "SAMPLER_FILTER_LINEAR", - "value": 1 - } - ] - }, - { - "name": "DeviceType", - "values": [ - { - "name": "DEVICE_TYPE_OTHER", - "value": 0 - }, - { - "name": "DEVICE_TYPE_INTEGRATED_GPU", - "value": 1 - }, - { - "name": "DEVICE_TYPE_DISCRETE_GPU", - "value": 2 - }, - { - "name": "DEVICE_TYPE_VIRTUAL_GPU", - "value": 3 - }, - { - "name": "DEVICE_TYPE_CPU", - "value": 4 - }, - { - "name": "DEVICE_TYPE_MAX", - "value": 5 } ] } @@ -167616,60 +167551,51 @@ ], "enums": [ { - "name": "PrimitiveType", + "name": "TextureLayeredType", "values": [ { - "name": "PRIMITIVE_POINTS", + "name": "TEXTURE_LAYERED_2D_ARRAY", "value": 0 }, { - "name": "PRIMITIVE_LINES", + "name": "TEXTURE_LAYERED_CUBEMAP", "value": 1 }, { - "name": "PRIMITIVE_LINE_STRIP", + "name": "TEXTURE_LAYERED_CUBEMAP_ARRAY", + "value": 2 + } + ] + }, + { + "name": "CubeMapLayer", + "values": [ + { + "name": "CUBEMAP_LAYER_LEFT", + "value": 0 + }, + { + "name": "CUBEMAP_LAYER_RIGHT", + "value": 1 + }, + { + "name": "CUBEMAP_LAYER_BOTTOM", "value": 2 }, { - "name": "PRIMITIVE_TRIANGLES", + "name": "CUBEMAP_LAYER_TOP", "value": 3 }, { - "name": "PRIMITIVE_TRIANGLE_STRIP", + "name": "CUBEMAP_LAYER_FRONT", "value": 4 }, { - "name": "PRIMITIVE_MAX", + "name": "CUBEMAP_LAYER_BACK", "value": 5 } ] }, - { - "name": "BlendShapeMode", - "values": [ - { - "name": "BLEND_SHAPE_MODE_NORMALIZED", - "value": 0 - }, - { - "name": "BLEND_SHAPE_MODE_RELATIVE", - "value": 1 - } - ] - }, - { - "name": "ReflectionProbeUpdateMode", - "values": [ - { - "name": "REFLECTION_PROBE_UPDATE_ONCE", - "value": 0 - }, - { - "name": "REFLECTION_PROBE_UPDATE_ALWAYS", - "value": 1 - } - ] - }, { "name": "ShaderMode", "values": [ @@ -167699,510 +167625,6 @@ } ] }, - { - "name": "ParticlesMode", - "values": [ - { - "name": "PARTICLES_MODE_2D", - "value": 0 - }, - { - "name": "PARTICLES_MODE_3D", - "value": 1 - } - ] - }, - { - "name": "ViewportClearMode", - "values": [ - { - "name": "VIEWPORT_CLEAR_ALWAYS", - "value": 0 - }, - { - "name": "VIEWPORT_CLEAR_NEVER", - "value": 1 - }, - { - "name": "VIEWPORT_CLEAR_ONLY_NEXT_FRAME", - "value": 2 - } - ] - }, - { - "name": "ViewportRenderInfo", - "values": [ - { - "name": "VIEWPORT_RENDER_INFO_OBJECTS_IN_FRAME", - "value": 0 - }, - { - "name": "VIEWPORT_RENDER_INFO_PRIMITIVES_IN_FRAME", - "value": 1 - }, - { - "name": "VIEWPORT_RENDER_INFO_DRAW_CALLS_IN_FRAME", - "value": 2 - }, - { - "name": "VIEWPORT_RENDER_INFO_MAX", - "value": 3 - } - ] - }, - { - "name": "SkyMode", - "values": [ - { - "name": "SKY_MODE_AUTOMATIC", - "value": 0 - }, - { - "name": "SKY_MODE_QUALITY", - "value": 1 - }, - { - "name": "SKY_MODE_INCREMENTAL", - "value": 2 - }, - { - "name": "SKY_MODE_REALTIME", - "value": 3 - } - ] - }, - { - "name": "EnvironmentSDFGIFramesToConverge", - "values": [ - { - "name": "ENV_SDFGI_CONVERGE_IN_5_FRAMES", - "value": 0 - }, - { - "name": "ENV_SDFGI_CONVERGE_IN_10_FRAMES", - "value": 1 - }, - { - "name": "ENV_SDFGI_CONVERGE_IN_15_FRAMES", - "value": 2 - }, - { - "name": "ENV_SDFGI_CONVERGE_IN_20_FRAMES", - "value": 3 - }, - { - "name": "ENV_SDFGI_CONVERGE_IN_25_FRAMES", - "value": 4 - }, - { - "name": "ENV_SDFGI_CONVERGE_IN_30_FRAMES", - "value": 5 - }, - { - "name": "ENV_SDFGI_CONVERGE_MAX", - "value": 6 - } - ] - }, - { - "name": "MultimeshTransformFormat", - "values": [ - { - "name": "MULTIMESH_TRANSFORM_2D", - "value": 0 - }, - { - "name": "MULTIMESH_TRANSFORM_3D", - "value": 1 - } - ] - }, - { - "name": "ViewportScaling3DMode", - "values": [ - { - "name": "VIEWPORT_SCALING_3D_MODE_BILINEAR", - "value": 0 - }, - { - "name": "VIEWPORT_SCALING_3D_MODE_FSR", - "value": 1 - }, - { - "name": "VIEWPORT_SCALING_3D_MODE_MAX", - "value": 2 - } - ] - }, - { - "name": "ShadowCastingSetting", - "values": [ - { - "name": "SHADOW_CASTING_SETTING_OFF", - "value": 0 - }, - { - "name": "SHADOW_CASTING_SETTING_ON", - "value": 1 - }, - { - "name": "SHADOW_CASTING_SETTING_DOUBLE_SIDED", - "value": 2 - }, - { - "name": "SHADOW_CASTING_SETTING_SHADOWS_ONLY", - "value": 3 - } - ] - }, - { - "name": "CanvasItemTextureRepeat", - "values": [ - { - "name": "CANVAS_ITEM_TEXTURE_REPEAT_DEFAULT", - "value": 0 - }, - { - "name": "CANVAS_ITEM_TEXTURE_REPEAT_DISABLED", - "value": 1 - }, - { - "name": "CANVAS_ITEM_TEXTURE_REPEAT_ENABLED", - "value": 2 - }, - { - "name": "CANVAS_ITEM_TEXTURE_REPEAT_MIRROR", - "value": 3 - }, - { - "name": "CANVAS_ITEM_TEXTURE_REPEAT_MAX", - "value": 4 - } - ] - }, - { - "name": "CanvasLightBlendMode", - "values": [ - { - "name": "CANVAS_LIGHT_BLEND_MODE_ADD", - "value": 0 - }, - { - "name": "CANVAS_LIGHT_BLEND_MODE_SUB", - "value": 1 - }, - { - "name": "CANVAS_LIGHT_BLEND_MODE_MIX", - "value": 2 - } - ] - }, - { - "name": "ParticlesTransformAlign", - "values": [ - { - "name": "PARTICLES_TRANSFORM_ALIGN_DISABLED", - "value": 0 - }, - { - "name": "PARTICLES_TRANSFORM_ALIGN_Z_BILLBOARD", - "value": 1 - }, - { - "name": "PARTICLES_TRANSFORM_ALIGN_Y_TO_VELOCITY", - "value": 2 - }, - { - "name": "PARTICLES_TRANSFORM_ALIGN_Z_BILLBOARD_Y_TO_VELOCITY", - "value": 3 - } - ] - }, - { - "name": "ViewportScreenSpaceAA", - "values": [ - { - "name": "VIEWPORT_SCREEN_SPACE_AA_DISABLED", - "value": 0 - }, - { - "name": "VIEWPORT_SCREEN_SPACE_AA_FXAA", - "value": 1 - }, - { - "name": "VIEWPORT_SCREEN_SPACE_AA_MAX", - "value": 2 - } - ] - }, - { - "name": "ViewportRenderInfoType", - "values": [ - { - "name": "VIEWPORT_RENDER_INFO_TYPE_VISIBLE", - "value": 0 - }, - { - "name": "VIEWPORT_RENDER_INFO_TYPE_SHADOW", - "value": 1 - }, - { - "name": "VIEWPORT_RENDER_INFO_TYPE_MAX", - "value": 2 - } - ] - }, - { - "name": "EnvironmentBG", - "values": [ - { - "name": "ENV_BG_CLEAR_COLOR", - "value": 0 - }, - { - "name": "ENV_BG_COLOR", - "value": 1 - }, - { - "name": "ENV_BG_SKY", - "value": 2 - }, - { - "name": "ENV_BG_CANVAS", - "value": 3 - }, - { - "name": "ENV_BG_KEEP", - "value": 4 - }, - { - "name": "ENV_BG_CAMERA_FEED", - "value": 5 - }, - { - "name": "ENV_BG_MAX", - "value": 6 - } - ] - }, - { - "name": "EnvironmentSDFGIFramesToUpdateLight", - "values": [ - { - "name": "ENV_SDFGI_UPDATE_LIGHT_IN_1_FRAME", - "value": 0 - }, - { - "name": "ENV_SDFGI_UPDATE_LIGHT_IN_2_FRAMES", - "value": 1 - }, - { - "name": "ENV_SDFGI_UPDATE_LIGHT_IN_4_FRAMES", - "value": 2 - }, - { - "name": "ENV_SDFGI_UPDATE_LIGHT_IN_8_FRAMES", - "value": 3 - }, - { - "name": "ENV_SDFGI_UPDATE_LIGHT_IN_16_FRAMES", - "value": 4 - }, - { - "name": "ENV_SDFGI_UPDATE_LIGHT_MAX", - "value": 5 - } - ] - }, - { - "name": "CanvasGroupMode", - "values": [ - { - "name": "CANVAS_GROUP_MODE_DISABLED", - "value": 0 - }, - { - "name": "CANVAS_GROUP_MODE_OPAQUE", - "value": 1 - }, - { - "name": "CANVAS_GROUP_MODE_TRANSPARENT", - "value": 2 - } - ] - }, - { - "name": "Features", - "values": [ - { - "name": "FEATURE_SHADERS", - "value": 0 - }, - { - "name": "FEATURE_MULTITHREADED", - "value": 1 - } - ] - }, - { - "name": "ShadowQuality", - "values": [ - { - "name": "SHADOW_QUALITY_HARD", - "value": 0 - }, - { - "name": "SHADOW_QUALITY_SOFT_VERY_LOW", - "value": 1 - }, - { - "name": "SHADOW_QUALITY_SOFT_LOW", - "value": 2 - }, - { - "name": "SHADOW_QUALITY_SOFT_MEDIUM", - "value": 3 - }, - { - "name": "SHADOW_QUALITY_SOFT_HIGH", - "value": 4 - }, - { - "name": "SHADOW_QUALITY_SOFT_ULTRA", - "value": 5 - }, - { - "name": "SHADOW_QUALITY_MAX", - "value": 6 - } - ] - }, - { - "name": "DecalFilter", - "values": [ - { - "name": "DECAL_FILTER_NEAREST", - "value": 0 - }, - { - "name": "DECAL_FILTER_NEAREST_MIPMAPS", - "value": 1 - }, - { - "name": "DECAL_FILTER_LINEAR", - "value": 2 - }, - { - "name": "DECAL_FILTER_LINEAR_MIPMAPS", - "value": 3 - }, - { - "name": "DECAL_FILTER_LINEAR_MIPMAPS_ANISOTROPIC", - "value": 4 - } - ] - }, - { - "name": "BakeChannels", - "values": [ - { - "name": "BAKE_CHANNEL_ALBEDO_ALPHA", - "value": 0 - }, - { - "name": "BAKE_CHANNEL_NORMAL", - "value": 1 - }, - { - "name": "BAKE_CHANNEL_ORM", - "value": 2 - }, - { - "name": "BAKE_CHANNEL_EMISSION", - "value": 3 - } - ] - }, - { - "name": "CanvasLightShadowFilter", - "values": [ - { - "name": "CANVAS_LIGHT_FILTER_NONE", - "value": 0 - }, - { - "name": "CANVAS_LIGHT_FILTER_PCF5", - "value": 1 - }, - { - "name": "CANVAS_LIGHT_FILTER_PCF13", - "value": 2 - }, - { - "name": "CANVAS_LIGHT_FILTER_MAX", - "value": 3 - } - ] - }, - { - "name": "LightBakeMode", - "values": [ - { - "name": "LIGHT_BAKE_DISABLED", - "value": 0 - }, - { - "name": "LIGHT_BAKE_STATIC", - "value": 1 - }, - { - "name": "LIGHT_BAKE_DYNAMIC", - "value": 2 - } - ] - }, - { - "name": "EnvironmentToneMapper", - "values": [ - { - "name": "ENV_TONE_MAPPER_LINEAR", - "value": 0 - }, - { - "name": "ENV_TONE_MAPPER_REINHARD", - "value": 1 - }, - { - "name": "ENV_TONE_MAPPER_FILMIC", - "value": 2 - }, - { - "name": "ENV_TONE_MAPPER_ACES", - "value": 3 - } - ] - }, - { - "name": "SubSurfaceScatteringQuality", - "values": [ - { - "name": "SUB_SURFACE_SCATTERING_QUALITY_DISABLED", - "value": 0 - }, - { - "name": "SUB_SURFACE_SCATTERING_QUALITY_LOW", - "value": 1 - }, - { - "name": "SUB_SURFACE_SCATTERING_QUALITY_MEDIUM", - "value": 2 - }, - { - "name": "SUB_SURFACE_SCATTERING_QUALITY_HIGH", - "value": 3 - } - ] - }, { "name": "ArrayType", "values": [ @@ -168264,165 +167686,6 @@ } ] }, - { - "name": "LightDirectionalShadowMode", - "values": [ - { - "name": "LIGHT_DIRECTIONAL_SHADOW_ORTHOGONAL", - "value": 0 - }, - { - "name": "LIGHT_DIRECTIONAL_SHADOW_PARALLEL_2_SPLITS", - "value": 1 - }, - { - "name": "LIGHT_DIRECTIONAL_SHADOW_PARALLEL_4_SPLITS", - "value": 2 - } - ] - }, - { - "name": "ParticlesDrawOrder", - "values": [ - { - "name": "PARTICLES_DRAW_ORDER_INDEX", - "value": 0 - }, - { - "name": "PARTICLES_DRAW_ORDER_LIFETIME", - "value": 1 - }, - { - "name": "PARTICLES_DRAW_ORDER_REVERSE_LIFETIME", - "value": 2 - }, - { - "name": "PARTICLES_DRAW_ORDER_VIEW_DEPTH", - "value": 3 - } - ] - }, - { - "name": "EnvironmentReflectionSource", - "values": [ - { - "name": "ENV_REFLECTION_SOURCE_BG", - "value": 0 - }, - { - "name": "ENV_REFLECTION_SOURCE_DISABLED", - "value": 1 - }, - { - "name": "ENV_REFLECTION_SOURCE_SKY", - "value": 2 - } - ] - }, - { - "name": "LightDirectionalSkyMode", - "values": [ - { - "name": "LIGHT_DIRECTIONAL_SKY_MODE_LIGHT_AND_SKY", - "value": 0 - }, - { - "name": "LIGHT_DIRECTIONAL_SKY_MODE_LIGHT_ONLY", - "value": 1 - }, - { - "name": "LIGHT_DIRECTIONAL_SKY_MODE_SKY_ONLY", - "value": 2 - } - ] - }, - { - "name": "ViewportMSAA", - "values": [ - { - "name": "VIEWPORT_MSAA_DISABLED", - "value": 0 - }, - { - "name": "VIEWPORT_MSAA_2X", - "value": 1 - }, - { - "name": "VIEWPORT_MSAA_4X", - "value": 2 - }, - { - "name": "VIEWPORT_MSAA_8X", - "value": 3 - }, - { - "name": "VIEWPORT_MSAA_MAX", - "value": 4 - } - ] - }, - { - "name": "InstanceFlags", - "values": [ - { - "name": "INSTANCE_FLAG_USE_BAKED_LIGHT", - "value": 0 - }, - { - "name": "INSTANCE_FLAG_USE_DYNAMIC_GI", - "value": 1 - }, - { - "name": "INSTANCE_FLAG_DRAW_NEXT_FRAME_IF_VISIBLE", - "value": 2 - }, - { - "name": "INSTANCE_FLAG_IGNORE_OCCLUSION_CULLING", - "value": 3 - }, - { - "name": "INSTANCE_FLAG_MAX", - "value": 4 - } - ] - }, - { - "name": "CanvasItemTextureFilter", - "values": [ - { - "name": "CANVAS_ITEM_TEXTURE_FILTER_DEFAULT", - "value": 0 - }, - { - "name": "CANVAS_ITEM_TEXTURE_FILTER_NEAREST", - "value": 1 - }, - { - "name": "CANVAS_ITEM_TEXTURE_FILTER_LINEAR", - "value": 2 - }, - { - "name": "CANVAS_ITEM_TEXTURE_FILTER_NEAREST_WITH_MIPMAPS", - "value": 3 - }, - { - "name": "CANVAS_ITEM_TEXTURE_FILTER_LINEAR_WITH_MIPMAPS", - "value": 4 - }, - { - "name": "CANVAS_ITEM_TEXTURE_FILTER_NEAREST_WITH_MIPMAPS_ANISOTROPIC", - "value": 5 - }, - { - "name": "CANVAS_ITEM_TEXTURE_FILTER_LINEAR_WITH_MIPMAPS_ANISOTROPIC", - "value": 6 - }, - { - "name": "CANVAS_ITEM_TEXTURE_FILTER_MAX", - "value": 7 - } - ] - }, { "name": "ArrayCustomFormat", "values": [ @@ -168464,566 +167727,6 @@ } ] }, - { - "name": "EnvironmentSDFGIYScale", - "values": [ - { - "name": "ENV_SDFGI_Y_SCALE_50_PERCENT", - "value": 0 - }, - { - "name": "ENV_SDFGI_Y_SCALE_75_PERCENT", - "value": 1 - }, - { - "name": "ENV_SDFGI_Y_SCALE_100_PERCENT", - "value": 2 - } - ] - }, - { - "name": "DOFBokehShape", - "values": [ - { - "name": "DOF_BOKEH_BOX", - "value": 0 - }, - { - "name": "DOF_BOKEH_HEXAGON", - "value": 1 - }, - { - "name": "DOF_BOKEH_CIRCLE", - "value": 2 - } - ] - }, - { - "name": "ParticlesCollisionHeightfieldResolution", - "values": [ - { - "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_256", - "value": 0 - }, - { - "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_512", - "value": 1 - }, - { - "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_1024", - "value": 2 - }, - { - "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_2048", - "value": 3 - }, - { - "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_4096", - "value": 4 - }, - { - "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_8192", - "value": 5 - }, - { - "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_MAX", - "value": 6 - } - ] - }, - { - "name": "ViewportSDFOversize", - "values": [ - { - "name": "VIEWPORT_SDF_OVERSIZE_100_PERCENT", - "value": 0 - }, - { - "name": "VIEWPORT_SDF_OVERSIZE_120_PERCENT", - "value": 1 - }, - { - "name": "VIEWPORT_SDF_OVERSIZE_150_PERCENT", - "value": 2 - }, - { - "name": "VIEWPORT_SDF_OVERSIZE_200_PERCENT", - "value": 3 - }, - { - "name": "VIEWPORT_SDF_OVERSIZE_MAX", - "value": 4 - } - ] - }, - { - "name": "EnvironmentSSRRoughnessQuality", - "values": [ - { - "name": "ENV_SSR_ROUGHNESS_QUALITY_DISABLED", - "value": 0 - }, - { - "name": "ENV_SSR_ROUGHNESS_QUALITY_LOW", - "value": 1 - }, - { - "name": "ENV_SSR_ROUGHNESS_QUALITY_MEDIUM", - "value": 2 - }, - { - "name": "ENV_SSR_ROUGHNESS_QUALITY_HIGH", - "value": 3 - } - ] - }, - { - "name": "EnvironmentSSAOQuality", - "values": [ - { - "name": "ENV_SSAO_QUALITY_VERY_LOW", - "value": 0 - }, - { - "name": "ENV_SSAO_QUALITY_LOW", - "value": 1 - }, - { - "name": "ENV_SSAO_QUALITY_MEDIUM", - "value": 2 - }, - { - "name": "ENV_SSAO_QUALITY_HIGH", - "value": 3 - }, - { - "name": "ENV_SSAO_QUALITY_ULTRA", - "value": 4 - } - ] - }, - { - "name": "NinePatchAxisMode", - "values": [ - { - "name": "NINE_PATCH_STRETCH", - "value": 0 - }, - { - "name": "NINE_PATCH_TILE", - "value": 1 - }, - { - "name": "NINE_PATCH_TILE_FIT", - "value": 2 - } - ] - }, - { - "name": "ParticlesCollisionType", - "values": [ - { - "name": "PARTICLES_COLLISION_TYPE_SPHERE_ATTRACT", - "value": 0 - }, - { - "name": "PARTICLES_COLLISION_TYPE_BOX_ATTRACT", - "value": 1 - }, - { - "name": "PARTICLES_COLLISION_TYPE_VECTOR_FIELD_ATTRACT", - "value": 2 - }, - { - "name": "PARTICLES_COLLISION_TYPE_SPHERE_COLLIDE", - "value": 3 - }, - { - "name": "PARTICLES_COLLISION_TYPE_BOX_COLLIDE", - "value": 4 - }, - { - "name": "PARTICLES_COLLISION_TYPE_SDF_COLLIDE", - "value": 5 - }, - { - "name": "PARTICLES_COLLISION_TYPE_HEIGHTFIELD_COLLIDE", - "value": 6 - } - ] - }, - { - "name": "FogVolumeShape", - "values": [ - { - "name": "FOG_VOLUME_SHAPE_ELLIPSOID", - "value": 0 - }, - { - "name": "FOG_VOLUME_SHAPE_BOX", - "value": 1 - }, - { - "name": "FOG_VOLUME_SHAPE_WORLD", - "value": 2 - } - ] - }, - { - "name": "ViewportSDFScale", - "values": [ - { - "name": "VIEWPORT_SDF_SCALE_100_PERCENT", - "value": 0 - }, - { - "name": "VIEWPORT_SDF_SCALE_50_PERCENT", - "value": 1 - }, - { - "name": "VIEWPORT_SDF_SCALE_25_PERCENT", - "value": 2 - }, - { - "name": "VIEWPORT_SDF_SCALE_MAX", - "value": 3 - } - ] - }, - { - "name": "ViewportDebugDraw", - "values": [ - { - "name": "VIEWPORT_DEBUG_DRAW_DISABLED", - "value": 0 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_UNSHADED", - "value": 1 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_LIGHTING", - "value": 2 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_OVERDRAW", - "value": 3 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_WIREFRAME", - "value": 4 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_NORMAL_BUFFER", - "value": 5 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_VOXEL_GI_ALBEDO", - "value": 6 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_VOXEL_GI_LIGHTING", - "value": 7 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_VOXEL_GI_EMISSION", - "value": 8 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_SHADOW_ATLAS", - "value": 9 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_DIRECTIONAL_SHADOW_ATLAS", - "value": 10 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_SCENE_LUMINANCE", - "value": 11 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_SSAO", - "value": 12 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_SSIL", - "value": 13 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_PSSM_SPLITS", - "value": 14 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_DECAL_ATLAS", - "value": 15 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_SDFGI", - "value": 16 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_SDFGI_PROBES", - "value": 17 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_GI_BUFFER", - "value": 18 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_DISABLE_LOD", - "value": 19 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_CLUSTER_OMNI_LIGHTS", - "value": 20 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_CLUSTER_SPOT_LIGHTS", - "value": 21 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_CLUSTER_DECALS", - "value": 22 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_CLUSTER_REFLECTION_PROBES", - "value": 23 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_OCCLUDERS", - "value": 24 - } - ] - }, - { - "name": "LightProjectorFilter", - "values": [ - { - "name": "LIGHT_PROJECTOR_FILTER_NEAREST", - "value": 0 - }, - { - "name": "LIGHT_PROJECTOR_FILTER_NEAREST_MIPMAPS", - "value": 1 - }, - { - "name": "LIGHT_PROJECTOR_FILTER_LINEAR", - "value": 2 - }, - { - "name": "LIGHT_PROJECTOR_FILTER_LINEAR_MIPMAPS", - "value": 3 - }, - { - "name": "LIGHT_PROJECTOR_FILTER_LINEAR_MIPMAPS_ANISOTROPIC", - "value": 4 - } - ] - }, - { - "name": "LightOmniShadowMode", - "values": [ - { - "name": "LIGHT_OMNI_SHADOW_DUAL_PARABOLOID", - "value": 0 - }, - { - "name": "LIGHT_OMNI_SHADOW_CUBE", - "value": 1 - } - ] - }, - { - "name": "ViewportOcclusionCullingBuildQuality", - "values": [ - { - "name": "VIEWPORT_OCCLUSION_BUILD_QUALITY_LOW", - "value": 0 - }, - { - "name": "VIEWPORT_OCCLUSION_BUILD_QUALITY_MEDIUM", - "value": 1 - }, - { - "name": "VIEWPORT_OCCLUSION_BUILD_QUALITY_HIGH", - "value": 2 - } - ] - }, - { - "name": "EnvironmentAmbientSource", - "values": [ - { - "name": "ENV_AMBIENT_SOURCE_BG", - "value": 0 - }, - { - "name": "ENV_AMBIENT_SOURCE_DISABLED", - "value": 1 - }, - { - "name": "ENV_AMBIENT_SOURCE_COLOR", - "value": 2 - }, - { - "name": "ENV_AMBIENT_SOURCE_SKY", - "value": 3 - } - ] - }, - { - "name": "CanvasTextureChannel", - "values": [ - { - "name": "CANVAS_TEXTURE_CHANNEL_DIFFUSE", - "value": 0 - }, - { - "name": "CANVAS_TEXTURE_CHANNEL_NORMAL", - "value": 1 - }, - { - "name": "CANVAS_TEXTURE_CHANNEL_SPECULAR", - "value": 2 - } - ] - }, - { - "name": "VoxelGIQuality", - "values": [ - { - "name": "VOXEL_GI_QUALITY_LOW", - "value": 0 - }, - { - "name": "VOXEL_GI_QUALITY_HIGH", - "value": 1 - } - ] - }, - { - "name": "EnvironmentSDFGIRayCount", - "values": [ - { - "name": "ENV_SDFGI_RAY_COUNT_4", - "value": 0 - }, - { - "name": "ENV_SDFGI_RAY_COUNT_8", - "value": 1 - }, - { - "name": "ENV_SDFGI_RAY_COUNT_16", - "value": 2 - }, - { - "name": "ENV_SDFGI_RAY_COUNT_32", - "value": 3 - }, - { - "name": "ENV_SDFGI_RAY_COUNT_64", - "value": 4 - }, - { - "name": "ENV_SDFGI_RAY_COUNT_96", - "value": 5 - }, - { - "name": "ENV_SDFGI_RAY_COUNT_128", - "value": 6 - }, - { - "name": "ENV_SDFGI_RAY_COUNT_MAX", - "value": 7 - } - ] - }, - { - "name": "DOFBlurQuality", - "values": [ - { - "name": "DOF_BLUR_QUALITY_VERY_LOW", - "value": 0 - }, - { - "name": "DOF_BLUR_QUALITY_LOW", - "value": 1 - }, - { - "name": "DOF_BLUR_QUALITY_MEDIUM", - "value": 2 - }, - { - "name": "DOF_BLUR_QUALITY_HIGH", - "value": 3 - } - ] - }, - { - "name": "InstanceType", - "values": [ - { - "name": "INSTANCE_NONE", - "value": 0 - }, - { - "name": "INSTANCE_MESH", - "value": 1 - }, - { - "name": "INSTANCE_MULTIMESH", - "value": 2 - }, - { - "name": "INSTANCE_PARTICLES", - "value": 3 - }, - { - "name": "INSTANCE_PARTICLES_COLLISION", - "value": 4 - }, - { - "name": "INSTANCE_LIGHT", - "value": 5 - }, - { - "name": "INSTANCE_REFLECTION_PROBE", - "value": 6 - }, - { - "name": "INSTANCE_DECAL", - "value": 7 - }, - { - "name": "INSTANCE_VOXEL_GI", - "value": 8 - }, - { - "name": "INSTANCE_LIGHTMAP", - "value": 9 - }, - { - "name": "INSTANCE_OCCLUDER", - "value": 10 - }, - { - "name": "INSTANCE_VISIBLITY_NOTIFIER", - "value": 11 - }, - { - "name": "INSTANCE_FOG_VOLUME", - "value": 12 - }, - { - "name": "INSTANCE_MAX", - "value": 13 - }, - { - "name": "INSTANCE_GEOMETRY_MASK", - "value": 14 - } - ] - }, { "name": "ArrayFormat", "values": [ @@ -169129,6 +167832,298 @@ } ] }, + { + "name": "PrimitiveType", + "values": [ + { + "name": "PRIMITIVE_POINTS", + "value": 0 + }, + { + "name": "PRIMITIVE_LINES", + "value": 1 + }, + { + "name": "PRIMITIVE_LINE_STRIP", + "value": 2 + }, + { + "name": "PRIMITIVE_TRIANGLES", + "value": 3 + }, + { + "name": "PRIMITIVE_TRIANGLE_STRIP", + "value": 4 + }, + { + "name": "PRIMITIVE_MAX", + "value": 5 + } + ] + }, + { + "name": "BlendShapeMode", + "values": [ + { + "name": "BLEND_SHAPE_MODE_NORMALIZED", + "value": 0 + }, + { + "name": "BLEND_SHAPE_MODE_RELATIVE", + "value": 1 + } + ] + }, + { + "name": "MultimeshTransformFormat", + "values": [ + { + "name": "MULTIMESH_TRANSFORM_2D", + "value": 0 + }, + { + "name": "MULTIMESH_TRANSFORM_3D", + "value": 1 + } + ] + }, + { + "name": "LightProjectorFilter", + "values": [ + { + "name": "LIGHT_PROJECTOR_FILTER_NEAREST", + "value": 0 + }, + { + "name": "LIGHT_PROJECTOR_FILTER_NEAREST_MIPMAPS", + "value": 1 + }, + { + "name": "LIGHT_PROJECTOR_FILTER_LINEAR", + "value": 2 + }, + { + "name": "LIGHT_PROJECTOR_FILTER_LINEAR_MIPMAPS", + "value": 3 + }, + { + "name": "LIGHT_PROJECTOR_FILTER_LINEAR_MIPMAPS_ANISOTROPIC", + "value": 4 + } + ] + }, + { + "name": "LightType", + "values": [ + { + "name": "LIGHT_DIRECTIONAL", + "value": 0 + }, + { + "name": "LIGHT_OMNI", + "value": 1 + }, + { + "name": "LIGHT_SPOT", + "value": 2 + } + ] + }, + { + "name": "LightParam", + "values": [ + { + "name": "LIGHT_PARAM_ENERGY", + "value": 0 + }, + { + "name": "LIGHT_PARAM_INDIRECT_ENERGY", + "value": 1 + }, + { + "name": "LIGHT_PARAM_SPECULAR", + "value": 2 + }, + { + "name": "LIGHT_PARAM_RANGE", + "value": 3 + }, + { + "name": "LIGHT_PARAM_SIZE", + "value": 4 + }, + { + "name": "LIGHT_PARAM_ATTENUATION", + "value": 5 + }, + { + "name": "LIGHT_PARAM_SPOT_ANGLE", + "value": 6 + }, + { + "name": "LIGHT_PARAM_SPOT_ATTENUATION", + "value": 7 + }, + { + "name": "LIGHT_PARAM_SHADOW_MAX_DISTANCE", + "value": 8 + }, + { + "name": "LIGHT_PARAM_SHADOW_SPLIT_1_OFFSET", + "value": 9 + }, + { + "name": "LIGHT_PARAM_SHADOW_SPLIT_2_OFFSET", + "value": 10 + }, + { + "name": "LIGHT_PARAM_SHADOW_SPLIT_3_OFFSET", + "value": 11 + }, + { + "name": "LIGHT_PARAM_SHADOW_FADE_START", + "value": 12 + }, + { + "name": "LIGHT_PARAM_SHADOW_NORMAL_BIAS", + "value": 13 + }, + { + "name": "LIGHT_PARAM_SHADOW_BIAS", + "value": 14 + }, + { + "name": "LIGHT_PARAM_SHADOW_PANCAKE_SIZE", + "value": 15 + }, + { + "name": "LIGHT_PARAM_SHADOW_BLUR", + "value": 16 + }, + { + "name": "LIGHT_PARAM_SHADOW_VOLUMETRIC_FOG_FADE", + "value": 17 + }, + { + "name": "LIGHT_PARAM_TRANSMITTANCE_BIAS", + "value": 18 + }, + { + "name": "LIGHT_PARAM_MAX", + "value": 19 + } + ] + }, + { + "name": "LightBakeMode", + "values": [ + { + "name": "LIGHT_BAKE_DISABLED", + "value": 0 + }, + { + "name": "LIGHT_BAKE_STATIC", + "value": 1 + }, + { + "name": "LIGHT_BAKE_DYNAMIC", + "value": 2 + } + ] + }, + { + "name": "LightOmniShadowMode", + "values": [ + { + "name": "LIGHT_OMNI_SHADOW_DUAL_PARABOLOID", + "value": 0 + }, + { + "name": "LIGHT_OMNI_SHADOW_CUBE", + "value": 1 + } + ] + }, + { + "name": "LightDirectionalShadowMode", + "values": [ + { + "name": "LIGHT_DIRECTIONAL_SHADOW_ORTHOGONAL", + "value": 0 + }, + { + "name": "LIGHT_DIRECTIONAL_SHADOW_PARALLEL_2_SPLITS", + "value": 1 + }, + { + "name": "LIGHT_DIRECTIONAL_SHADOW_PARALLEL_4_SPLITS", + "value": 2 + } + ] + }, + { + "name": "LightDirectionalSkyMode", + "values": [ + { + "name": "LIGHT_DIRECTIONAL_SKY_MODE_LIGHT_AND_SKY", + "value": 0 + }, + { + "name": "LIGHT_DIRECTIONAL_SKY_MODE_LIGHT_ONLY", + "value": 1 + }, + { + "name": "LIGHT_DIRECTIONAL_SKY_MODE_SKY_ONLY", + "value": 2 + } + ] + }, + { + "name": "ShadowQuality", + "values": [ + { + "name": "SHADOW_QUALITY_HARD", + "value": 0 + }, + { + "name": "SHADOW_QUALITY_SOFT_VERY_LOW", + "value": 1 + }, + { + "name": "SHADOW_QUALITY_SOFT_LOW", + "value": 2 + }, + { + "name": "SHADOW_QUALITY_SOFT_MEDIUM", + "value": 3 + }, + { + "name": "SHADOW_QUALITY_SOFT_HIGH", + "value": 4 + }, + { + "name": "SHADOW_QUALITY_SOFT_ULTRA", + "value": 5 + }, + { + "name": "SHADOW_QUALITY_MAX", + "value": 6 + } + ] + }, + { + "name": "ReflectionProbeUpdateMode", + "values": [ + { + "name": "REFLECTION_PROBE_UPDATE_ONCE", + "value": 0 + }, + { + "name": "REFLECTION_PROBE_UPDATE_ALWAYS", + "value": 1 + } + ] + }, { "name": "ReflectionProbeAmbientMode", "values": [ @@ -169146,6 +168141,236 @@ } ] }, + { + "name": "DecalTexture", + "values": [ + { + "name": "DECAL_TEXTURE_ALBEDO", + "value": 0 + }, + { + "name": "DECAL_TEXTURE_NORMAL", + "value": 1 + }, + { + "name": "DECAL_TEXTURE_ORM", + "value": 2 + }, + { + "name": "DECAL_TEXTURE_EMISSION", + "value": 3 + }, + { + "name": "DECAL_TEXTURE_MAX", + "value": 4 + } + ] + }, + { + "name": "DecalFilter", + "values": [ + { + "name": "DECAL_FILTER_NEAREST", + "value": 0 + }, + { + "name": "DECAL_FILTER_NEAREST_MIPMAPS", + "value": 1 + }, + { + "name": "DECAL_FILTER_LINEAR", + "value": 2 + }, + { + "name": "DECAL_FILTER_LINEAR_MIPMAPS", + "value": 3 + }, + { + "name": "DECAL_FILTER_LINEAR_MIPMAPS_ANISOTROPIC", + "value": 4 + } + ] + }, + { + "name": "VoxelGIQuality", + "values": [ + { + "name": "VOXEL_GI_QUALITY_LOW", + "value": 0 + }, + { + "name": "VOXEL_GI_QUALITY_HIGH", + "value": 1 + } + ] + }, + { + "name": "ParticlesMode", + "values": [ + { + "name": "PARTICLES_MODE_2D", + "value": 0 + }, + { + "name": "PARTICLES_MODE_3D", + "value": 1 + } + ] + }, + { + "name": "ParticlesTransformAlign", + "values": [ + { + "name": "PARTICLES_TRANSFORM_ALIGN_DISABLED", + "value": 0 + }, + { + "name": "PARTICLES_TRANSFORM_ALIGN_Z_BILLBOARD", + "value": 1 + }, + { + "name": "PARTICLES_TRANSFORM_ALIGN_Y_TO_VELOCITY", + "value": 2 + }, + { + "name": "PARTICLES_TRANSFORM_ALIGN_Z_BILLBOARD_Y_TO_VELOCITY", + "value": 3 + } + ] + }, + { + "name": "ParticlesDrawOrder", + "values": [ + { + "name": "PARTICLES_DRAW_ORDER_INDEX", + "value": 0 + }, + { + "name": "PARTICLES_DRAW_ORDER_LIFETIME", + "value": 1 + }, + { + "name": "PARTICLES_DRAW_ORDER_REVERSE_LIFETIME", + "value": 2 + }, + { + "name": "PARTICLES_DRAW_ORDER_VIEW_DEPTH", + "value": 3 + } + ] + }, + { + "name": "ParticlesCollisionType", + "values": [ + { + "name": "PARTICLES_COLLISION_TYPE_SPHERE_ATTRACT", + "value": 0 + }, + { + "name": "PARTICLES_COLLISION_TYPE_BOX_ATTRACT", + "value": 1 + }, + { + "name": "PARTICLES_COLLISION_TYPE_VECTOR_FIELD_ATTRACT", + "value": 2 + }, + { + "name": "PARTICLES_COLLISION_TYPE_SPHERE_COLLIDE", + "value": 3 + }, + { + "name": "PARTICLES_COLLISION_TYPE_BOX_COLLIDE", + "value": 4 + }, + { + "name": "PARTICLES_COLLISION_TYPE_SDF_COLLIDE", + "value": 5 + }, + { + "name": "PARTICLES_COLLISION_TYPE_HEIGHTFIELD_COLLIDE", + "value": 6 + } + ] + }, + { + "name": "ParticlesCollisionHeightfieldResolution", + "values": [ + { + "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_256", + "value": 0 + }, + { + "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_512", + "value": 1 + }, + { + "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_1024", + "value": 2 + }, + { + "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_2048", + "value": 3 + }, + { + "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_4096", + "value": 4 + }, + { + "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_8192", + "value": 5 + }, + { + "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_MAX", + "value": 6 + } + ] + }, + { + "name": "FogVolumeShape", + "values": [ + { + "name": "FOG_VOLUME_SHAPE_ELLIPSOID", + "value": 0 + }, + { + "name": "FOG_VOLUME_SHAPE_CONE", + "value": 1 + }, + { + "name": "FOG_VOLUME_SHAPE_CYLINDER", + "value": 2 + }, + { + "name": "FOG_VOLUME_SHAPE_BOX", + "value": 3 + }, + { + "name": "FOG_VOLUME_SHAPE_WORLD", + "value": 4 + }, + { + "name": "FOG_VOLUME_SHAPE_MAX", + "value": 5 + } + ] + }, + { + "name": "ViewportScaling3DMode", + "values": [ + { + "name": "VIEWPORT_SCALING_3D_MODE_BILINEAR", + "value": 0 + }, + { + "name": "VIEWPORT_SCALING_3D_MODE_FSR", + "value": 1 + }, + { + "name": "VIEWPORT_SCALING_3D_MODE_MAX", + "value": 2 + } + ] + }, { "name": "ViewportUpdateMode", "values": [ @@ -169171,6 +168396,363 @@ } ] }, + { + "name": "ViewportClearMode", + "values": [ + { + "name": "VIEWPORT_CLEAR_ALWAYS", + "value": 0 + }, + { + "name": "VIEWPORT_CLEAR_NEVER", + "value": 1 + }, + { + "name": "VIEWPORT_CLEAR_ONLY_NEXT_FRAME", + "value": 2 + } + ] + }, + { + "name": "ViewportSDFOversize", + "values": [ + { + "name": "VIEWPORT_SDF_OVERSIZE_100_PERCENT", + "value": 0 + }, + { + "name": "VIEWPORT_SDF_OVERSIZE_120_PERCENT", + "value": 1 + }, + { + "name": "VIEWPORT_SDF_OVERSIZE_150_PERCENT", + "value": 2 + }, + { + "name": "VIEWPORT_SDF_OVERSIZE_200_PERCENT", + "value": 3 + }, + { + "name": "VIEWPORT_SDF_OVERSIZE_MAX", + "value": 4 + } + ] + }, + { + "name": "ViewportSDFScale", + "values": [ + { + "name": "VIEWPORT_SDF_SCALE_100_PERCENT", + "value": 0 + }, + { + "name": "VIEWPORT_SDF_SCALE_50_PERCENT", + "value": 1 + }, + { + "name": "VIEWPORT_SDF_SCALE_25_PERCENT", + "value": 2 + }, + { + "name": "VIEWPORT_SDF_SCALE_MAX", + "value": 3 + } + ] + }, + { + "name": "ViewportMSAA", + "values": [ + { + "name": "VIEWPORT_MSAA_DISABLED", + "value": 0 + }, + { + "name": "VIEWPORT_MSAA_2X", + "value": 1 + }, + { + "name": "VIEWPORT_MSAA_4X", + "value": 2 + }, + { + "name": "VIEWPORT_MSAA_8X", + "value": 3 + }, + { + "name": "VIEWPORT_MSAA_MAX", + "value": 4 + } + ] + }, + { + "name": "ViewportScreenSpaceAA", + "values": [ + { + "name": "VIEWPORT_SCREEN_SPACE_AA_DISABLED", + "value": 0 + }, + { + "name": "VIEWPORT_SCREEN_SPACE_AA_FXAA", + "value": 1 + }, + { + "name": "VIEWPORT_SCREEN_SPACE_AA_MAX", + "value": 2 + } + ] + }, + { + "name": "ViewportOcclusionCullingBuildQuality", + "values": [ + { + "name": "VIEWPORT_OCCLUSION_BUILD_QUALITY_LOW", + "value": 0 + }, + { + "name": "VIEWPORT_OCCLUSION_BUILD_QUALITY_MEDIUM", + "value": 1 + }, + { + "name": "VIEWPORT_OCCLUSION_BUILD_QUALITY_HIGH", + "value": 2 + } + ] + }, + { + "name": "ViewportRenderInfo", + "values": [ + { + "name": "VIEWPORT_RENDER_INFO_OBJECTS_IN_FRAME", + "value": 0 + }, + { + "name": "VIEWPORT_RENDER_INFO_PRIMITIVES_IN_FRAME", + "value": 1 + }, + { + "name": "VIEWPORT_RENDER_INFO_DRAW_CALLS_IN_FRAME", + "value": 2 + }, + { + "name": "VIEWPORT_RENDER_INFO_MAX", + "value": 3 + } + ] + }, + { + "name": "ViewportRenderInfoType", + "values": [ + { + "name": "VIEWPORT_RENDER_INFO_TYPE_VISIBLE", + "value": 0 + }, + { + "name": "VIEWPORT_RENDER_INFO_TYPE_SHADOW", + "value": 1 + }, + { + "name": "VIEWPORT_RENDER_INFO_TYPE_MAX", + "value": 2 + } + ] + }, + { + "name": "ViewportDebugDraw", + "values": [ + { + "name": "VIEWPORT_DEBUG_DRAW_DISABLED", + "value": 0 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_UNSHADED", + "value": 1 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_LIGHTING", + "value": 2 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_OVERDRAW", + "value": 3 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_WIREFRAME", + "value": 4 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_NORMAL_BUFFER", + "value": 5 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_VOXEL_GI_ALBEDO", + "value": 6 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_VOXEL_GI_LIGHTING", + "value": 7 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_VOXEL_GI_EMISSION", + "value": 8 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_SHADOW_ATLAS", + "value": 9 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_DIRECTIONAL_SHADOW_ATLAS", + "value": 10 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_SCENE_LUMINANCE", + "value": 11 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_SSAO", + "value": 12 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_SSIL", + "value": 13 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_PSSM_SPLITS", + "value": 14 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_DECAL_ATLAS", + "value": 15 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_SDFGI", + "value": 16 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_SDFGI_PROBES", + "value": 17 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_GI_BUFFER", + "value": 18 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_DISABLE_LOD", + "value": 19 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_CLUSTER_OMNI_LIGHTS", + "value": 20 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_CLUSTER_SPOT_LIGHTS", + "value": 21 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_CLUSTER_DECALS", + "value": 22 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_CLUSTER_REFLECTION_PROBES", + "value": 23 + }, + { + "name": "VIEWPORT_DEBUG_DRAW_OCCLUDERS", + "value": 24 + } + ] + }, + { + "name": "SkyMode", + "values": [ + { + "name": "SKY_MODE_AUTOMATIC", + "value": 0 + }, + { + "name": "SKY_MODE_QUALITY", + "value": 1 + }, + { + "name": "SKY_MODE_INCREMENTAL", + "value": 2 + }, + { + "name": "SKY_MODE_REALTIME", + "value": 3 + } + ] + }, + { + "name": "EnvironmentBG", + "values": [ + { + "name": "ENV_BG_CLEAR_COLOR", + "value": 0 + }, + { + "name": "ENV_BG_COLOR", + "value": 1 + }, + { + "name": "ENV_BG_SKY", + "value": 2 + }, + { + "name": "ENV_BG_CANVAS", + "value": 3 + }, + { + "name": "ENV_BG_KEEP", + "value": 4 + }, + { + "name": "ENV_BG_CAMERA_FEED", + "value": 5 + }, + { + "name": "ENV_BG_MAX", + "value": 6 + } + ] + }, + { + "name": "EnvironmentAmbientSource", + "values": [ + { + "name": "ENV_AMBIENT_SOURCE_BG", + "value": 0 + }, + { + "name": "ENV_AMBIENT_SOURCE_DISABLED", + "value": 1 + }, + { + "name": "ENV_AMBIENT_SOURCE_COLOR", + "value": 2 + }, + { + "name": "ENV_AMBIENT_SOURCE_SKY", + "value": 3 + } + ] + }, + { + "name": "EnvironmentReflectionSource", + "values": [ + { + "name": "ENV_REFLECTION_SOURCE_BG", + "value": 0 + }, + { + "name": "ENV_REFLECTION_SOURCE_DISABLED", + "value": 1 + }, + { + "name": "ENV_REFLECTION_SOURCE_SKY", + "value": 2 + } + ] + }, { "name": "EnvironmentGlowBlendMode", "values": [ @@ -169196,6 +168778,603 @@ } ] }, + { + "name": "EnvironmentToneMapper", + "values": [ + { + "name": "ENV_TONE_MAPPER_LINEAR", + "value": 0 + }, + { + "name": "ENV_TONE_MAPPER_REINHARD", + "value": 1 + }, + { + "name": "ENV_TONE_MAPPER_FILMIC", + "value": 2 + }, + { + "name": "ENV_TONE_MAPPER_ACES", + "value": 3 + } + ] + }, + { + "name": "EnvironmentSSRRoughnessQuality", + "values": [ + { + "name": "ENV_SSR_ROUGHNESS_QUALITY_DISABLED", + "value": 0 + }, + { + "name": "ENV_SSR_ROUGHNESS_QUALITY_LOW", + "value": 1 + }, + { + "name": "ENV_SSR_ROUGHNESS_QUALITY_MEDIUM", + "value": 2 + }, + { + "name": "ENV_SSR_ROUGHNESS_QUALITY_HIGH", + "value": 3 + } + ] + }, + { + "name": "EnvironmentSSAOQuality", + "values": [ + { + "name": "ENV_SSAO_QUALITY_VERY_LOW", + "value": 0 + }, + { + "name": "ENV_SSAO_QUALITY_LOW", + "value": 1 + }, + { + "name": "ENV_SSAO_QUALITY_MEDIUM", + "value": 2 + }, + { + "name": "ENV_SSAO_QUALITY_HIGH", + "value": 3 + }, + { + "name": "ENV_SSAO_QUALITY_ULTRA", + "value": 4 + } + ] + }, + { + "name": "EnvironmentSSILQuality", + "values": [ + { + "name": "ENV_SSIL_QUALITY_VERY_LOW", + "value": 0 + }, + { + "name": "ENV_SSIL_QUALITY_LOW", + "value": 1 + }, + { + "name": "ENV_SSIL_QUALITY_MEDIUM", + "value": 2 + }, + { + "name": "ENV_SSIL_QUALITY_HIGH", + "value": 3 + }, + { + "name": "ENV_SSIL_QUALITY_ULTRA", + "value": 4 + } + ] + }, + { + "name": "EnvironmentSDFGIYScale", + "values": [ + { + "name": "ENV_SDFGI_Y_SCALE_50_PERCENT", + "value": 0 + }, + { + "name": "ENV_SDFGI_Y_SCALE_75_PERCENT", + "value": 1 + }, + { + "name": "ENV_SDFGI_Y_SCALE_100_PERCENT", + "value": 2 + } + ] + }, + { + "name": "EnvironmentSDFGIRayCount", + "values": [ + { + "name": "ENV_SDFGI_RAY_COUNT_4", + "value": 0 + }, + { + "name": "ENV_SDFGI_RAY_COUNT_8", + "value": 1 + }, + { + "name": "ENV_SDFGI_RAY_COUNT_16", + "value": 2 + }, + { + "name": "ENV_SDFGI_RAY_COUNT_32", + "value": 3 + }, + { + "name": "ENV_SDFGI_RAY_COUNT_64", + "value": 4 + }, + { + "name": "ENV_SDFGI_RAY_COUNT_96", + "value": 5 + }, + { + "name": "ENV_SDFGI_RAY_COUNT_128", + "value": 6 + }, + { + "name": "ENV_SDFGI_RAY_COUNT_MAX", + "value": 7 + } + ] + }, + { + "name": "EnvironmentSDFGIFramesToConverge", + "values": [ + { + "name": "ENV_SDFGI_CONVERGE_IN_5_FRAMES", + "value": 0 + }, + { + "name": "ENV_SDFGI_CONVERGE_IN_10_FRAMES", + "value": 1 + }, + { + "name": "ENV_SDFGI_CONVERGE_IN_15_FRAMES", + "value": 2 + }, + { + "name": "ENV_SDFGI_CONVERGE_IN_20_FRAMES", + "value": 3 + }, + { + "name": "ENV_SDFGI_CONVERGE_IN_25_FRAMES", + "value": 4 + }, + { + "name": "ENV_SDFGI_CONVERGE_IN_30_FRAMES", + "value": 5 + }, + { + "name": "ENV_SDFGI_CONVERGE_MAX", + "value": 6 + } + ] + }, + { + "name": "EnvironmentSDFGIFramesToUpdateLight", + "values": [ + { + "name": "ENV_SDFGI_UPDATE_LIGHT_IN_1_FRAME", + "value": 0 + }, + { + "name": "ENV_SDFGI_UPDATE_LIGHT_IN_2_FRAMES", + "value": 1 + }, + { + "name": "ENV_SDFGI_UPDATE_LIGHT_IN_4_FRAMES", + "value": 2 + }, + { + "name": "ENV_SDFGI_UPDATE_LIGHT_IN_8_FRAMES", + "value": 3 + }, + { + "name": "ENV_SDFGI_UPDATE_LIGHT_IN_16_FRAMES", + "value": 4 + }, + { + "name": "ENV_SDFGI_UPDATE_LIGHT_MAX", + "value": 5 + } + ] + }, + { + "name": "SubSurfaceScatteringQuality", + "values": [ + { + "name": "SUB_SURFACE_SCATTERING_QUALITY_DISABLED", + "value": 0 + }, + { + "name": "SUB_SURFACE_SCATTERING_QUALITY_LOW", + "value": 1 + }, + { + "name": "SUB_SURFACE_SCATTERING_QUALITY_MEDIUM", + "value": 2 + }, + { + "name": "SUB_SURFACE_SCATTERING_QUALITY_HIGH", + "value": 3 + } + ] + }, + { + "name": "DOFBokehShape", + "values": [ + { + "name": "DOF_BOKEH_BOX", + "value": 0 + }, + { + "name": "DOF_BOKEH_HEXAGON", + "value": 1 + }, + { + "name": "DOF_BOKEH_CIRCLE", + "value": 2 + } + ] + }, + { + "name": "DOFBlurQuality", + "values": [ + { + "name": "DOF_BLUR_QUALITY_VERY_LOW", + "value": 0 + }, + { + "name": "DOF_BLUR_QUALITY_LOW", + "value": 1 + }, + { + "name": "DOF_BLUR_QUALITY_MEDIUM", + "value": 2 + }, + { + "name": "DOF_BLUR_QUALITY_HIGH", + "value": 3 + } + ] + }, + { + "name": "InstanceType", + "values": [ + { + "name": "INSTANCE_NONE", + "value": 0 + }, + { + "name": "INSTANCE_MESH", + "value": 1 + }, + { + "name": "INSTANCE_MULTIMESH", + "value": 2 + }, + { + "name": "INSTANCE_PARTICLES", + "value": 3 + }, + { + "name": "INSTANCE_PARTICLES_COLLISION", + "value": 4 + }, + { + "name": "INSTANCE_LIGHT", + "value": 5 + }, + { + "name": "INSTANCE_REFLECTION_PROBE", + "value": 6 + }, + { + "name": "INSTANCE_DECAL", + "value": 7 + }, + { + "name": "INSTANCE_VOXEL_GI", + "value": 8 + }, + { + "name": "INSTANCE_LIGHTMAP", + "value": 9 + }, + { + "name": "INSTANCE_OCCLUDER", + "value": 10 + }, + { + "name": "INSTANCE_VISIBLITY_NOTIFIER", + "value": 11 + }, + { + "name": "INSTANCE_FOG_VOLUME", + "value": 12 + }, + { + "name": "INSTANCE_MAX", + "value": 13 + }, + { + "name": "INSTANCE_GEOMETRY_MASK", + "value": 14 + } + ] + }, + { + "name": "InstanceFlags", + "values": [ + { + "name": "INSTANCE_FLAG_USE_BAKED_LIGHT", + "value": 0 + }, + { + "name": "INSTANCE_FLAG_USE_DYNAMIC_GI", + "value": 1 + }, + { + "name": "INSTANCE_FLAG_DRAW_NEXT_FRAME_IF_VISIBLE", + "value": 2 + }, + { + "name": "INSTANCE_FLAG_IGNORE_OCCLUSION_CULLING", + "value": 3 + }, + { + "name": "INSTANCE_FLAG_MAX", + "value": 4 + } + ] + }, + { + "name": "ShadowCastingSetting", + "values": [ + { + "name": "SHADOW_CASTING_SETTING_OFF", + "value": 0 + }, + { + "name": "SHADOW_CASTING_SETTING_ON", + "value": 1 + }, + { + "name": "SHADOW_CASTING_SETTING_DOUBLE_SIDED", + "value": 2 + }, + { + "name": "SHADOW_CASTING_SETTING_SHADOWS_ONLY", + "value": 3 + } + ] + }, + { + "name": "VisibilityRangeFadeMode", + "values": [ + { + "name": "VISIBILITY_RANGE_FADE_DISABLED", + "value": 0 + }, + { + "name": "VISIBILITY_RANGE_FADE_SELF", + "value": 1 + }, + { + "name": "VISIBILITY_RANGE_FADE_DEPENDENCIES", + "value": 2 + } + ] + }, + { + "name": "BakeChannels", + "values": [ + { + "name": "BAKE_CHANNEL_ALBEDO_ALPHA", + "value": 0 + }, + { + "name": "BAKE_CHANNEL_NORMAL", + "value": 1 + }, + { + "name": "BAKE_CHANNEL_ORM", + "value": 2 + }, + { + "name": "BAKE_CHANNEL_EMISSION", + "value": 3 + } + ] + }, + { + "name": "CanvasTextureChannel", + "values": [ + { + "name": "CANVAS_TEXTURE_CHANNEL_DIFFUSE", + "value": 0 + }, + { + "name": "CANVAS_TEXTURE_CHANNEL_NORMAL", + "value": 1 + }, + { + "name": "CANVAS_TEXTURE_CHANNEL_SPECULAR", + "value": 2 + } + ] + }, + { + "name": "NinePatchAxisMode", + "values": [ + { + "name": "NINE_PATCH_STRETCH", + "value": 0 + }, + { + "name": "NINE_PATCH_TILE", + "value": 1 + }, + { + "name": "NINE_PATCH_TILE_FIT", + "value": 2 + } + ] + }, + { + "name": "CanvasItemTextureFilter", + "values": [ + { + "name": "CANVAS_ITEM_TEXTURE_FILTER_DEFAULT", + "value": 0 + }, + { + "name": "CANVAS_ITEM_TEXTURE_FILTER_NEAREST", + "value": 1 + }, + { + "name": "CANVAS_ITEM_TEXTURE_FILTER_LINEAR", + "value": 2 + }, + { + "name": "CANVAS_ITEM_TEXTURE_FILTER_NEAREST_WITH_MIPMAPS", + "value": 3 + }, + { + "name": "CANVAS_ITEM_TEXTURE_FILTER_LINEAR_WITH_MIPMAPS", + "value": 4 + }, + { + "name": "CANVAS_ITEM_TEXTURE_FILTER_NEAREST_WITH_MIPMAPS_ANISOTROPIC", + "value": 5 + }, + { + "name": "CANVAS_ITEM_TEXTURE_FILTER_LINEAR_WITH_MIPMAPS_ANISOTROPIC", + "value": 6 + }, + { + "name": "CANVAS_ITEM_TEXTURE_FILTER_MAX", + "value": 7 + } + ] + }, + { + "name": "CanvasItemTextureRepeat", + "values": [ + { + "name": "CANVAS_ITEM_TEXTURE_REPEAT_DEFAULT", + "value": 0 + }, + { + "name": "CANVAS_ITEM_TEXTURE_REPEAT_DISABLED", + "value": 1 + }, + { + "name": "CANVAS_ITEM_TEXTURE_REPEAT_ENABLED", + "value": 2 + }, + { + "name": "CANVAS_ITEM_TEXTURE_REPEAT_MIRROR", + "value": 3 + }, + { + "name": "CANVAS_ITEM_TEXTURE_REPEAT_MAX", + "value": 4 + } + ] + }, + { + "name": "CanvasGroupMode", + "values": [ + { + "name": "CANVAS_GROUP_MODE_DISABLED", + "value": 0 + }, + { + "name": "CANVAS_GROUP_MODE_OPAQUE", + "value": 1 + }, + { + "name": "CANVAS_GROUP_MODE_TRANSPARENT", + "value": 2 + } + ] + }, + { + "name": "CanvasLightMode", + "values": [ + { + "name": "CANVAS_LIGHT_MODE_POINT", + "value": 0 + }, + { + "name": "CANVAS_LIGHT_MODE_DIRECTIONAL", + "value": 1 + } + ] + }, + { + "name": "CanvasLightBlendMode", + "values": [ + { + "name": "CANVAS_LIGHT_BLEND_MODE_ADD", + "value": 0 + }, + { + "name": "CANVAS_LIGHT_BLEND_MODE_SUB", + "value": 1 + }, + { + "name": "CANVAS_LIGHT_BLEND_MODE_MIX", + "value": 2 + } + ] + }, + { + "name": "CanvasLightShadowFilter", + "values": [ + { + "name": "CANVAS_LIGHT_FILTER_NONE", + "value": 0 + }, + { + "name": "CANVAS_LIGHT_FILTER_PCF5", + "value": 1 + }, + { + "name": "CANVAS_LIGHT_FILTER_PCF13", + "value": 2 + }, + { + "name": "CANVAS_LIGHT_FILTER_MAX", + "value": 3 + } + ] + }, + { + "name": "CanvasOccluderPolygonCullMode", + "values": [ + { + "name": "CANVAS_OCCLUDER_POLYGON_CULL_DISABLED", + "value": 0 + }, + { + "name": "CANVAS_OCCLUDER_POLYGON_CULL_CLOCKWISE", + "value": 1 + }, + { + "name": "CANVAS_OCCLUDER_POLYGON_CULL_COUNTER_CLOCKWISE", + "value": 2 + } + ] + }, { "name": "GlobalVariableType", "values": [ @@ -169317,146 +169496,6 @@ } ] }, - { - "name": "CanvasLightMode", - "values": [ - { - "name": "CANVAS_LIGHT_MODE_POINT", - "value": 0 - }, - { - "name": "CANVAS_LIGHT_MODE_DIRECTIONAL", - "value": 1 - } - ] - }, - { - "name": "TextureLayeredType", - "values": [ - { - "name": "TEXTURE_LAYERED_2D_ARRAY", - "value": 0 - }, - { - "name": "TEXTURE_LAYERED_CUBEMAP", - "value": 1 - }, - { - "name": "TEXTURE_LAYERED_CUBEMAP_ARRAY", - "value": 2 - } - ] - }, - { - "name": "LightParam", - "values": [ - { - "name": "LIGHT_PARAM_ENERGY", - "value": 0 - }, - { - "name": "LIGHT_PARAM_INDIRECT_ENERGY", - "value": 1 - }, - { - "name": "LIGHT_PARAM_SPECULAR", - "value": 2 - }, - { - "name": "LIGHT_PARAM_RANGE", - "value": 3 - }, - { - "name": "LIGHT_PARAM_SIZE", - "value": 4 - }, - { - "name": "LIGHT_PARAM_ATTENUATION", - "value": 5 - }, - { - "name": "LIGHT_PARAM_SPOT_ANGLE", - "value": 6 - }, - { - "name": "LIGHT_PARAM_SPOT_ATTENUATION", - "value": 7 - }, - { - "name": "LIGHT_PARAM_SHADOW_MAX_DISTANCE", - "value": 8 - }, - { - "name": "LIGHT_PARAM_SHADOW_SPLIT_1_OFFSET", - "value": 9 - }, - { - "name": "LIGHT_PARAM_SHADOW_SPLIT_2_OFFSET", - "value": 10 - }, - { - "name": "LIGHT_PARAM_SHADOW_SPLIT_3_OFFSET", - "value": 11 - }, - { - "name": "LIGHT_PARAM_SHADOW_FADE_START", - "value": 12 - }, - { - "name": "LIGHT_PARAM_SHADOW_NORMAL_BIAS", - "value": 13 - }, - { - "name": "LIGHT_PARAM_SHADOW_BIAS", - "value": 14 - }, - { - "name": "LIGHT_PARAM_SHADOW_PANCAKE_SIZE", - "value": 15 - }, - { - "name": "LIGHT_PARAM_SHADOW_BLUR", - "value": 16 - }, - { - "name": "LIGHT_PARAM_SHADOW_VOLUMETRIC_FOG_FADE", - "value": 17 - }, - { - "name": "LIGHT_PARAM_TRANSMITTANCE_BIAS", - "value": 18 - }, - { - "name": "LIGHT_PARAM_MAX", - "value": 19 - } - ] - }, - { - "name": "EnvironmentSSILQuality", - "values": [ - { - "name": "ENV_SSIL_QUALITY_VERY_LOW", - "value": 0 - }, - { - "name": "ENV_SSIL_QUALITY_LOW", - "value": 1 - }, - { - "name": "ENV_SSIL_QUALITY_MEDIUM", - "value": 2 - }, - { - "name": "ENV_SSIL_QUALITY_HIGH", - "value": 3 - }, - { - "name": "ENV_SSIL_QUALITY_ULTRA", - "value": 4 - } - ] - }, { "name": "RenderingInfo", "values": [ @@ -169487,107 +169526,15 @@ ] }, { - "name": "CanvasOccluderPolygonCullMode", + "name": "Features", "values": [ { - "name": "CANVAS_OCCLUDER_POLYGON_CULL_DISABLED", + "name": "FEATURE_SHADERS", "value": 0 }, { - "name": "CANVAS_OCCLUDER_POLYGON_CULL_CLOCKWISE", + "name": "FEATURE_MULTITHREADED", "value": 1 - }, - { - "name": "CANVAS_OCCLUDER_POLYGON_CULL_COUNTER_CLOCKWISE", - "value": 2 - } - ] - }, - { - "name": "CubeMapLayer", - "values": [ - { - "name": "CUBEMAP_LAYER_LEFT", - "value": 0 - }, - { - "name": "CUBEMAP_LAYER_RIGHT", - "value": 1 - }, - { - "name": "CUBEMAP_LAYER_BOTTOM", - "value": 2 - }, - { - "name": "CUBEMAP_LAYER_TOP", - "value": 3 - }, - { - "name": "CUBEMAP_LAYER_FRONT", - "value": 4 - }, - { - "name": "CUBEMAP_LAYER_BACK", - "value": 5 - } - ] - }, - { - "name": "LightType", - "values": [ - { - "name": "LIGHT_DIRECTIONAL", - "value": 0 - }, - { - "name": "LIGHT_OMNI", - "value": 1 - }, - { - "name": "LIGHT_SPOT", - "value": 2 - } - ] - }, - { - "name": "DecalTexture", - "values": [ - { - "name": "DECAL_TEXTURE_ALBEDO", - "value": 0 - }, - { - "name": "DECAL_TEXTURE_NORMAL", - "value": 1 - }, - { - "name": "DECAL_TEXTURE_ORM", - "value": 2 - }, - { - "name": "DECAL_TEXTURE_EMISSION", - "value": 3 - }, - { - "name": "DECAL_TEXTURE_MAX", - "value": 4 - } - ] - }, - { - "name": "VisibilityRangeFadeMode", - "values": [ - { - "name": "VISIBILITY_RANGE_FADE_DISABLED", - "value": 0 - }, - { - "name": "VISIBILITY_RANGE_FADE_SELF", - "value": 1 - }, - { - "name": "VISIBILITY_RANGE_FADE_DEPENDENCIES", - "value": 2 } ] } @@ -178459,10 +178406,10 @@ ], "signals": [ { - "name": "frame_post_draw" + "name": "frame_pre_draw" }, { - "name": "frame_pre_draw" + "name": "frame_post_draw" } ], "properties": [ @@ -178630,10 +178577,10 @@ ], "signals": [ { - "name": "setup_local_to_scene_requested" + "name": "changed" }, { - "name": "changed" + "name": "setup_local_to_scene_requested" } ], "properties": [ @@ -179780,27 +179727,23 @@ "api_type": "core", "enums": [ { - "name": "VisibleCharactersBehavior", + "name": "AutowrapMode", "values": [ { - "name": "VC_CHARS_BEFORE_SHAPING", + "name": "AUTOWRAP_OFF", "value": 0 }, { - "name": "VC_CHARS_AFTER_SHAPING", + "name": "AUTOWRAP_ARBITRARY", "value": 1 }, { - "name": "VC_GLYPHS_AUTO", + "name": "AUTOWRAP_WORD", "value": 2 }, { - "name": "VC_GLYPHS_LTR", + "name": "AUTOWRAP_WORD_SMART", "value": 3 - }, - { - "name": "VC_GLYPHS_RTL", - "value": 4 } ] }, @@ -179825,27 +179768,6 @@ } ] }, - { - "name": "AutowrapMode", - "values": [ - { - "name": "AUTOWRAP_OFF", - "value": 0 - }, - { - "name": "AUTOWRAP_ARBITRARY", - "value": 1 - }, - { - "name": "AUTOWRAP_WORD", - "value": 2 - }, - { - "name": "AUTOWRAP_WORD_SMART", - "value": 3 - } - ] - }, { "name": "ItemType", "values": [ @@ -179958,6 +179880,31 @@ "value": 26 } ] + }, + { + "name": "VisibleCharactersBehavior", + "values": [ + { + "name": "VC_CHARS_BEFORE_SHAPING", + "value": 0 + }, + { + "name": "VC_CHARS_AFTER_SHAPING", + "value": 1 + }, + { + "name": "VC_GLYPHS_AUTO", + "value": 2 + }, + { + "name": "VC_GLYPHS_LTR", + "value": 3 + }, + { + "name": "VC_GLYPHS_RTL", + "value": 4 + } + ] } ], "methods": [ @@ -181036,6 +180983,69 @@ "type": "String" } }, + { + "name": "is_ready", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_threaded", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "threaded", + "type": "bool" + } + ] + }, + { + "name": "is_threaded", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, + { + "name": "set_progress_bar_delay", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "delay_ms", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_progress_bar_delay", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, { "name": "set_visible_characters", "is_const": false, @@ -181406,6 +181416,9 @@ "type": "Variant" } ] + }, + { + "name": "finished" } ], "properties": [ @@ -181416,6 +181429,20 @@ "getter": "is_using_bbcode", "index": -1 }, + { + "type": "bool", + "name": "threaded", + "setter": "set_threaded", + "getter": "is_threaded", + "index": -1 + }, + { + "type": "int", + "name": "progress_bar_delay", + "setter": "set_progress_bar_delay", + "getter": "get_progress_bar_delay", + "index": -1 + }, { "type": "int", "name": "tab_size", @@ -181586,19 +181613,15 @@ ] }, { - "name": "CCDMode", + "name": "CenterOfMassMode", "values": [ { - "name": "CCD_MODE_DISABLED", + "name": "CENTER_OF_MASS_MODE_AUTO", "value": 0 }, { - "name": "CCD_MODE_CAST_RAY", + "name": "CENTER_OF_MASS_MODE_CUSTOM", "value": 1 - }, - { - "name": "CCD_MODE_CAST_SHAPE", - "value": 2 } ] }, @@ -181616,15 +181639,19 @@ ] }, { - "name": "CenterOfMassMode", + "name": "CCDMode", "values": [ { - "name": "CENTER_OF_MASS_MODE_AUTO", + "name": "CCD_MODE_DISABLED", "value": 0 }, { - "name": "CENTER_OF_MASS_MODE_CUSTOM", + "name": "CCD_MODE_CAST_RAY", "value": 1 + }, + { + "name": "CCD_MODE_CAST_SHAPE", + "value": 2 } ] } @@ -182406,15 +182433,6 @@ } ], "signals": [ - { - "name": "body_entered", - "arguments": [ - { - "name": "body", - "type": "Node" - } - ] - }, { "name": "body_shape_entered", "arguments": [ @@ -182436,18 +182454,6 @@ } ] }, - { - "name": "sleeping_state_changed" - }, - { - "name": "body_exited", - "arguments": [ - { - "name": "body", - "type": "Node" - } - ] - }, { "name": "body_shape_exited", "arguments": [ @@ -182468,6 +182474,27 @@ "type": "int" } ] + }, + { + "name": "body_entered", + "arguments": [ + { + "name": "body", + "type": "Node" + } + ] + }, + { + "name": "body_exited", + "arguments": [ + { + "name": "body", + "type": "Node" + } + ] + }, + { + "name": "sleeping_state_changed" } ], "properties": [ @@ -182654,19 +182681,6 @@ } ] }, - { - "name": "DampMode", - "values": [ - { - "name": "DAMP_MODE_COMBINE", - "value": 0 - }, - { - "name": "DAMP_MODE_REPLACE", - "value": 1 - } - ] - }, { "name": "CenterOfMassMode", "values": [ @@ -182679,6 +182693,19 @@ "value": 1 } ] + }, + { + "name": "DampMode", + "values": [ + { + "name": "DAMP_MODE_COMBINE", + "value": 0 + }, + { + "name": "DAMP_MODE_REPLACE", + "value": 1 + } + ] } ], "methods": [ @@ -183459,15 +183486,6 @@ } ], "signals": [ - { - "name": "body_entered", - "arguments": [ - { - "name": "body", - "type": "Node" - } - ] - }, { "name": "body_shape_entered", "arguments": [ @@ -183489,18 +183507,6 @@ } ] }, - { - "name": "sleeping_state_changed" - }, - { - "name": "body_exited", - "arguments": [ - { - "name": "body", - "type": "Node" - } - ] - }, { "name": "body_shape_exited", "arguments": [ @@ -183521,6 +183527,27 @@ "type": "int" } ] + }, + { + "name": "body_entered", + "arguments": [ + { + "name": "body", + "type": "Node" + } + ] + }, + { + "name": "body_exited", + "arguments": [ + { + "name": "body", + "type": "Node" + } + ] + }, + { + "name": "sleeping_state_changed" } ], "properties": [ @@ -183769,6 +183796,23 @@ } ] }, + { + "name": "has_property", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "path", + "type": "NodePath" + } + ] + }, { "name": "remove_property", "is_const": false, @@ -184348,6 +184392,17 @@ } ] }, + { + "name": "is_auto_accept_quit", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, { "name": "set_auto_accept_quit", "is_const": false, @@ -184362,6 +184417,17 @@ } ] }, + { + "name": "is_quit_on_go_back", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + }, { "name": "set_quit_on_go_back", "is_const": false, @@ -184876,29 +184942,11 @@ ], "signals": [ { - "name": "node_configuration_warning_changed", - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] + "name": "tree_changed" }, { "name": "tree_process_mode_changed" }, - { - "name": "physics_frame" - }, - { - "name": "node_removed", - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, { "name": "node_added", "arguments": [ @@ -184909,7 +184957,13 @@ ] }, { - "name": "process_frame" + "name": "node_removed", + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] }, { "name": "node_renamed", @@ -184921,10 +184975,36 @@ ] }, { - "name": "tree_changed" + "name": "node_configuration_warning_changed", + "arguments": [ + { + "name": "node", + "type": "Node" + } + ] + }, + { + "name": "process_frame" + }, + { + "name": "physics_frame" } ], "properties": [ + { + "type": "bool", + "name": "auto_accept_quit", + "setter": "set_auto_accept_quit", + "getter": "is_auto_accept_quit", + "index": -1 + }, + { + "type": "bool", + "name": "quit_on_go_back", + "setter": "set_quit_on_go_back", + "getter": "is_quit_on_go_back", + "index": -1 + }, { "type": "bool", "name": "debug_collisions_hint", @@ -185453,39 +185533,21 @@ } ], "signals": [ + { + "name": "name_changed" + }, { "name": "edited_script_changed" }, { - "name": "replace_in_files_requested", + "name": "request_help", "arguments": [ { - "name": "text", + "name": "topic", "type": "String" } ] }, - { - "name": "search_in_files_requested", - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "go_to_help", - "arguments": [ - { - "name": "what", - "type": "String" - } - ] - }, - { - "name": "request_save_history" - }, { "name": "request_open_script_at_line", "arguments": [ @@ -185500,16 +185562,34 @@ ] }, { - "name": "request_help", + "name": "request_save_history" + }, + { + "name": "go_to_help", "arguments": [ { - "name": "topic", + "name": "what", "type": "String" } ] }, { - "name": "name_changed" + "name": "search_in_files_requested", + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "replace_in_files_requested", + "arguments": [ + { + "name": "text", + "type": "String" + } + ] } ] }, @@ -185899,6 +185979,68 @@ "inherits": "ScriptLanguage", "api_type": "core", "enums": [ + { + "name": "LookupResultType", + "values": [ + { + "name": "LOOKUP_RESULT_SCRIPT_LOCATION", + "value": 0 + }, + { + "name": "LOOKUP_RESULT_CLASS", + "value": 1 + }, + { + "name": "LOOKUP_RESULT_CLASS_CONSTANT", + "value": 2 + }, + { + "name": "LOOKUP_RESULT_CLASS_PROPERTY", + "value": 3 + }, + { + "name": "LOOKUP_RESULT_CLASS_METHOD", + "value": 4 + }, + { + "name": "LOOKUP_RESULT_CLASS_SIGNAL", + "value": 5 + }, + { + "name": "LOOKUP_RESULT_CLASS_ENUM", + "value": 6 + }, + { + "name": "LOOKUP_RESULT_CLASS_TBD_GLOBALSCOPE", + "value": 7 + }, + { + "name": "LOOKUP_RESULT_MAX", + "value": 8 + } + ] + }, + { + "name": "CodeCompletionLocation", + "values": [ + { + "name": "LOCATION_LOCAL", + "value": 0 + }, + { + "name": "LOCATION_PARENT_MASK", + "value": 256 + }, + { + "name": "LOCATION_OTHER_USER_CODE", + "value": 512 + }, + { + "name": "LOCATION_OTHER", + "value": 1024 + } + ] + }, { "name": "CodeCompletionKind", "values": [ @@ -185947,64 +186089,6 @@ "value": 10 } ] - }, - { - "name": "LookupResultType", - "values": [ - { - "name": "LOOKUP_RESULT_SCRIPT_LOCATION", - "value": 0 - }, - { - "name": "LOOKUP_RESULT_CLASS", - "value": 1 - }, - { - "name": "LOOKUP_RESULT_CLASS_CONSTANT", - "value": 2 - }, - { - "name": "LOOKUP_RESULT_CLASS_PROPERTY", - "value": 3 - }, - { - "name": "LOOKUP_RESULT_CLASS_METHOD", - "value": 4 - }, - { - "name": "LOOKUP_RESULT_CLASS_ENUM", - "value": 5 - }, - { - "name": "LOOKUP_RESULT_CLASS_TBD_GLOBALSCOPE", - "value": 6 - }, - { - "name": "LOOKUP_RESULT_MAX", - "value": 7 - } - ] - }, - { - "name": "CodeCompletionLocation", - "values": [ - { - "name": "LOCATION_LOCAL", - "value": 0 - }, - { - "name": "LOCATION_PARENT_MASK", - "value": 256 - }, - { - "name": "LOCATION_OTHER_USER_CODE", - "value": 512 - }, - { - "name": "LOCATION_OTHER", - "value": 1024 - } - ] } ], "methods": [ @@ -189681,6 +189765,9 @@ } ], "signals": [ + { + "name": "pose_updated" + }, { "name": "bone_pose_changed", "arguments": [ @@ -189690,9 +189777,6 @@ } ] }, - { - "name": "pose_updated" - }, { "name": "bone_enabled_changed", "arguments": [ @@ -195142,27 +195226,6 @@ "inherits": "Resource", "api_type": "core", "enums": [ - { - "name": "ProcessMode", - "values": [ - { - "name": "PROCESS_MODE_AUTOMATIC", - "value": 0 - }, - { - "name": "PROCESS_MODE_QUALITY", - "value": 1 - }, - { - "name": "PROCESS_MODE_INCREMENTAL", - "value": 2 - }, - { - "name": "PROCESS_MODE_REALTIME", - "value": 3 - } - ] - }, { "name": "RadianceSize", "values": [ @@ -195199,6 +195262,27 @@ "value": 7 } ] + }, + { + "name": "ProcessMode", + "values": [ + { + "name": "PROCESS_MODE_AUTOMATIC", + "value": 0 + }, + { + "name": "PROCESS_MODE_QUALITY", + "value": 1 + }, + { + "name": "PROCESS_MODE_INCREMENTAL", + "value": 2 + }, + { + "name": "PROCESS_MODE_REALTIME", + "value": 3 + } + ] } ], "methods": [ @@ -199734,6 +199818,17 @@ "type": "enum::StreamPeerSSL.Status" } }, + { + "name": "get_stream", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "StreamPeer" + } + }, { "name": "disconnect_from_stream", "is_const": false, @@ -201359,13 +201454,6 @@ "getter": "get_texture", "index": -1 }, - { - "type": "Rect2", - "name": "region_rect", - "setter": "set_region_rect", - "getter": "get_region_rect", - "index": -1 - }, { "type": "float", "name": "margin_left", @@ -201436,6 +201524,13 @@ "getter": "get_v_axis_stretch_mode", "index": -1 }, + { + "type": "Rect2", + "name": "region_rect", + "setter": "set_region_rect", + "getter": "get_region_rect", + "index": -1 + }, { "type": "Color", "name": "modulate_color", @@ -203268,51 +203363,6 @@ } ], "signals": [ - { - "name": "tab_hovered", - "arguments": [ - { - "name": "tab", - "type": "int" - } - ] - }, - { - "name": "active_tab_rearranged", - "arguments": [ - { - "name": "idx_to", - "type": "int" - } - ] - }, - { - "name": "tab_rmb_clicked", - "arguments": [ - { - "name": "tab", - "type": "int" - } - ] - }, - { - "name": "tab_clicked", - "arguments": [ - { - "name": "tab", - "type": "int" - } - ] - }, - { - "name": "tab_button_pressed", - "arguments": [ - { - "name": "tab", - "type": "int" - } - ] - }, { "name": "tab_selected", "arguments": [ @@ -203331,6 +203381,24 @@ } ] }, + { + "name": "tab_clicked", + "arguments": [ + { + "name": "tab", + "type": "int" + } + ] + }, + { + "name": "tab_rmb_clicked", + "arguments": [ + { + "name": "tab", + "type": "int" + } + ] + }, { "name": "tab_close_pressed", "arguments": [ @@ -203339,6 +203407,33 @@ "type": "int" } ] + }, + { + "name": "tab_button_pressed", + "arguments": [ + { + "name": "tab", + "type": "int" + } + ] + }, + { + "name": "tab_hovered", + "arguments": [ + { + "name": "tab", + "type": "int" + } + ] + }, + { + "name": "active_tab_rearranged", + "arguments": [ + { + "name": "idx_to", + "type": "int" + } + ] } ], "properties": [ @@ -203934,10 +204029,7 @@ ], "signals": [ { - "name": "pre_popup_pressed" - }, - { - "name": "tab_button_pressed", + "name": "tab_changed", "arguments": [ { "name": "tab", @@ -203955,13 +204047,16 @@ ] }, { - "name": "tab_changed", + "name": "tab_button_pressed", "arguments": [ { "name": "tab", "type": "int" } ] + }, + { + "name": "pre_popup_pressed" } ], "properties": [ @@ -204030,78 +204125,6 @@ "inherits": "Control", "api_type": "core", "enums": [ - { - "name": "SelectionMode", - "values": [ - { - "name": "SELECTION_MODE_NONE", - "value": 0 - }, - { - "name": "SELECTION_MODE_SHIFT", - "value": 1 - }, - { - "name": "SELECTION_MODE_POINTER", - "value": 2 - }, - { - "name": "SELECTION_MODE_WORD", - "value": 3 - }, - { - "name": "SELECTION_MODE_LINE", - "value": 4 - } - ] - }, - { - "name": "SearchFlags", - "values": [ - { - "name": "SEARCH_MATCH_CASE", - "value": 1 - }, - { - "name": "SEARCH_WHOLE_WORDS", - "value": 2 - }, - { - "name": "SEARCH_BACKWARDS", - "value": 4 - } - ] - }, - { - "name": "GutterType", - "values": [ - { - "name": "GUTTER_TYPE_STRING", - "value": 0 - }, - { - "name": "GUTTER_TYPE_ICON", - "value": 1 - }, - { - "name": "GUTTER_TYPE_CUSTOM", - "value": 2 - } - ] - }, - { - "name": "LineWrappingMode", - "values": [ - { - "name": "LINE_WRAPPING_NONE", - "value": 0 - }, - { - "name": "LINE_WRAPPING_BOUNDARY", - "value": 1 - } - ] - }, { "name": "MenuItems", "values": [ @@ -204223,6 +204246,23 @@ } ] }, + { + "name": "SearchFlags", + "values": [ + { + "name": "SEARCH_MATCH_CASE", + "value": 1 + }, + { + "name": "SEARCH_WHOLE_WORDS", + "value": 2 + }, + { + "name": "SEARCH_BACKWARDS", + "value": 4 + } + ] + }, { "name": "CaretType", "values": [ @@ -204235,6 +204275,61 @@ "value": 1 } ] + }, + { + "name": "SelectionMode", + "values": [ + { + "name": "SELECTION_MODE_NONE", + "value": 0 + }, + { + "name": "SELECTION_MODE_SHIFT", + "value": 1 + }, + { + "name": "SELECTION_MODE_POINTER", + "value": 2 + }, + { + "name": "SELECTION_MODE_WORD", + "value": 3 + }, + { + "name": "SELECTION_MODE_LINE", + "value": 4 + } + ] + }, + { + "name": "LineWrappingMode", + "values": [ + { + "name": "LINE_WRAPPING_NONE", + "value": 0 + }, + { + "name": "LINE_WRAPPING_BOUNDARY", + "value": 1 + } + ] + }, + { + "name": "GutterType", + "values": [ + { + "name": "GUTTER_TYPE_STRING", + "value": 0 + }, + { + "name": "GUTTER_TYPE_ICON", + "value": 1 + }, + { + "name": "GUTTER_TYPE_CUSTOM", + "value": 2 + } + ] } ], "methods": [ @@ -207073,10 +207168,10 @@ ], "signals": [ { - "name": "gutter_removed" + "name": "text_set" }, { - "name": "gutter_added" + "name": "text_changed" }, { "name": "lines_edited_from", @@ -207091,15 +207186,9 @@ } ] }, - { - "name": "text_changed" - }, { "name": "caret_changed" }, - { - "name": "text_set" - }, { "name": "gutter_clicked", "arguments": [ @@ -207112,6 +207201,12 @@ "type": "int" } ] + }, + { + "name": "gutter_added" + }, + { + "name": "gutter_removed" } ], "properties": [ @@ -207962,6 +208057,488 @@ } ] }, + { + "name": "TextMesh", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "PrimitiveMesh", + "api_type": "core", + "methods": [ + { + "name": "set_horizontal_alignment", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "alignment", + "type": "enum::HorizontalAlignment" + } + ] + }, + { + "name": "get_horizontal_alignment", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::HorizontalAlignment" + } + }, + { + "name": "set_text", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "text", + "type": "String" + } + ] + }, + { + "name": "get_text", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_font", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "font", + "type": "Font" + } + ] + }, + { + "name": "get_font", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Font" + } + }, + { + "name": "set_font_size", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "font_size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_font_size", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_depth", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "depth", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_depth", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_width", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "width", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_width", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_pixel_size", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "pixel_size", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_pixel_size", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_curve_step", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "curve_step", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_curve_step", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_text_direction", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "direction", + "type": "enum::TextServer.Direction" + } + ] + }, + { + "name": "get_text_direction", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::TextServer.Direction" + } + }, + { + "name": "set_opentype_feature", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134224103, + "arguments": [ + { + "name": "tag", + "type": "String" + }, + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_opentype_feature", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135374120, + "return_value": { + "type": "int", + "meta": "int32" + }, + "arguments": [ + { + "name": "tag", + "type": "String" + } + ] + }, + { + "name": "clear_opentype_features", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134152229 + }, + { + "name": "set_language", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "get_language", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "String" + } + }, + { + "name": "set_structured_text_bidi_override", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "parser", + "type": "enum::TextServer.StructuredTextParser" + } + ] + }, + { + "name": "get_structured_text_bidi_override", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "enum::TextServer.StructuredTextParser" + } + }, + { + "name": "set_structured_text_bidi_override_options", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "args", + "type": "Array" + } + ] + }, + { + "name": "get_structured_text_bidi_override_options", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "Array" + } + }, + { + "name": "set_uppercase", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_uppercase", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338183, + "return_value": { + "type": "bool" + } + } + ], + "properties": [ + { + "type": "String", + "name": "text", + "setter": "set_text", + "getter": "get_text", + "index": -1 + }, + { + "type": "Font", + "name": "font", + "setter": "set_font", + "getter": "get_font", + "index": -1 + }, + { + "type": "int", + "name": "font_size", + "setter": "set_font_size", + "getter": "get_font_size", + "index": -1 + }, + { + "type": "int", + "name": "horizontal_alignment", + "setter": "set_horizontal_alignment", + "getter": "get_horizontal_alignment", + "index": -1 + }, + { + "type": "bool", + "name": "uppercase", + "setter": "set_uppercase", + "getter": "is_uppercase", + "index": -1 + }, + { + "type": "int", + "name": "structured_text_bidi_override", + "setter": "set_structured_text_bidi_override", + "getter": "get_structured_text_bidi_override", + "index": -1 + }, + { + "type": "Array", + "name": "structured_text_bidi_override_options", + "setter": "set_structured_text_bidi_override_options", + "getter": "get_structured_text_bidi_override_options", + "index": -1 + }, + { + "type": "float", + "name": "pixel_size", + "setter": "set_pixel_size", + "getter": "get_pixel_size", + "index": -1 + }, + { + "type": "float", + "name": "curve_step", + "setter": "set_curve_step", + "getter": "get_curve_step", + "index": -1 + }, + { + "type": "float", + "name": "depth", + "setter": "set_depth", + "getter": "get_depth", + "index": -1 + }, + { + "type": "float", + "name": "width", + "setter": "set_width", + "getter": "get_width", + "index": -1 + }, + { + "type": "int", + "name": "text_direction", + "setter": "set_text_direction", + "getter": "get_text_direction", + "index": -1 + }, + { + "type": "String", + "name": "language", + "setter": "set_language", + "getter": "get_language", + "index": -1 + } + ] + }, { "name": "TextParagraph", "is_refcounted": true, @@ -209003,6 +209580,119 @@ "inherits": "RefCounted", "api_type": "core", "enums": [ + { + "name": "Direction", + "values": [ + { + "name": "DIRECTION_AUTO", + "value": 0 + }, + { + "name": "DIRECTION_LTR", + "value": 1 + }, + { + "name": "DIRECTION_RTL", + "value": 2 + } + ] + }, + { + "name": "Orientation", + "values": [ + { + "name": "ORIENTATION_HORIZONTAL", + "value": 0 + }, + { + "name": "ORIENTATION_VERTICAL", + "value": 1 + } + ] + }, + { + "name": "JustificationFlag", + "values": [ + { + "name": "JUSTIFICATION_NONE", + "value": 0 + }, + { + "name": "JUSTIFICATION_KASHIDA", + "value": 1 + }, + { + "name": "JUSTIFICATION_WORD_BOUND", + "value": 2 + }, + { + "name": "JUSTIFICATION_TRIM_EDGE_SPACES", + "value": 4 + }, + { + "name": "JUSTIFICATION_AFTER_LAST_TAB", + "value": 8 + }, + { + "name": "JUSTIFICATION_CONSTRAIN_ELLIPSIS", + "value": 16 + } + ] + }, + { + "name": "LineBreakFlag", + "values": [ + { + "name": "BREAK_NONE", + "value": 0 + }, + { + "name": "BREAK_MANDATORY", + "value": 32 + }, + { + "name": "BREAK_WORD_BOUND", + "value": 64 + }, + { + "name": "BREAK_GRAPHEME_BOUND", + "value": 128 + }, + { + "name": "BREAK_WORD_BOUND_ADAPTIVE", + "value": 320 + } + ] + }, + { + "name": "TextOverrunFlag", + "values": [ + { + "name": "OVERRUN_NO_TRIMMING", + "value": 0 + }, + { + "name": "OVERRUN_TRIM", + "value": 1 + }, + { + "name": "OVERRUN_TRIM_WORD_ONLY", + "value": 2 + }, + { + "name": "OVERRUN_ADD_ELLIPSIS", + "value": 4 + }, + { + "name": "OVERRUN_ENFORCE_ELLIPSIS", + "value": 8 + }, + { + "name": "OVERRUN_JUSTIFICATION_AWARE", + "value": 16 + } + ] + }, { "name": "GraphemeFlag", "values": [ @@ -209052,6 +209742,52 @@ } ] }, + { + "name": "Hinting", + "values": [ + { + "name": "HINTING_NONE", + "value": 0 + }, + { + "name": "HINTING_LIGHT", + "value": 1 + }, + { + "name": "HINTING_NORMAL", + "value": 2 + } + ] + }, + { + "name": "SubpixelPositioning", + "values": [ + { + "name": "SUBPIXEL_POSITIONING_DISABLED", + "value": 0 + }, + { + "name": "SUBPIXEL_POSITIONING_AUTO", + "value": 1 + }, + { + "name": "SUBPIXEL_POSITIONING_ONE_HALF", + "value": 2 + }, + { + "name": "SUBPIXEL_POSITIONING_ONE_QUARTER", + "value": 3 + }, + { + "name": "SUBPIXEL_POSITIONING_ONE_HALF_MAX_SIZE", + "value": 20 + }, + { + "name": "SUBPIXEL_POSITIONING_ONE_QUARTER_MAX_SIZE", + "value": 16 + } + ] + }, { "name": "Feature", "values": [ @@ -209110,44 +209846,57 @@ ] }, { - "name": "Orientation", + "name": "ContourPointTag", "values": [ { - "name": "ORIENTATION_HORIZONTAL", + "name": "CONTOUR_CURVE_TAG_ON", + "value": 1 + }, + { + "name": "CONTOUR_CURVE_TAG_OFF_CONIC", "value": 0 }, { - "name": "ORIENTATION_VERTICAL", - "value": 1 + "name": "CONTOUR_CURVE_TAG_OFF_CUBIC", + "value": 2 } ] }, { - "name": "JustificationFlag", + "name": "SpacingType", "values": [ { - "name": "JUSTIFICATION_NONE", + "name": "SPACING_GLYPH", "value": 0 }, { - "name": "JUSTIFICATION_KASHIDA", + "name": "SPACING_SPACE", "value": 1 }, { - "name": "JUSTIFICATION_WORD_BOUND", + "name": "SPACING_TOP", "value": 2 }, { - "name": "JUSTIFICATION_TRIM_EDGE_SPACES", + "name": "SPACING_BOTTOM", + "value": 3 + } + ] + }, + { + "name": "FontStyle", + "values": [ + { + "name": "FONT_BOLD", + "value": 1 + }, + { + "name": "FONT_ITALIC", + "value": 2 + }, + { + "name": "FONT_FIXED_WIDTH", "value": 4 - }, - { - "name": "JUSTIFICATION_AFTER_LAST_TAB", - "value": 8 - }, - { - "name": "JUSTIFICATION_CONSTRAIN_ELLIPSIS", - "value": 16 } ] }, @@ -209183,178 +209932,6 @@ "value": 6 } ] - }, - { - "name": "SpacingType", - "values": [ - { - "name": "SPACING_GLYPH", - "value": 0 - }, - { - "name": "SPACING_SPACE", - "value": 1 - }, - { - "name": "SPACING_TOP", - "value": 2 - }, - { - "name": "SPACING_BOTTOM", - "value": 3 - } - ] - }, - { - "name": "SubpixelPositioning", - "values": [ - { - "name": "SUBPIXEL_POSITIONING_DISABLED", - "value": 0 - }, - { - "name": "SUBPIXEL_POSITIONING_AUTO", - "value": 1 - }, - { - "name": "SUBPIXEL_POSITIONING_ONE_HALF", - "value": 2 - }, - { - "name": "SUBPIXEL_POSITIONING_ONE_QUARTER", - "value": 3 - }, - { - "name": "SUBPIXEL_POSITIONING_ONE_HALF_MAX_SIZE", - "value": 20 - }, - { - "name": "SUBPIXEL_POSITIONING_ONE_QUARTER_MAX_SIZE", - "value": 16 - } - ] - }, - { - "name": "LineBreakFlag", - "values": [ - { - "name": "BREAK_NONE", - "value": 0 - }, - { - "name": "BREAK_MANDATORY", - "value": 32 - }, - { - "name": "BREAK_WORD_BOUND", - "value": 64 - }, - { - "name": "BREAK_GRAPHEME_BOUND", - "value": 128 - }, - { - "name": "BREAK_WORD_BOUND_ADAPTIVE", - "value": 320 - } - ] - }, - { - "name": "FontStyle", - "values": [ - { - "name": "FONT_BOLD", - "value": 1 - }, - { - "name": "FONT_ITALIC", - "value": 2 - }, - { - "name": "FONT_FIXED_WIDTH", - "value": 4 - } - ] - }, - { - "name": "ContourPointTag", - "values": [ - { - "name": "CONTOUR_CURVE_TAG_ON", - "value": 1 - }, - { - "name": "CONTOUR_CURVE_TAG_OFF_CONIC", - "value": 0 - }, - { - "name": "CONTOUR_CURVE_TAG_OFF_CUBIC", - "value": 2 - } - ] - }, - { - "name": "TextOverrunFlag", - "values": [ - { - "name": "OVERRUN_NO_TRIMMING", - "value": 0 - }, - { - "name": "OVERRUN_TRIM", - "value": 1 - }, - { - "name": "OVERRUN_TRIM_WORD_ONLY", - "value": 2 - }, - { - "name": "OVERRUN_ADD_ELLIPSIS", - "value": 4 - }, - { - "name": "OVERRUN_ENFORCE_ELLIPSIS", - "value": 8 - }, - { - "name": "OVERRUN_JUSTIFICATION_AWARE", - "value": 16 - } - ] - }, - { - "name": "Hinting", - "values": [ - { - "name": "HINTING_NONE", - "value": 0 - }, - { - "name": "HINTING_LIGHT", - "value": 1 - }, - { - "name": "HINTING_NORMAL", - "value": 2 - } - ] - }, - { - "name": "Direction", - "values": [ - { - "name": "DIRECTION_AUTO", - "value": 0 - }, - { - "name": "DIRECTION_LTR", - "value": 1 - }, - { - "name": "DIRECTION_RTL", - "value": 2 - } - ] } ], "methods": [ @@ -216646,6 +217223,13 @@ } ] }, + { + "name": "TextServerFallback", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "TextServerExtension", + "api_type": "core" + }, { "name": "TextServerManager", "is_refcounted": false, @@ -216767,7 +217351,7 @@ ], "signals": [ { - "name": "interface_removed", + "name": "interface_added", "arguments": [ { "name": "interface_name", @@ -216776,7 +217360,7 @@ ] }, { - "name": "interface_added", + "name": "interface_removed", "arguments": [ { "name": "interface_name", @@ -221828,6 +222412,27 @@ "inherits": "Resource", "api_type": "core", "enums": [ + { + "name": "TileShape", + "values": [ + { + "name": "TILE_SHAPE_SQUARE", + "value": 0 + }, + { + "name": "TILE_SHAPE_ISOMETRIC", + "value": 1 + }, + { + "name": "TILE_SHAPE_HALF_OFFSET_SQUARE", + "value": 2 + }, + { + "name": "TILE_SHAPE_HEXAGON", + "value": 3 + } + ] + }, { "name": "TileLayout", "values": [ @@ -221857,6 +222462,19 @@ } ] }, + { + "name": "TileOffsetAxis", + "values": [ + { + "name": "TILE_OFFSET_AXIS_HORIZONTAL", + "value": 0 + }, + { + "name": "TILE_OFFSET_AXIS_VERTICAL", + "value": 1 + } + ] + }, { "name": "CellNeighbor", "values": [ @@ -221926,27 +222544,6 @@ } ] }, - { - "name": "TileShape", - "values": [ - { - "name": "TILE_SHAPE_SQUARE", - "value": 0 - }, - { - "name": "TILE_SHAPE_ISOMETRIC", - "value": 1 - }, - { - "name": "TILE_SHAPE_HALF_OFFSET_SQUARE", - "value": 2 - }, - { - "name": "TILE_SHAPE_HEXAGON", - "value": 3 - } - ] - }, { "name": "TerrainMode", "values": [ @@ -221963,19 +222560,6 @@ "value": 2 } ] - }, - { - "name": "TileOffsetAxis", - "values": [ - { - "name": "TILE_OFFSET_AXIS_HORIZONTAL", - "value": 0 - }, - { - "name": "TILE_OFFSET_AXIS_VERTICAL", - "value": 1 - } - ] } ], "methods": [ @@ -225481,10 +226065,10 @@ ], "signals": [ { - "name": "released" + "name": "pressed" }, { - "name": "pressed" + "name": "released" } ], "properties": [ @@ -227056,7 +227640,10 @@ ], "signals": [ { - "name": "item_activated" + "name": "item_selected" + }, + { + "name": "cell_selected" }, { "name": "multi_selected", @@ -227076,20 +227663,55 @@ ] }, { - "name": "column_title_pressed", + "name": "item_mouse_selected", "arguments": [ { - "name": "column", + "name": "position", + "type": "Vector2" + }, + { + "name": "mouse_button_index", "type": "int" } ] }, { - "name": "custom_popup_edited", + "name": "empty_clicked", "arguments": [ { - "name": "arrow_clicked", - "type": "bool" + "name": "position", + "type": "Vector2" + }, + { + "name": "mouse_button_index", + "type": "int" + } + ] + }, + { + "name": "item_edited" + }, + { + "name": "custom_item_clicked", + "arguments": [ + { + "name": "mouse_button_index", + "type": "int" + } + ] + }, + { + "name": "item_custom_button_pressed" + }, + { + "name": "item_double_clicked" + }, + { + "name": "item_collapsed", + "arguments": [ + { + "name": "item", + "type": "TreeItem" } ] }, @@ -227107,61 +227729,7 @@ ] }, { - "name": "item_collapsed", - "arguments": [ - { - "name": "item", - "type": "TreeItem" - } - ] - }, - { - "name": "item_rmb_edited" - }, - { - "name": "item_edited" - }, - { - "name": "empty_tree_rmb_selected", - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "nothing_selected" - }, - { - "name": "item_double_clicked" - }, - { - "name": "empty_rmb", - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "item_rmb_selected", - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "item_selected" - }, - { - "name": "cell_selected" - }, - { - "name": "button_pressed", + "name": "button_clicked", "arguments": [ { "name": "item", @@ -227174,11 +227742,36 @@ { "name": "id", "type": "int" + }, + { + "name": "mouse_button_index", + "type": "int" } ] }, { - "name": "item_custom_button_pressed" + "name": "custom_popup_edited", + "arguments": [ + { + "name": "arrow_clicked", + "type": "bool" + } + ] + }, + { + "name": "item_activated" + }, + { + "name": "column_title_pressed", + "arguments": [ + { + "name": "column", + "type": "int" + } + ] + }, + { + "name": "nothing_selected" } ], "properties": [ @@ -228030,6 +228623,31 @@ "type": "bool" } }, + { + "name": "set_visible", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134188166, + "arguments": [ + { + "name": "enable", + "type": "bool" + } + ] + }, + { + "name": "is_visible", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 135338150, + "return_value": { + "type": "bool" + } + }, { "name": "uncollapse_tree", "is_const": false, @@ -229012,6 +229630,13 @@ "getter": "is_collapsed", "index": -1 }, + { + "type": "bool", + "name": "visible", + "setter": "set_visible", + "getter": "is_visible", + "index": -1 + }, { "type": "bool", "name": "disable_folding", @@ -229255,6 +229880,36 @@ "inherits": "RefCounted", "api_type": "core", "enums": [ + { + "name": "TweenProcessMode", + "values": [ + { + "name": "TWEEN_PROCESS_PHYSICS", + "value": 0 + }, + { + "name": "TWEEN_PROCESS_IDLE", + "value": 1 + } + ] + }, + { + "name": "TweenPauseMode", + "values": [ + { + "name": "TWEEN_PAUSE_BOUND", + "value": 0 + }, + { + "name": "TWEEN_PAUSE_STOP", + "value": 1 + }, + { + "name": "TWEEN_PAUSE_PROCESS", + "value": 2 + } + ] + }, { "name": "TransitionType", "values": [ @@ -229304,36 +229959,6 @@ } ] }, - { - "name": "TweenPauseMode", - "values": [ - { - "name": "TWEEN_PAUSE_BOUND", - "value": 0 - }, - { - "name": "TWEEN_PAUSE_STOP", - "value": 1 - }, - { - "name": "TWEEN_PAUSE_PROCESS", - "value": 2 - } - ] - }, - { - "name": "TweenProcessMode", - "values": [ - { - "name": "TWEEN_PROCESS_PHYSICS", - "value": 0 - }, - { - "name": "TWEEN_PROCESS_IDLE", - "value": 1 - } - ] - }, { "name": "EaseType", "values": [ @@ -229740,19 +230365,19 @@ ], "signals": [ { - "name": "loop_finished", + "name": "step_finished", "arguments": [ { - "name": "loop_count", + "name": "idx", "type": "int" } ] }, { - "name": "step_finished", + "name": "loop_finished", "arguments": [ { - "name": "idx", + "name": "loop_count", "type": "int" } ] @@ -232231,27 +232856,98 @@ "api_type": "core", "enums": [ { - "name": "SDFOversize", + "name": "ShadowAtlasQuadrantSubdiv", "values": [ { - "name": "SDF_OVERSIZE_100_PERCENT", + "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_DISABLED", "value": 0 }, { - "name": "SDF_OVERSIZE_120_PERCENT", + "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_1", "value": 1 }, { - "name": "SDF_OVERSIZE_150_PERCENT", + "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_4", "value": 2 }, { - "name": "SDF_OVERSIZE_200_PERCENT", + "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_16", "value": 3 }, { - "name": "SDF_OVERSIZE_MAX", + "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_64", "value": 4 + }, + { + "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_256", + "value": 5 + }, + { + "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_1024", + "value": 6 + }, + { + "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_MAX", + "value": 7 + } + ] + }, + { + "name": "Scaling3DMode", + "values": [ + { + "name": "SCALING_3D_MODE_BILINEAR", + "value": 0 + }, + { + "name": "SCALING_3D_MODE_FSR", + "value": 1 + }, + { + "name": "SCALING_3D_MODE_MAX", + "value": 2 + } + ] + }, + { + "name": "MSAA", + "values": [ + { + "name": "MSAA_DISABLED", + "value": 0 + }, + { + "name": "MSAA_2X", + "value": 1 + }, + { + "name": "MSAA_4X", + "value": 2 + }, + { + "name": "MSAA_8X", + "value": 3 + }, + { + "name": "MSAA_MAX", + "value": 4 + } + ] + }, + { + "name": "ScreenSpaceAA", + "values": [ + { + "name": "SCREEN_SPACE_AA_DISABLED", + "value": 0 + }, + { + "name": "SCREEN_SPACE_AA_FXAA", + "value": 1 + }, + { + "name": "SCREEN_SPACE_AA_MAX", + "value": 2 } ] }, @@ -232277,23 +232973,19 @@ ] }, { - "name": "SDFScale", + "name": "RenderInfoType", "values": [ { - "name": "SDF_SCALE_100_PERCENT", + "name": "RENDER_INFO_TYPE_VISIBLE", "value": 0 }, { - "name": "SDF_SCALE_50_PERCENT", + "name": "RENDER_INFO_TYPE_SHADOW", "value": 1 }, { - "name": "SDF_SCALE_25_PERCENT", + "name": "RENDER_INFO_TYPE_MAX", "value": 2 - }, - { - "name": "SDF_SCALE_MAX", - "value": 3 } ] }, @@ -232402,57 +233094,6 @@ } ] }, - { - "name": "Scaling3DMode", - "values": [ - { - "name": "SCALING_3D_MODE_BILINEAR", - "value": 0 - }, - { - "name": "SCALING_3D_MODE_FSR", - "value": 1 - }, - { - "name": "SCALING_3D_MODE_MAX", - "value": 2 - } - ] - }, - { - "name": "RenderInfoType", - "values": [ - { - "name": "RENDER_INFO_TYPE_VISIBLE", - "value": 0 - }, - { - "name": "RENDER_INFO_TYPE_SHADOW", - "value": 1 - }, - { - "name": "RENDER_INFO_TYPE_MAX", - "value": 2 - } - ] - }, - { - "name": "ScreenSpaceAA", - "values": [ - { - "name": "SCREEN_SPACE_AA_DISABLED", - "value": 0 - }, - { - "name": "SCREEN_SPACE_AA_FXAA", - "value": 1 - }, - { - "name": "SCREEN_SPACE_AA_MAX", - "value": 2 - } - ] - }, { "name": "DefaultCanvasItemTextureFilter", "values": [ @@ -232478,43 +233119,6 @@ } ] }, - { - "name": "ShadowAtlasQuadrantSubdiv", - "values": [ - { - "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_DISABLED", - "value": 0 - }, - { - "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_1", - "value": 1 - }, - { - "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_4", - "value": 2 - }, - { - "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_16", - "value": 3 - }, - { - "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_64", - "value": 4 - }, - { - "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_256", - "value": 5 - }, - { - "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_1024", - "value": 6 - }, - { - "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_MAX", - "value": 7 - } - ] - }, { "name": "DefaultCanvasItemTextureRepeat", "values": [ @@ -232537,29 +233141,50 @@ ] }, { - "name": "MSAA", + "name": "SDFOversize", "values": [ { - "name": "MSAA_DISABLED", + "name": "SDF_OVERSIZE_100_PERCENT", "value": 0 }, { - "name": "MSAA_2X", + "name": "SDF_OVERSIZE_120_PERCENT", "value": 1 }, { - "name": "MSAA_4X", + "name": "SDF_OVERSIZE_150_PERCENT", "value": 2 }, { - "name": "MSAA_8X", + "name": "SDF_OVERSIZE_200_PERCENT", "value": 3 }, { - "name": "MSAA_MAX", + "name": "SDF_OVERSIZE_MAX", "value": 4 } ] + }, + { + "name": "SDFScale", + "values": [ + { + "name": "SDF_SCALE_100_PERCENT", + "value": 0 + }, + { + "name": "SDF_SCALE_50_PERCENT", + "value": 1 + }, + { + "name": "SDF_SCALE_25_PERCENT", + "value": 2 + }, + { + "name": "SDF_SCALE_MAX", + "value": 3 + } + ] } ], "methods": [ @@ -236581,31 +237206,6 @@ "inherits": "VisualScriptNode", "api_type": "core", "enums": [ - { - "name": "RPCCallMode", - "values": [ - { - "name": "RPC_DISABLED", - "value": 0 - }, - { - "name": "RPC_RELIABLE", - "value": 1 - }, - { - "name": "RPC_UNRELIABLE", - "value": 2 - }, - { - "name": "RPC_RELIABLE_TO_ID", - "value": 3 - }, - { - "name": "RPC_UNRELIABLE_TO_ID", - "value": 4 - } - ] - }, { "name": "CallMode", "values": [ @@ -236630,6 +237230,31 @@ "value": 4 } ] + }, + { + "name": "RPCCallMode", + "values": [ + { + "name": "RPC_DISABLED", + "value": 0 + }, + { + "name": "RPC_RELIABLE", + "value": 1 + }, + { + "name": "RPC_UNRELIABLE", + "value": 2 + }, + { + "name": "RPC_RELIABLE_TO_ID", + "value": 3 + }, + { + "name": "RPC_UNRELIABLE_TO_ID", + "value": 4 + } + ] } ], "methods": [ @@ -238047,6 +238672,27 @@ "inherits": "VisualScriptNode", "api_type": "core", "enums": [ + { + "name": "CallMode", + "values": [ + { + "name": "CALL_MODE_SELF", + "value": 0 + }, + { + "name": "CALL_MODE_NODE_PATH", + "value": 1 + }, + { + "name": "CALL_MODE_INSTANCE", + "value": 2 + }, + { + "name": "CALL_MODE_BASIC_TYPE", + "value": 3 + } + ] + }, { "name": "AssignOp", "values": [ @@ -238095,27 +238741,6 @@ "value": 10 } ] - }, - { - "name": "CallMode", - "values": [ - { - "name": "CALL_MODE_SELF", - "value": 0 - }, - { - "name": "CALL_MODE_NODE_PATH", - "value": 1 - }, - { - "name": "CALL_MODE_INSTANCE", - "value": 2 - }, - { - "name": "CALL_MODE_BASIC_TYPE", - "value": 3 - } - ] } ], "methods": [ @@ -239102,6 +239727,55 @@ } ], "enums": [ + { + "name": "Type", + "values": [ + { + "name": "TYPE_VERTEX", + "value": 0 + }, + { + "name": "TYPE_FRAGMENT", + "value": 1 + }, + { + "name": "TYPE_LIGHT", + "value": 2 + }, + { + "name": "TYPE_START", + "value": 3 + }, + { + "name": "TYPE_PROCESS", + "value": 4 + }, + { + "name": "TYPE_COLLIDE", + "value": 5 + }, + { + "name": "TYPE_START_CUSTOM", + "value": 6 + }, + { + "name": "TYPE_PROCESS_CUSTOM", + "value": 7 + }, + { + "name": "TYPE_SKY", + "value": 8 + }, + { + "name": "TYPE_FOG", + "value": 9 + }, + { + "name": "TYPE_MAX", + "value": 10 + } + ] + }, { "name": "VaryingMode", "values": [ @@ -239151,55 +239825,6 @@ "value": 6 } ] - }, - { - "name": "Type", - "values": [ - { - "name": "TYPE_VERTEX", - "value": 0 - }, - { - "name": "TYPE_FRAGMENT", - "value": 1 - }, - { - "name": "TYPE_LIGHT", - "value": 2 - }, - { - "name": "TYPE_START", - "value": 3 - }, - { - "name": "TYPE_PROCESS", - "value": 4 - }, - { - "name": "TYPE_COLLIDE", - "value": 5 - }, - { - "name": "TYPE_START_CUSTOM", - "value": 6 - }, - { - "name": "TYPE_PROCESS_CUSTOM", - "value": 7 - }, - { - "name": "TYPE_SKY", - "value": 8 - }, - { - "name": "TYPE_FOG", - "value": 9 - }, - { - "name": "TYPE_MAX", - "value": 10 - } - ] } ], "methods": [ @@ -240759,6 +241384,23 @@ "inherits": "VisualShaderNode", "api_type": "core", "enums": [ + { + "name": "Source", + "values": [ + { + "name": "SOURCE_TEXTURE", + "value": 0 + }, + { + "name": "SOURCE_PORT", + "value": 1 + }, + { + "name": "SOURCE_MAX", + "value": 2 + } + ] + }, { "name": "TextureType", "values": [ @@ -240779,23 +241421,6 @@ "value": 3 } ] - }, - { - "name": "Source", - "values": [ - { - "name": "SOURCE_TEXTURE", - "value": 0 - }, - { - "name": "SOURCE_PORT", - "value": 1 - }, - { - "name": "SOURCE_MAX", - "value": 2 - } - ] } ], "methods": [ @@ -241235,27 +241860,6 @@ "inherits": "VisualShaderNode", "api_type": "core", "enums": [ - { - "name": "Function", - "values": [ - { - "name": "FUNC_SUM", - "value": 0 - }, - { - "name": "FUNC_X", - "value": 1 - }, - { - "name": "FUNC_Y", - "value": 2 - }, - { - "name": "FUNC_MAX", - "value": 3 - } - ] - }, { "name": "OpType", "values": [ @@ -241280,6 +241884,27 @@ "value": 4 } ] + }, + { + "name": "Function", + "values": [ + { + "name": "FUNC_SUM", + "value": 0 + }, + { + "name": "FUNC_X", + "value": 1 + }, + { + "name": "FUNC_Y", + "value": 2 + }, + { + "name": "FUNC_MAX", + "value": 3 + } + ] } ], "methods": [ @@ -243872,27 +244497,6 @@ "inherits": "VisualShaderNode", "api_type": "core", "enums": [ - { - "name": "TextureType", - "values": [ - { - "name": "TYPE_DATA", - "value": 0 - }, - { - "name": "TYPE_COLOR", - "value": 1 - }, - { - "name": "TYPE_NORMAL_MAP", - "value": 2 - }, - { - "name": "TYPE_MAX", - "value": 3 - } - ] - }, { "name": "Source", "values": [ @@ -243925,6 +244529,27 @@ "value": 6 } ] + }, + { + "name": "TextureType", + "values": [ + { + "name": "TYPE_DATA", + "value": 0 + }, + { + "name": "TYPE_COLOR", + "value": 1 + }, + { + "name": "TYPE_NORMAL_MAP", + "value": 2 + }, + { + "name": "TYPE_MAX", + "value": 3 + } + ] } ], "methods": [ @@ -247062,6 +247687,19 @@ } ], "signals": [ + { + "name": "session_description_created", + "arguments": [ + { + "name": "type", + "type": "String" + }, + { + "name": "sdp", + "type": "String" + } + ] + }, { "name": "ice_candidate_created", "arguments": [ @@ -247079,19 +247717,6 @@ } ] }, - { - "name": "session_description_created", - "arguments": [ - { - "name": "type", - "type": "String" - }, - { - "name": "sdp", - "type": "String" - } - ] - }, { "name": "data_channel_received", "arguments": [ @@ -247392,6 +248017,18 @@ } ], "signals": [ + { + "name": "data_received" + }, + { + "name": "connection_established", + "arguments": [ + { + "name": "protocol", + "type": "String" + } + ] + }, { "name": "server_close_request", "arguments": [ @@ -247405,21 +248042,6 @@ } ] }, - { - "name": "connection_established", - "arguments": [ - { - "name": "protocol", - "type": "String" - } - ] - }, - { - "name": "data_received" - }, - { - "name": "connection_error" - }, { "name": "connection_closed", "arguments": [ @@ -247428,6 +248050,9 @@ "type": "bool" } ] + }, + { + "name": "connection_error" } ], "properties": [ @@ -247956,11 +248581,15 @@ ] }, { - "name": "data_received", + "name": "client_disconnected", "arguments": [ { "name": "id", "type": "int" + }, + { + "name": "was_clean_close", + "type": "bool" } ] }, @@ -247982,15 +248611,11 @@ ] }, { - "name": "client_disconnected", + "name": "data_received", "arguments": [ { "name": "id", "type": "int" - }, - { - "name": "was_clean_close", - "type": "bool" } ] } @@ -248207,11 +248832,33 @@ } ], "signals": [ + { + "name": "session_supported", + "arguments": [ + { + "name": "session_mode", + "type": "String" + }, + { + "name": "supported", + "type": "bool" + } + ] + }, + { + "name": "session_started" + }, { "name": "session_ended" }, { - "name": "reference_space_reset" + "name": "session_failed", + "arguments": [ + { + "name": "message", + "type": "String" + } + ] }, { "name": "selectstart", @@ -248222,6 +248869,15 @@ } ] }, + { + "name": "select", + "arguments": [ + { + "name": "controller_id", + "type": "int" + } + ] + }, { "name": "selectend", "arguments": [ @@ -248241,7 +248897,7 @@ ] }, { - "name": "select", + "name": "squeeze", "arguments": [ { "name": "controller_id", @@ -248249,18 +248905,6 @@ } ] }, - { - "name": "session_failed", - "arguments": [ - { - "name": "message", - "type": "String" - } - ] - }, - { - "name": "visibility_state_changed" - }, { "name": "squeezeend", "arguments": [ @@ -248271,29 +248915,10 @@ ] }, { - "name": "session_supported", - "arguments": [ - { - "name": "session_mode", - "type": "String" - }, - { - "name": "supported", - "type": "bool" - } - ] + "name": "visibility_state_changed" }, { - "name": "squeeze", - "arguments": [ - { - "name": "controller_id", - "type": "int" - } - ] - }, - { - "name": "session_started" + "name": "reference_space_reset" } ], "properties": [ @@ -248362,26 +248987,26 @@ ], "enums": [ { - "name": "ContentScaleAspect", + "name": "Mode", "values": [ { - "name": "CONTENT_SCALE_ASPECT_IGNORE", + "name": "MODE_WINDOWED", "value": 0 }, { - "name": "CONTENT_SCALE_ASPECT_KEEP", + "name": "MODE_MINIMIZED", "value": 1 }, { - "name": "CONTENT_SCALE_ASPECT_KEEP_WIDTH", + "name": "MODE_MAXIMIZED", "value": 2 }, { - "name": "CONTENT_SCALE_ASPECT_KEEP_HEIGHT", + "name": "MODE_FULLSCREEN", "value": 3 }, { - "name": "CONTENT_SCALE_ASPECT_EXPAND", + "name": "MODE_EXCLUSIVE_FULLSCREEN", "value": 4 } ] @@ -248420,26 +249045,43 @@ ] }, { - "name": "Mode", + "name": "ContentScaleMode", "values": [ { - "name": "MODE_WINDOWED", + "name": "CONTENT_SCALE_MODE_DISABLED", "value": 0 }, { - "name": "MODE_MINIMIZED", + "name": "CONTENT_SCALE_MODE_CANVAS_ITEMS", "value": 1 }, { - "name": "MODE_MAXIMIZED", + "name": "CONTENT_SCALE_MODE_VIEWPORT", + "value": 2 + } + ] + }, + { + "name": "ContentScaleAspect", + "values": [ + { + "name": "CONTENT_SCALE_ASPECT_IGNORE", + "value": 0 + }, + { + "name": "CONTENT_SCALE_ASPECT_KEEP", + "value": 1 + }, + { + "name": "CONTENT_SCALE_ASPECT_KEEP_WIDTH", "value": 2 }, { - "name": "MODE_FULLSCREEN", + "name": "CONTENT_SCALE_ASPECT_KEEP_HEIGHT", "value": 3 }, { - "name": "MODE_EXCLUSIVE_FULLSCREEN", + "name": "CONTENT_SCALE_ASPECT_EXPAND", "value": 4 } ] @@ -248464,23 +249106,6 @@ "value": 3 } ] - }, - { - "name": "ContentScaleMode", - "values": [ - { - "name": "CONTENT_SCALE_MODE_DISABLED", - "value": 0 - }, - { - "name": "CONTENT_SCALE_MODE_CANVAS_ITEMS", - "value": 1 - }, - { - "name": "CONTENT_SCALE_MODE_VIEWPORT", - "value": 2 - } - ] } ], "methods": [ @@ -249568,24 +250193,6 @@ } ], "signals": [ - { - "name": "mouse_exited" - }, - { - "name": "theme_changed" - }, - { - "name": "focus_entered" - }, - { - "name": "go_back_requested" - }, - { - "name": "close_requested" - }, - { - "name": "mouse_entered" - }, { "name": "window_input", "arguments": [ @@ -249595,9 +250202,6 @@ } ] }, - { - "name": "about_to_popup" - }, { "name": "files_dropped", "arguments": [ @@ -249608,10 +250212,31 @@ ] }, { - "name": "visibility_changed" + "name": "mouse_entered" + }, + { + "name": "mouse_exited" + }, + { + "name": "focus_entered" }, { "name": "focus_exited" + }, + { + "name": "close_requested" + }, + { + "name": "go_back_requested" + }, + { + "name": "visibility_changed" + }, + { + "name": "about_to_popup" + }, + { + "name": "theme_changed" } ], "properties": [ @@ -250678,15 +251303,20 @@ ], "signals": [ { - "name": "input_axis_changed", + "name": "button_pressed", "arguments": [ { "name": "name", "type": "String" - }, + } + ] + }, + { + "name": "button_released", + "arguments": [ { - "name": "value", - "type": "Vector2" + "name": "name", + "type": "String" } ] }, @@ -250704,20 +251334,15 @@ ] }, { - "name": "button_released", + "name": "input_axis_changed", "arguments": [ { "name": "name", "type": "String" - } - ] - }, - { - "name": "button_pressed", - "arguments": [ + }, { - "name": "name", - "type": "String" + "name": "value", + "type": "Vector2" } ] } @@ -250730,56 +251355,6 @@ "inherits": "RefCounted", "api_type": "core", "enums": [ - { - "name": "PlayAreaMode", - "values": [ - { - "name": "XR_PLAY_AREA_UNKNOWN", - "value": 0 - }, - { - "name": "XR_PLAY_AREA_3DOF", - "value": 1 - }, - { - "name": "XR_PLAY_AREA_SITTING", - "value": 2 - }, - { - "name": "XR_PLAY_AREA_ROOMSCALE", - "value": 3 - }, - { - "name": "XR_PLAY_AREA_STAGE", - "value": 4 - } - ] - }, - { - "name": "TrackingStatus", - "values": [ - { - "name": "XR_NORMAL_TRACKING", - "value": 0 - }, - { - "name": "XR_EXCESSIVE_MOTION", - "value": 1 - }, - { - "name": "XR_INSUFFICIENT_FEATURES", - "value": 2 - }, - { - "name": "XR_UNKNOWN_TRACKING", - "value": 3 - }, - { - "name": "XR_NOT_TRACKING", - "value": 4 - } - ] - }, { "name": "Capabilities", "values": [ @@ -250812,6 +251387,56 @@ "value": 32 } ] + }, + { + "name": "TrackingStatus", + "values": [ + { + "name": "XR_NORMAL_TRACKING", + "value": 0 + }, + { + "name": "XR_EXCESSIVE_MOTION", + "value": 1 + }, + { + "name": "XR_INSUFFICIENT_FEATURES", + "value": 2 + }, + { + "name": "XR_UNKNOWN_TRACKING", + "value": 3 + }, + { + "name": "XR_NOT_TRACKING", + "value": 4 + } + ] + }, + { + "name": "PlayAreaMode", + "values": [ + { + "name": "XR_PLAY_AREA_UNKNOWN", + "value": 0 + }, + { + "name": "XR_PLAY_AREA_3DOF", + "value": 1 + }, + { + "name": "XR_PLAY_AREA_SITTING", + "value": 2 + }, + { + "name": "XR_PLAY_AREA_ROOMSCALE", + "value": 3 + }, + { + "name": "XR_PLAY_AREA_STAGE", + "value": 4 + } + ] } ], "methods": [ @@ -252212,15 +252837,29 @@ ], "signals": [ { - "name": "input_axis_changed", + "name": "pose_changed", + "arguments": [ + { + "name": "pose", + "type": "XRPose" + } + ] + }, + { + "name": "button_pressed", "arguments": [ { "name": "name", "type": "String" - }, + } + ] + }, + { + "name": "button_released", + "arguments": [ { - "name": "vector", - "type": "Vector2" + "name": "name", + "type": "String" } ] }, @@ -252238,29 +252877,15 @@ ] }, { - "name": "button_released", + "name": "input_axis_changed", "arguments": [ { "name": "name", "type": "String" - } - ] - }, - { - "name": "pose_changed", - "arguments": [ + }, { - "name": "pose", - "type": "XRPose" - } - ] - }, - { - "name": "button_pressed", - "arguments": [ - { - "name": "name", - "type": "String" + "name": "vector", + "type": "Vector2" } ] }, @@ -252319,23 +252944,6 @@ "inherits": "Object", "api_type": "core", "enums": [ - { - "name": "RotationMode", - "values": [ - { - "name": "RESET_FULL_ROTATION", - "value": 0 - }, - { - "name": "RESET_BUT_KEEP_TILT", - "value": 1 - }, - { - "name": "DONT_RESET_ROTATION", - "value": 2 - } - ] - }, { "name": "TrackerType", "values": [ @@ -252368,6 +252976,23 @@ "value": 255 } ] + }, + { + "name": "RotationMode", + "values": [ + { + "name": "RESET_FULL_ROTATION", + "value": 0 + }, + { + "name": "RESET_BUT_KEEP_TILT", + "value": 1 + }, + { + "name": "DONT_RESET_ROTATION", + "value": 2 + } + ] } ], "methods": [ @@ -252615,15 +253240,20 @@ ], "signals": [ { - "name": "tracker_removed", + "name": "interface_added", "arguments": [ { - "name": "tracker_name", + "name": "interface_name", "type": "StringName" - }, + } + ] + }, + { + "name": "interface_removed", + "arguments": [ { - "name": "type", - "type": "int" + "name": "interface_name", + "type": "StringName" } ] }, @@ -252654,20 +253284,15 @@ ] }, { - "name": "interface_removed", + "name": "tracker_removed", "arguments": [ { - "name": "interface_name", + "name": "tracker_name", "type": "StringName" - } - ] - }, - { - "name": "interface_added", - "arguments": [ + }, { - "name": "interface_name", - "type": "StringName" + "name": "type", + "type": "int" } ] } @@ -252699,6 +253324,10 @@ "name": "TextServerManager", "type": "TextServerManager" }, + { + "name": "NavigationMeshGenerator", + "type": "NavigationMeshGenerator" + }, { "name": "ProjectSettings", "type": "ProjectSettings" @@ -252767,10 +253396,6 @@ "name": "ResourceUID", "type": "ResourceUID" }, - { - "name": "NavigationMeshGenerator", - "type": "NavigationMeshGenerator" - }, { "name": "VisualScriptCustomNodes", "type": "VisualScriptCustomNodes" diff --git a/godot-headers/godot/gdnative_interface.h b/godot-headers/godot/gdnative_interface.h index 36d51ff2..095c7983 100644 --- a/godot-headers/godot/gdnative_interface.h +++ b/godot-headers/godot/gdnative_interface.h @@ -114,6 +114,7 @@ typedef enum { GDNATIVE_VARIANT_OP_NEGATE, GDNATIVE_VARIANT_OP_POSITIVE, GDNATIVE_VARIANT_OP_MODULE, + GDNATIVE_VARIANT_OP_POWER, /* bitwise */ GDNATIVE_VARIANT_OP_SHIFT_LEFT, GDNATIVE_VARIANT_OP_SHIFT_RIGHT, @@ -412,6 +413,8 @@ typedef struct { GDNativeBool (*variant_iter_init)(const GDNativeVariantPtr p_self, GDNativeVariantPtr r_iter, GDNativeBool *r_valid); GDNativeBool (*variant_iter_next)(const GDNativeVariantPtr p_self, GDNativeVariantPtr r_iter, GDNativeBool *r_valid); void (*variant_iter_get)(const GDNativeVariantPtr p_self, GDNativeVariantPtr r_iter, GDNativeVariantPtr r_ret, GDNativeBool *r_valid); + GDNativeInt (*variant_hash)(const GDNativeVariantPtr p_self); + GDNativeInt (*variant_recursive_hash)(const GDNativeVariantPtr p_self, GDNativeInt p_recursion_count); GDNativeBool (*variant_hash_compare)(const GDNativeVariantPtr p_self, const GDNativeVariantPtr p_other); GDNativeBool (*variant_booleanize)(const GDNativeVariantPtr p_self); void (*variant_sub)(const GDNativeVariantPtr p_a, const GDNativeVariantPtr p_b, GDNativeVariantPtr r_dst); diff --git a/include/godot_cpp/core/memory.hpp b/include/godot_cpp/core/memory.hpp index 5848fbdf..35b551c3 100644 --- a/include/godot_cpp/core/memory.hpp +++ b/include/godot_cpp/core/memory.hpp @@ -98,6 +98,14 @@ public: _ALWAYS_INLINE_ static void free(void *p_ptr) { Memory::free_static(p_ptr); } }; +template +class DefaultTypedAllocator { +public: + template + _ALWAYS_INLINE_ T *new_allocation(const Args &&...p_args) { return memnew(T(p_args...)); } + _ALWAYS_INLINE_ void delete_allocation(T *p_allocation) { memdelete(p_allocation); } +}; + template void memdelete(T *p_class, typename std::enable_if>::type * = 0) { if (!__has_trivial_destructor(T)) { diff --git a/include/godot_cpp/templates/hash_map.hpp b/include/godot_cpp/templates/hash_map.hpp index 8243cb51..1e66b7d7 100644 --- a/include/godot_cpp/templates/hash_map.hpp +++ b/include/godot_cpp/templates/hash_map.hpp @@ -34,524 +34,558 @@ #include #include #include -#include - -/** - * @class HashMap - * - * Implementation of a standard Hashing HashMap, for quick lookups of Data associated with a Key. - * The implementation provides hashers for the default types, if you need a special kind of hasher, provide - * your own. - * @param TKey Key, search is based on it, needs to be hasheable. It is unique in this container. - * @param TData Data, data associated with the key - * @param Hasher Hasher object, needs to provide a valid static hash function for TKey - * @param Comparator comparator object, needs to be able to safely compare two TKey values. - * It needs to ensure that x == x for any items inserted in the map. Bear in mind that nan != nan when implementing an equality check. - * @param MIN_HASH_TABLE_POWER Miminum size of the hash table, as a power of two. You rarely need to change this parameter. - * @param RELATIONSHIP Relationship at which the hash table is resized. if amount of elements is RELATIONSHIP - * times bigger than the hash table, table is resized to solve this condition. if RELATIONSHIP is zero, table is always MIN_HASH_TABLE_POWER. - * - */ +#include namespace godot { -template , uint8_t MIN_HASH_TABLE_POWER = 3, uint8_t RELATIONSHIP = 8> +/** + * A HashMap implementation that uses open addressing with Robin Hood hashing. + * Robin Hood hashing swaps out entries that have a smaller probing distance + * than the to-be-inserted entry, that evens out the average probing distance + * and enables faster lookups. Backward shift deletion is employed to further + * improve the performance and to avoid infinite loops in rare cases. + * + * Keys and values are stored in a double linked list by insertion order. This + * has a slight performance overhead on lookup, which can be mostly compensated + * using a paged allocator if required. + * + * The assignment operator copy the pairs from one map to the other. + */ + +template +struct HashMapElement { + HashMapElement *next = nullptr; + HashMapElement *prev = nullptr; + KeyValue data; + HashMapElement() {} + HashMapElement(const TKey &p_key, const TValue &p_value) : + data(p_key, p_value) {} +}; + +template , + class Allocator = DefaultTypedAllocator>> class HashMap { public: - struct Pair { - TKey key; - TData data; - - Pair(const TKey &p_key) : - key(p_key), - data() {} - Pair(const TKey &p_key, const TData &p_data) : - key(p_key), - data(p_data) { - } - }; - - struct Element { - private: - friend class HashMap; - - uint32_t hash = 0; - Element *next = nullptr; - Element() {} - Pair pair; - - public: - const TKey &key() const { - return pair.key; - } - - TData &value() { - return pair.data; - } - - const TData &value() const { - return pair.value(); - } - - Element(const TKey &p_key) : - pair(p_key) {} - Element(const Element &p_other) : - hash(p_other.hash), - pair(p_other.pair.key, p_other.pair.data) {} - }; + const uint32_t MIN_CAPACITY_INDEX = 2; // Use a prime. + const float MAX_OCCUPANCY = 0.75; + const uint32_t EMPTY_HASH = 0; private: - Element **hash_table = nullptr; - uint8_t hash_table_power = 0; - uint32_t elements = 0; + Allocator element_alloc; + HashMapElement **elements = nullptr; + uint32_t *hashes = nullptr; + HashMapElement *head_element = nullptr; + HashMapElement *tail_element = nullptr; - void make_hash_table() { - ERR_FAIL_COND(hash_table); + uint32_t capacity_index = 0; + uint32_t num_elements = 0; - hash_table = memnew_arr(Element *, (1 << MIN_HASH_TABLE_POWER)); - - hash_table_power = MIN_HASH_TABLE_POWER; - elements = 0; - for (int i = 0; i < (1 << MIN_HASH_TABLE_POWER); i++) { - hash_table[i] = nullptr; - } - } - - void erase_hash_table() { - ERR_FAIL_COND_MSG(elements, "Cannot erase hash table if there are still elements inside."); - - memdelete_arr(hash_table); - hash_table = nullptr; - hash_table_power = 0; - elements = 0; - } - - void check_hash_table() { - int new_hash_table_power = -1; - - if ((int)elements > ((1 << hash_table_power) * RELATIONSHIP)) { - /* rehash up */ - new_hash_table_power = hash_table_power + 1; - - while ((int)elements > ((1 << new_hash_table_power) * RELATIONSHIP)) { - new_hash_table_power++; - } - - } else if ((hash_table_power > (int)MIN_HASH_TABLE_POWER) && ((int)elements < ((1 << (hash_table_power - 1)) * RELATIONSHIP))) { - /* rehash down */ - new_hash_table_power = hash_table_power - 1; - - while ((int)elements < ((1 << (new_hash_table_power - 1)) * RELATIONSHIP)) { - new_hash_table_power--; - } - - if (new_hash_table_power < (int)MIN_HASH_TABLE_POWER) { - new_hash_table_power = MIN_HASH_TABLE_POWER; - } - } - - if (new_hash_table_power == -1) { - return; - } - - Element **new_hash_table = memnew_arr(Element *, ((uint64_t)1 << new_hash_table_power)); - ERR_FAIL_COND_MSG(!new_hash_table, "Out of memory."); - - for (int i = 0; i < (1 << new_hash_table_power); i++) { - new_hash_table[i] = nullptr; - } - - if (hash_table) { - for (int i = 0; i < (1 << hash_table_power); i++) { - while (hash_table[i]) { - Element *se = hash_table[i]; - hash_table[i] = se->next; - int new_pos = se->hash & ((1 << new_hash_table_power) - 1); - se->next = new_hash_table[new_pos]; - new_hash_table[new_pos] = se; - } - } - - memdelete_arr(hash_table); - } - hash_table = new_hash_table; - hash_table_power = new_hash_table_power; - } - - /* I want to have only one function.. */ - _FORCE_INLINE_ const Element *get_element(const TKey &p_key) const { + _FORCE_INLINE_ uint32_t _hash(const TKey &p_key) const { uint32_t hash = Hasher::hash(p_key); - uint32_t index = hash & ((1 << hash_table_power) - 1); - Element *e = hash_table[index]; + if (unlikely(hash == EMPTY_HASH)) { + hash = EMPTY_HASH + 1; + } - while (e) { - /* checking hash first avoids comparing key, which may take longer */ - if (e->hash == hash && Comparator::compare(e->pair.key, p_key)) { - /* the pair exists in this hashtable, so just update data */ - return e; + return hash; + } + + _FORCE_INLINE_ uint32_t _get_probe_length(uint32_t p_pos, uint32_t p_hash, uint32_t p_capacity) const { + uint32_t original_pos = p_hash % p_capacity; + return (p_pos - original_pos + p_capacity) % p_capacity; + } + + bool _lookup_pos(const TKey &p_key, uint32_t &r_pos) const { + if (elements == nullptr) { + return false; // Failed lookups, no elements + } + + uint32_t capacity = hash_table_size_primes[capacity_index]; + uint32_t hash = _hash(p_key); + uint32_t pos = hash % capacity; + uint32_t distance = 0; + + while (true) { + if (hashes[pos] == EMPTY_HASH) { + return false; } - e = e->next; - } - - return nullptr; - } - - Element *create_element(const TKey &p_key) { - /* if element doesn't exist, create it */ - Element *e = memnew(Element(p_key)); - ERR_FAIL_COND_V_MSG(!e, nullptr, "Out of memory."); - uint32_t hash = Hasher::hash(p_key); - uint32_t index = hash & ((1 << hash_table_power) - 1); - e->next = hash_table[index]; - e->hash = hash; - - hash_table[index] = e; - elements++; - - return e; - } - - void copy_from(const HashMap &p_t) { - if (&p_t == this) { - return; /* much less bother with that */ - } - - clear(); - - if (!p_t.hash_table || p_t.hash_table_power == 0) { - return; /* not copying from empty table */ - } - - hash_table = memnew_arr(Element *, (uint64_t)1 << p_t.hash_table_power); - hash_table_power = p_t.hash_table_power; - elements = p_t.elements; - - for (int i = 0; i < (1 << p_t.hash_table_power); i++) { - hash_table[i] = nullptr; - - const Element *e = p_t.hash_table[i]; - - while (e) { - Element *le = memnew(Element(*e)); /* local element */ - - /* add to list and reassign pointers */ - le->next = hash_table[i]; - hash_table[i] = le; - - e = e->next; - } - } - } - -public: - Element *set(const TKey &p_key, const TData &p_data) { - return set(Pair(p_key, p_data)); - } - - Element *set(const Pair &p_pair) { - Element *e = nullptr; - if (!hash_table) { - make_hash_table(); // if no table, make one - } else { - e = const_cast(get_element(p_pair.key)); - } - - /* if we made it up to here, the pair doesn't exist, create and assign */ - - if (!e) { - e = create_element(p_pair.key); - if (!e) { - return nullptr; - } - check_hash_table(); // perform mantenience routine - } - - e->pair.data = p_pair.data; - return e; - } - - bool has(const TKey &p_key) const { - return getptr(p_key) != nullptr; - } - - /** - * Get a key from data, return a const reference. - * WARNING: this doesn't check errors, use either getptr and check nullptr, or check - * first with has(key) - */ - - const TData &get(const TKey &p_key) const { - const TData *res = getptr(p_key); - CRASH_COND_MSG(!res, "Map key not found."); - return *res; - } - - TData &get(const TKey &p_key) { - TData *res = getptr(p_key); - CRASH_COND_MSG(!res, "Map key not found."); - return *res; - } - - /** - * Same as get, except it can return nullptr when item was not found. - * This is mainly used for speed purposes. - */ - - _FORCE_INLINE_ TData *getptr(const TKey &p_key) { - if (unlikely(!hash_table)) { - return nullptr; - } - - Element *e = const_cast(get_element(p_key)); - - if (e) { - return &e->pair.data; - } - - return nullptr; - } - - _FORCE_INLINE_ const TData *getptr(const TKey &p_key) const { - if (unlikely(!hash_table)) { - return nullptr; - } - - const Element *e = const_cast(get_element(p_key)); - - if (e) { - return &e->pair.data; - } - - return nullptr; - } - - /** - * Same as get, except it can return nullptr when item was not found. - * This version is custom, will take a hash and a custom key (that should support operator==() - */ - - template - _FORCE_INLINE_ TData *custom_getptr(C p_custom_key, uint32_t p_custom_hash) { - if (unlikely(!hash_table)) { - return nullptr; - } - - uint32_t hash = p_custom_hash; - uint32_t index = hash & ((1 << hash_table_power) - 1); - - Element *e = hash_table[index]; - - while (e) { - /* checking hash first avoids comparing key, which may take longer */ - if (e->hash == hash && Comparator::compare(e->pair.key, p_custom_key)) { - /* the pair exists in this hashtable, so just update data */ - return &e->pair.data; + if (distance > _get_probe_length(pos, hashes[pos], capacity)) { + return false; } - e = e->next; - } - - return nullptr; - } - - template - _FORCE_INLINE_ const TData *custom_getptr(C p_custom_key, uint32_t p_custom_hash) const { - if (unlikely(!hash_table)) { - return nullptr; - } - - uint32_t hash = p_custom_hash; - uint32_t index = hash & ((1 << hash_table_power) - 1); - - const Element *e = hash_table[index]; - - while (e) { - /* checking hash first avoids comparing key, which may take longer */ - if (e->hash == hash && Comparator::compare(e->pair.key, p_custom_key)) { - /* the pair exists in this hashtable, so just update data */ - return &e->pair.data; - } - - e = e->next; - } - - return nullptr; - } - - /** - * Erase an item, return true if erasing was successful - */ - - bool erase(const TKey &p_key) { - if (unlikely(!hash_table)) { - return false; - } - - uint32_t hash = Hasher::hash(p_key); - uint32_t index = hash & ((1 << hash_table_power) - 1); - - Element *e = hash_table[index]; - Element *p = nullptr; - while (e) { - /* checking hash first avoids comparing key, which may take longer */ - if (e->hash == hash && Comparator::compare(e->pair.key, p_key)) { - if (p) { - p->next = e->next; - } else { - // begin of list - hash_table[index] = e->next; - } - - memdelete(e); - elements--; - - if (elements == 0) { - erase_hash_table(); - } else { - check_hash_table(); - } + if (hashes[pos] == hash && Comparator::compare(elements[pos]->data.key, p_key)) { + r_pos = pos; return true; } - p = e; - e = e->next; + pos = (pos + 1) % capacity; + distance++; + } + } + + void _insert_with_hash(uint32_t p_hash, HashMapElement *p_value) { + uint32_t capacity = hash_table_size_primes[capacity_index]; + uint32_t hash = p_hash; + HashMapElement *value = p_value; + uint32_t distance = 0; + uint32_t pos = hash % capacity; + + while (true) { + if (hashes[pos] == EMPTY_HASH) { + elements[pos] = value; + hashes[pos] = hash; + + num_elements++; + + return; + } + + // Not an empty slot, let's check the probing length of the existing one. + uint32_t existing_probe_len = _get_probe_length(pos, hashes[pos], capacity); + if (existing_probe_len < distance) { + SWAP(hash, hashes[pos]); + SWAP(value, elements[pos]); + distance = existing_probe_len; + } + + pos = (pos + 1) % capacity; + distance++; + } + } + + void _resize_and_rehash(uint32_t p_new_capacity_index) { + uint32_t old_capacity = hash_table_size_primes[capacity_index]; + + // Capacity can't be 0. + capacity_index = MAX((uint32_t)MIN_CAPACITY_INDEX, p_new_capacity_index); + + uint32_t capacity = hash_table_size_primes[capacity_index]; + + HashMapElement **old_elements = elements; + uint32_t *old_hashes = hashes; + + num_elements = 0; + hashes = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); + elements = reinterpret_cast **>(Memory::alloc_static(sizeof(HashMapElement *) * capacity)); + + for (uint32_t i = 0; i < capacity; i++) { + hashes[i] = 0; + elements[i] = nullptr; } - return false; + if (old_capacity == 0) { + // Nothing to do. + return; + } + + for (uint32_t i = 0; i < old_capacity; i++) { + if (old_hashes[i] == EMPTY_HASH) { + continue; + } + + _insert_with_hash(old_hashes[i], old_elements[i]); + } + + Memory::free_static(old_elements); + Memory::free_static(old_hashes); } - inline const TData &operator[](const TKey &p_key) const { // constref + _FORCE_INLINE_ HashMapElement *_insert(const TKey &p_key, const TValue &p_value, bool p_front_insert = false) { + uint32_t capacity = hash_table_size_primes[capacity_index]; + if (unlikely(elements == nullptr)) { + // Allocate on demand to save memory. - return get(p_key); - } - inline TData &operator[](const TKey &p_key) { // assignment + hashes = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); + elements = reinterpret_cast **>(Memory::alloc_static(sizeof(HashMapElement *) * capacity)); - Element *e = nullptr; - if (!hash_table) { - make_hash_table(); // if no table, make one + for (uint32_t i = 0; i < capacity; i++) { + hashes[i] = EMPTY_HASH; + elements[i] = nullptr; + } + } + + uint32_t pos = 0; + bool exists = _lookup_pos(p_key, pos); + + if (exists) { + elements[pos]->data.value = p_value; + return elements[pos]; } else { - e = const_cast(get_element(p_key)); - } - - /* if we made it up to here, the pair doesn't exist, create */ - if (!e) { - e = create_element(p_key); - CRASH_COND(!e); - check_hash_table(); // perform mantenience routine - } - - return e->pair.data; - } - - /** - * Get the next key to p_key, and the first key if p_key is null. - * Returns a pointer to the next key if found, nullptr otherwise. - * Adding/Removing elements while iterating will, of course, have unexpected results, don't do it. - * - * Example: - * - * const TKey *k=nullptr; - * - * while( (k=table.next(k)) ) { - * - * print( *k ); - * } - * - */ - const TKey *next(const TKey *p_key) const { - if (unlikely(!hash_table)) { - return nullptr; - } - - if (!p_key) { /* get the first key */ - - for (int i = 0; i < (1 << hash_table_power); i++) { - if (hash_table[i]) { - return &hash_table[i]->pair.key; - } + if (num_elements + 1 > MAX_OCCUPANCY * capacity) { + ERR_FAIL_COND_V_MSG(capacity_index + 1 == HASH_TABLE_SIZE_MAX, nullptr, "Hash table maximum capacity reached, aborting insertion."); + _resize_and_rehash(capacity_index + 1); } - } else { /* get the next key */ + HashMapElement *elem = element_alloc.new_allocation(HashMapElement(p_key, p_value)); - const Element *e = get_element(*p_key); - ERR_FAIL_COND_V_MSG(!e, nullptr, "Invalid key supplied."); - if (e->next) { - /* if there is a "next" in the list, return that */ - return &e->next->pair.key; + if (tail_element == nullptr) { + head_element = elem; + tail_element = elem; + } else if (p_front_insert) { + head_element->prev = elem; + elem->next = head_element; + head_element = elem; } else { - /* go to next elements */ - uint32_t index = e->hash & ((1 << hash_table_power) - 1); - index++; - for (int i = index; i < (1 << hash_table_power); i++) { - if (hash_table[i]) { - return &hash_table[i]->pair.key; - } - } + tail_element->next = elem; + elem->prev = tail_element; + tail_element = elem; } - /* nothing found, was at end */ + uint32_t hash = _hash(p_key); + _insert_with_hash(hash, elem); + return elem; } - - return nullptr; /* nothing found */ } - inline unsigned int size() const { - return elements; - } +public: + _FORCE_INLINE_ uint32_t get_capacity() const { return hash_table_size_primes[capacity_index]; } + _FORCE_INLINE_ uint32_t size() const { return num_elements; } - inline bool is_empty() const { - return elements == 0; + /* Standard Godot Container API */ + + bool is_empty() const { + return num_elements == 0; } void clear() { - /* clean up */ - if (hash_table) { - for (int i = 0; i < (1 << hash_table_power); i++) { - while (hash_table[i]) { - Element *e = hash_table[i]; - hash_table[i] = e->next; - memdelete(e); - } - } - - memdelete_arr(hash_table); - } - - hash_table = nullptr; - hash_table_power = 0; - elements = 0; - } - - void operator=(const HashMap &p_table) { - copy_from(p_table); - } - - void get_key_list(List *r_keys) const { - if (unlikely(!hash_table)) { + if (elements == nullptr) { return; } - for (int i = 0; i < (1 << hash_table_power); i++) { - Element *e = hash_table[i]; - while (e) { - r_keys->push_back(e->pair.key); - e = e->next; + uint32_t capacity = hash_table_size_primes[capacity_index]; + for (uint32_t i = 0; i < capacity; i++) { + if (hashes[i] == EMPTY_HASH) { + continue; } + + hashes[i] = EMPTY_HASH; + element_alloc.delete_allocation(elements[i]); + elements[i] = nullptr; + } + + tail_element = nullptr; + head_element = nullptr; + num_elements = 0; + } + + TValue &get(const TKey &p_key) { + uint32_t pos = 0; + bool exists = _lookup_pos(p_key, pos); + CRASH_COND_MSG(!exists, "HashMap key not found."); + return elements[pos]->data.value; + } + + const TValue &get(const TKey &p_key) const { + uint32_t pos = 0; + bool exists = _lookup_pos(p_key, pos); + CRASH_COND_MSG(!exists, "HashMap key not found."); + return elements[pos]->data.value; + } + + const TValue *getptr(const TKey &p_key) const { + uint32_t pos = 0; + bool exists = _lookup_pos(p_key, pos); + + if (exists) { + return &elements[pos]->data.value; + } + return nullptr; + } + + TValue *getptr(const TKey &p_key) { + uint32_t pos = 0; + bool exists = _lookup_pos(p_key, pos); + + if (exists) { + return &elements[pos]->data.value; + } + return nullptr; + } + + _FORCE_INLINE_ bool has(const TKey &p_key) const { + uint32_t _pos = 0; + return _lookup_pos(p_key, _pos); + } + + bool erase(const TKey &p_key) { + uint32_t pos = 0; + bool exists = _lookup_pos(p_key, pos); + + if (!exists) { + return false; + } + + uint32_t capacity = hash_table_size_primes[capacity_index]; + uint32_t next_pos = (pos + 1) % capacity; + while (hashes[next_pos] != EMPTY_HASH && _get_probe_length(next_pos, hashes[next_pos], capacity) != 0) { + SWAP(hashes[next_pos], hashes[pos]); + SWAP(elements[next_pos], elements[pos]); + pos = next_pos; + next_pos = (pos + 1) % capacity; + } + + hashes[pos] = EMPTY_HASH; + + if (head_element == elements[pos]) { + head_element = elements[pos]->next; + } + + if (tail_element == elements[pos]) { + tail_element = elements[pos]->prev; + } + + if (elements[pos]->prev) { + elements[pos]->prev->next = elements[pos]->next; + } + + if (elements[pos]->next) { + elements[pos]->next->prev = elements[pos]->prev; + } + + element_alloc.delete_allocation(elements[pos]); + elements[pos] = nullptr; + + num_elements--; + return true; + } + + // Reserves space for a number of elements, useful to avoid many resizes and rehashes. + // If adding a known (possibly large) number of elements at once, must be larger than old capacity. + void reserve(uint32_t p_new_capacity) { + uint32_t new_index = capacity_index; + + while (hash_table_size_primes[new_index] < p_new_capacity) { + ERR_FAIL_COND_MSG(new_index + 1 == (uint32_t)HASH_TABLE_SIZE_MAX, nullptr); + new_index++; + } + + if (new_index == capacity_index) { + return; + } + + if (elements == nullptr) { + capacity_index = new_index; + return; // Unallocated yet. + } + _resize_and_rehash(new_index); + } + + /** Iterator API **/ + + struct ConstIterator { + _FORCE_INLINE_ const KeyValue &operator*() const { + return E->data; + } + _FORCE_INLINE_ const KeyValue *operator->() const { return &E->data; } + _FORCE_INLINE_ ConstIterator &operator++() { + if (E) { + E = E->next; + } + return *this; + } + _FORCE_INLINE_ ConstIterator &operator--() { + if (E) { + E = E->prev; + } + return *this; + } + + _FORCE_INLINE_ bool operator==(const ConstIterator &b) const { return E == b.E; } + _FORCE_INLINE_ bool operator!=(const ConstIterator &b) const { return E != b.E; } + + _FORCE_INLINE_ explicit operator bool() const { + return E != nullptr; + } + + _FORCE_INLINE_ ConstIterator(const HashMapElement *p_E) { E = p_E; } + _FORCE_INLINE_ ConstIterator() {} + _FORCE_INLINE_ ConstIterator(const ConstIterator &p_it) { E = p_it.E; } + _FORCE_INLINE_ void operator=(const ConstIterator &p_it) { + E = p_it.E; + } + + private: + const HashMapElement *E = nullptr; + }; + + struct Iterator { + _FORCE_INLINE_ KeyValue &operator*() const { + return E->data; + } + _FORCE_INLINE_ KeyValue *operator->() const { return &E->data; } + _FORCE_INLINE_ Iterator &operator++() { + if (E) { + E = E->next; + } + return *this; + } + _FORCE_INLINE_ Iterator &operator--() { + if (E) { + E = E->prev; + } + return *this; + } + + _FORCE_INLINE_ bool operator==(const Iterator &b) const { return E == b.E; } + _FORCE_INLINE_ bool operator!=(const Iterator &b) const { return E != b.E; } + + _FORCE_INLINE_ explicit operator bool() const { + return E != nullptr; + } + + _FORCE_INLINE_ Iterator(HashMapElement *p_E) { E = p_E; } + _FORCE_INLINE_ Iterator() {} + _FORCE_INLINE_ Iterator(const Iterator &p_it) { E = p_it.E; } + _FORCE_INLINE_ void operator=(const Iterator &p_it) { + E = p_it.E; + } + + operator ConstIterator() const { + return ConstIterator(E); + } + + private: + HashMapElement *E = nullptr; + }; + + _FORCE_INLINE_ Iterator begin() { + return Iterator(head_element); + } + _FORCE_INLINE_ Iterator end() { + return Iterator(nullptr); + } + _FORCE_INLINE_ Iterator last() { + return Iterator(tail_element); + } + + _FORCE_INLINE_ Iterator find(const TKey &p_key) { + uint32_t pos = 0; + bool exists = _lookup_pos(p_key, pos); + if (!exists) { + return end(); + } + return Iterator(elements[pos]); + } + + _FORCE_INLINE_ void remove(const Iterator &p_iter) { + if (p_iter) { + erase(p_iter->key); } } - HashMap() {} + _FORCE_INLINE_ ConstIterator begin() const { + return ConstIterator(head_element); + } + _FORCE_INLINE_ ConstIterator end() const { + return ConstIterator(nullptr); + } + _FORCE_INLINE_ ConstIterator last() const { + return ConstIterator(tail_element); + } - HashMap(const HashMap &p_table) { - copy_from(p_table); + _FORCE_INLINE_ ConstIterator find(const TKey &p_key) const { + uint32_t pos = 0; + bool exists = _lookup_pos(p_key, pos); + if (!exists) { + return end(); + } + return ConstIterator(elements[pos]); + } + + /* Indexing */ + + const TValue &operator[](const TKey &p_key) const { + uint32_t pos = 0; + bool exists = _lookup_pos(p_key, pos); + CRASH_COND(!exists); + return elements[pos]->data.value; + } + + TValue &operator[](const TKey &p_key) { + uint32_t pos = 0; + bool exists = _lookup_pos(p_key, pos); + if (!exists) { + return _insert(p_key, TValue())->data.value; + } else { + return elements[pos]->data.value; + } + } + + /* Insert */ + + Iterator insert(const TKey &p_key, const TValue &p_value, bool p_front_insert = false) { + return Iterator(_insert(p_key, p_value, p_front_insert)); + } + + /* Constructors */ + + HashMap(const HashMap &p_other) { + reserve(hash_table_size_primes[p_other.capacity_index]); + + if (p_other.num_elements == 0) { + return; + } + + for (const KeyValue &E : p_other) { + insert(E.key, E.value); + } + } + + void operator=(const HashMap &p_other) { + if (this == &p_other) { + return; // Ignore self assignment. + } + if (num_elements != 0) { + clear(); + } + + reserve(hash_table_size_primes[p_other.capacity_index]); + + if (p_other.elements == nullptr) { + return; // Nothing to copy. + } + + for (const KeyValue &E : p_other) { + insert(E.key, E.value); + } + } + + HashMap(uint32_t p_initial_capacity) { + // Capacity can't be 0. + capacity_index = 0; + reserve(p_initial_capacity); + } + HashMap() { + capacity_index = MIN_CAPACITY_INDEX; + } + + uint32_t debug_get_hash(uint32_t p_index) { + if (num_elements == 0) { + return 0; + } + ERR_FAIL_INDEX_V(p_index, get_capacity(), 0); + return hashes[p_index]; + } + Iterator debug_get_element(uint32_t p_index) { + if (num_elements == 0) { + return Iterator(); + } + ERR_FAIL_INDEX_V(p_index, get_capacity(), Iterator()); + return Iterator(elements[p_index]); } ~HashMap() { clear(); + + if (elements != nullptr) { + Memory::free_static(elements); + Memory::free_static(hashes); + } } }; } // namespace godot -#endif // ! HASH_MAP_HPP +#endif // HASH_MAP_HPP diff --git a/include/godot_cpp/templates/hash_set.hpp b/include/godot_cpp/templates/hash_set.hpp new file mode 100644 index 00000000..dc83a2a0 --- /dev/null +++ b/include/godot_cpp/templates/hash_set.hpp @@ -0,0 +1,477 @@ +/*************************************************************************/ +/* hash_set.hpp */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +#ifndef HASH_SET_HPP +#define HASH_SET_HPP + +#include +#include +#include +#include +#include + +namespace godot { + +/** + * Implementation of Set using a bidi indexed hash map. + * Use RBSet instead of this only if the following conditions are met: + * + * - You need to keep an iterator or const pointer to Key and you intend to add/remove elements in the meantime. + * - Iteration order does matter (via operator<) + * + */ + +template > +class HashSet { +public: + static constexpr uint32_t MIN_CAPACITY_INDEX = 2; // Use a prime. + static constexpr float MAX_OCCUPANCY = 0.75; + static constexpr uint32_t EMPTY_HASH = 0; + +private: + TKey *keys = nullptr; + uint32_t *hash_to_key = nullptr; + uint32_t *key_to_hash = nullptr; + uint32_t *hashes = nullptr; + + uint32_t capacity_index = 0; + uint32_t num_elements = 0; + + _FORCE_INLINE_ uint32_t _hash(const TKey &p_key) const { + uint32_t hash = Hasher::hash(p_key); + + if (unlikely(hash == EMPTY_HASH)) { + hash = EMPTY_HASH + 1; + } + + return hash; + } + + _FORCE_INLINE_ uint32_t _get_probe_length(uint32_t p_pos, uint32_t p_hash, uint32_t p_capacity) const { + uint32_t original_pos = p_hash % p_capacity; + return (p_pos - original_pos + p_capacity) % p_capacity; + } + + bool _lookup_pos(const TKey &p_key, uint32_t &r_pos) const { + if (keys == nullptr) { + return false; // Failed lookups, no elements + } + + uint32_t capacity = hash_table_size_primes[capacity_index]; + uint32_t hash = _hash(p_key); + uint32_t pos = hash % capacity; + uint32_t distance = 0; + + while (true) { + if (hashes[pos] == EMPTY_HASH) { + return false; + } + + if (distance > _get_probe_length(pos, hashes[pos], capacity)) { + return false; + } + + if (hashes[pos] == hash && Comparator::compare(keys[hash_to_key[pos]], p_key)) { + r_pos = hash_to_key[pos]; + return true; + } + + pos = (pos + 1) % capacity; + distance++; + } + } + + uint32_t _insert_with_hash(uint32_t p_hash, uint32_t p_index) { + uint32_t capacity = hash_table_size_primes[capacity_index]; + uint32_t hash = p_hash; + uint32_t index = p_index; + uint32_t distance = 0; + uint32_t pos = hash % capacity; + + while (true) { + if (hashes[pos] == EMPTY_HASH) { + hashes[pos] = hash; + key_to_hash[index] = pos; + hash_to_key[pos] = index; + return pos; + } + + // Not an empty slot, let's check the probing length of the existing one. + uint32_t existing_probe_len = _get_probe_length(pos, hashes[pos], capacity); + if (existing_probe_len < distance) { + key_to_hash[index] = pos; + SWAP(hash, hashes[pos]); + SWAP(index, hash_to_key[pos]); + distance = existing_probe_len; + } + + pos = (pos + 1) % capacity; + distance++; + } + } + + void _resize_and_rehash(uint32_t p_new_capacity_index) { + // Capacity can't be 0. + capacity_index = MAX((uint32_t)MIN_CAPACITY_INDEX, p_new_capacity_index); + + uint32_t capacity = hash_table_size_primes[capacity_index]; + + uint32_t *old_hashes = hashes; + uint32_t *old_key_to_hash = key_to_hash; + + hashes = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); + keys = reinterpret_cast(Memory::realloc_static(keys, sizeof(TKey) * capacity)); + key_to_hash = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); + hash_to_key = reinterpret_cast(Memory::realloc_static(hash_to_key, sizeof(uint32_t) * capacity)); + + for (uint32_t i = 0; i < capacity; i++) { + hashes[i] = EMPTY_HASH; + } + + for (uint32_t i = 0; i < num_elements; i++) { + uint32_t h = old_hashes[old_key_to_hash[i]]; + _insert_with_hash(h, i); + } + + Memory::free_static(old_hashes); + Memory::free_static(old_key_to_hash); + } + + _FORCE_INLINE_ int32_t _insert(const TKey &p_key) { + uint32_t capacity = hash_table_size_primes[capacity_index]; + if (unlikely(keys == nullptr)) { + // Allocate on demand to save memory. + + hashes = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); + keys = reinterpret_cast(Memory::alloc_static(sizeof(TKey) * capacity)); + key_to_hash = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); + hash_to_key = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); + + for (uint32_t i = 0; i < capacity; i++) { + hashes[i] = EMPTY_HASH; + } + } + + uint32_t pos = 0; + bool exists = _lookup_pos(p_key, pos); + + if (exists) { + return pos; + } else { + if (num_elements + 1 > MAX_OCCUPANCY * capacity) { + ERR_FAIL_COND_V_MSG(capacity_index + 1 == HASH_TABLE_SIZE_MAX, -1, "Hash table maximum capacity reached, aborting insertion."); + _resize_and_rehash(capacity_index + 1); + } + + uint32_t hash = _hash(p_key); + memnew_placement(&keys[num_elements], TKey(p_key)); + _insert_with_hash(hash, num_elements); + num_elements++; + return num_elements - 1; + } + } + + void _init_from(const HashSet &p_other) { + capacity_index = p_other.capacity_index; + num_elements = p_other.num_elements; + + if (p_other.num_elements == 0) { + return; + } + + uint32_t capacity = hash_table_size_primes[capacity_index]; + + hashes = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); + keys = reinterpret_cast(Memory::alloc_static(sizeof(TKey) * capacity)); + key_to_hash = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); + hash_to_key = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); + + for (uint32_t i = 0; i < num_elements; i++) { + memnew_placement(&keys[i], TKey(p_other.keys[i])); + key_to_hash[i] = p_other.key_to_hash[i]; + } + + for (uint32_t i = 0; i < capacity; i++) { + hashes[i] = p_other.hashes[i]; + hash_to_key[i] = p_other.hash_to_key[i]; + } + } + +public: + _FORCE_INLINE_ uint32_t get_capacity() const { return hash_table_size_primes[capacity_index]; } + _FORCE_INLINE_ uint32_t size() const { return num_elements; } + + /* Standard Godot Container API */ + + bool is_empty() const { + return num_elements == 0; + } + + void clear() { + if (keys == nullptr) { + return; + } + uint32_t capacity = hash_table_size_primes[capacity_index]; + for (uint32_t i = 0; i < capacity; i++) { + hashes[i] = EMPTY_HASH; + } + for (uint32_t i = 0; i < num_elements; i++) { + keys[i].~TKey(); + } + + num_elements = 0; + } + + _FORCE_INLINE_ bool has(const TKey &p_key) const { + uint32_t _pos = 0; + return _lookup_pos(p_key, _pos); + } + + bool erase(const TKey &p_key) { + uint32_t pos = 0; + bool exists = _lookup_pos(p_key, pos); + + if (!exists) { + return false; + } + + uint32_t key_pos = pos; + pos = key_to_hash[pos]; // make hash pos + + uint32_t capacity = hash_table_size_primes[capacity_index]; + uint32_t next_pos = (pos + 1) % capacity; + while (hashes[next_pos] != EMPTY_HASH && _get_probe_length(next_pos, hashes[next_pos], capacity) != 0) { + uint32_t kpos = hash_to_key[pos]; + uint32_t kpos_next = hash_to_key[next_pos]; + SWAP(key_to_hash[kpos], key_to_hash[kpos_next]); + SWAP(hashes[next_pos], hashes[pos]); + SWAP(hash_to_key[next_pos], hash_to_key[pos]); + + pos = next_pos; + next_pos = (pos + 1) % capacity; + } + + hashes[pos] = EMPTY_HASH; + keys[key_pos].~TKey(); + num_elements--; + if (key_pos < num_elements) { + // Not the last key, move the last one here to keep keys lineal + memnew_placement(&keys[key_pos], TKey(keys[num_elements])); + keys[num_elements].~TKey(); + key_to_hash[key_pos] = key_to_hash[num_elements]; + hash_to_key[key_to_hash[num_elements]] = key_pos; + } + + return true; + } + + // Reserves space for a number of elements, useful to avoid many resizes and rehashes. + // If adding a known (possibly large) number of elements at once, must be larger than old capacity. + void reserve(uint32_t p_new_capacity) { + uint32_t new_index = capacity_index; + + while (hash_table_size_primes[new_index] < p_new_capacity) { + ERR_FAIL_COND_MSG(new_index + 1 == (uint32_t)HASH_TABLE_SIZE_MAX, nullptr); + new_index++; + } + + if (new_index == capacity_index) { + return; + } + + if (keys == nullptr) { + capacity_index = new_index; + return; // Unallocated yet. + } + _resize_and_rehash(new_index); + } + + /** Iterator API **/ + + struct Iterator { + _FORCE_INLINE_ const TKey &operator*() const { + return keys[index]; + } + _FORCE_INLINE_ const TKey *operator->() const { + return &keys[index]; + } + _FORCE_INLINE_ Iterator &operator++() { + index++; + if (index >= (int32_t)num_keys) { + index = -1; + keys = nullptr; + num_keys = 0; + } + return *this; + } + _FORCE_INLINE_ Iterator &operator--() { + index--; + if (index < 0) { + index = -1; + keys = nullptr; + num_keys = 0; + } + return *this; + } + + _FORCE_INLINE_ bool operator==(const Iterator &b) const { return keys == b.keys && index == b.index; } + _FORCE_INLINE_ bool operator!=(const Iterator &b) const { return keys != b.keys || index != b.index; } + + _FORCE_INLINE_ explicit operator bool() const { + return keys != nullptr; + } + + _FORCE_INLINE_ Iterator(const TKey *p_keys, uint32_t p_num_keys, int32_t p_index = -1) { + keys = p_keys; + num_keys = p_num_keys; + index = p_index; + } + _FORCE_INLINE_ Iterator() {} + _FORCE_INLINE_ Iterator(const Iterator &p_it) { + keys = p_it.keys; + num_keys = p_it.num_keys; + index = p_it.index; + } + _FORCE_INLINE_ void operator=(const Iterator &p_it) { + keys = p_it.keys; + num_keys = p_it.num_keys; + index = p_it.index; + } + + private: + const TKey *keys = nullptr; + uint32_t num_keys = 0; + int32_t index = -1; + }; + + _FORCE_INLINE_ Iterator begin() const { + return num_elements ? Iterator(keys, num_elements, 0) : Iterator(); + } + _FORCE_INLINE_ Iterator end() const { + return Iterator(); + } + _FORCE_INLINE_ Iterator last() const { + if (num_elements == 0) { + return Iterator(); + } + return Iterator(keys, num_elements, num_elements - 1); + } + + _FORCE_INLINE_ Iterator find(const TKey &p_key) const { + uint32_t pos = 0; + bool exists = _lookup_pos(p_key, pos); + if (!exists) { + return end(); + } + return Iterator(keys, num_elements, pos); + } + + _FORCE_INLINE_ void remove(const Iterator &p_iter) { + if (p_iter) { + erase(*p_iter); + } + } + + /* Insert */ + + Iterator insert(const TKey &p_key) { + uint32_t pos = _insert(p_key); + return Iterator(keys, num_elements, pos); + } + + /* Constructors */ + + HashSet(const HashSet &p_other) { + _init_from(p_other); + } + + void operator=(const HashSet &p_other) { + if (this == &p_other) { + return; // Ignore self assignment. + } + + clear(); + + if (keys != nullptr) { + Memory::free_static(keys); + Memory::free_static(key_to_hash); + Memory::free_static(hash_to_key); + Memory::free_static(hashes); + keys = nullptr; + hashes = nullptr; + hash_to_key = nullptr; + key_to_hash = nullptr; + } + + _init_from(p_other); + } + + HashSet(uint32_t p_initial_capacity) { + // Capacity can't be 0. + capacity_index = 0; + reserve(p_initial_capacity); + } + HashSet() { + capacity_index = MIN_CAPACITY_INDEX; + } + + void reset() { + clear(); + + if (keys != nullptr) { + Memory::free_static(keys); + Memory::free_static(key_to_hash); + Memory::free_static(hash_to_key); + Memory::free_static(hashes); + keys = nullptr; + hashes = nullptr; + hash_to_key = nullptr; + key_to_hash = nullptr; + } + capacity_index = MIN_CAPACITY_INDEX; + } + + ~HashSet() { + clear(); + + if (keys != nullptr) { + Memory::free_static(keys); + Memory::free_static(key_to_hash); + Memory::free_static(hash_to_key); + Memory::free_static(hashes); + } + } +}; + +} // namespace godot + +#endif // HASH_SET_HPP diff --git a/include/godot_cpp/templates/hashfuncs.hpp b/include/godot_cpp/templates/hashfuncs.hpp index 885e4bae..a308d0a6 100644 --- a/include/godot_cpp/templates/hashfuncs.hpp +++ b/include/godot_cpp/templates/hashfuncs.hpp @@ -32,7 +32,19 @@ #define HASHFUNCS_HPP #include +#include +#include +#include +#include +#include #include +#include +#include +#include +#include +#include +#include +#include /** * Hashing functions @@ -152,9 +164,14 @@ static inline uint64_t make_uint64_t(T p_in) { return _u._u64; } +template +class Ref; + struct HashMapHasherDefault { + static _FORCE_INLINE_ uint32_t hash(const String &p_string) { return p_string.hash(); } static _FORCE_INLINE_ uint32_t hash(const char *p_cstr) { return hash_djb2(p_cstr); } static _FORCE_INLINE_ uint32_t hash(const uint64_t p_int) { return hash_one_uint64(p_int); } + static _FORCE_INLINE_ uint32_t hash(const ObjectID &p_id) { return hash_one_uint64(p_id); } static _FORCE_INLINE_ uint32_t hash(const int64_t p_int) { return hash(uint64_t(p_int)); } static _FORCE_INLINE_ uint32_t hash(const float p_float) { return hash_djb2_one_float(p_float); } @@ -169,6 +186,60 @@ struct HashMapHasherDefault { static _FORCE_INLINE_ uint32_t hash(const char16_t p_uchar) { return (uint32_t)p_uchar; } static _FORCE_INLINE_ uint32_t hash(const char32_t p_uchar) { return (uint32_t)p_uchar; } static _FORCE_INLINE_ uint32_t hash(const RID &p_rid) { return hash_one_uint64(p_rid.get_id()); } + + static _FORCE_INLINE_ uint32_t hash(const StringName &p_string_name) { return p_string_name.hash(); } + static _FORCE_INLINE_ uint32_t hash(const NodePath &p_path) { return p_path.hash(); } + + template + static _FORCE_INLINE_ uint32_t hash(const T *p_pointer) { return hash_one_uint64((uint64_t)p_pointer); } + + template + static _FORCE_INLINE_ uint32_t hash(const Ref &p_ref) { return hash_one_uint64((uint64_t)p_ref.operator->()); } + + static _FORCE_INLINE_ uint32_t hash(const Vector2i &p_vec) { + uint32_t h = hash_djb2_one_32(p_vec.x); + return hash_djb2_one_32(p_vec.y, h); + } + static _FORCE_INLINE_ uint32_t hash(const Vector3i &p_vec) { + uint32_t h = hash_djb2_one_32(p_vec.x); + h = hash_djb2_one_32(p_vec.y, h); + return hash_djb2_one_32(p_vec.z, h); + } + + static _FORCE_INLINE_ uint32_t hash(const Vector2 &p_vec) { + uint32_t h = hash_djb2_one_float(p_vec.x); + return hash_djb2_one_float(p_vec.y, h); + } + static _FORCE_INLINE_ uint32_t hash(const Vector3 &p_vec) { + uint32_t h = hash_djb2_one_float(p_vec.x); + h = hash_djb2_one_float(p_vec.y, h); + return hash_djb2_one_float(p_vec.z, h); + } + + static _FORCE_INLINE_ uint32_t hash(const Rect2i &p_rect) { + uint32_t h = hash_djb2_one_32(p_rect.position.x); + h = hash_djb2_one_32(p_rect.position.y, h); + h = hash_djb2_one_32(p_rect.size.x, h); + return hash_djb2_one_32(p_rect.size.y, h); + } + + static _FORCE_INLINE_ uint32_t hash(const Rect2 &p_rect) { + uint32_t h = hash_djb2_one_float(p_rect.position.x); + h = hash_djb2_one_float(p_rect.position.y, h); + h = hash_djb2_one_float(p_rect.size.x, h); + return hash_djb2_one_float(p_rect.size.y, h); + } + + static _FORCE_INLINE_ uint32_t hash(const AABB &p_aabb) { + uint32_t h = hash_djb2_one_float(p_aabb.position.x); + h = hash_djb2_one_float(p_aabb.position.y, h); + h = hash_djb2_one_float(p_aabb.position.z, h); + h = hash_djb2_one_float(p_aabb.size.x, h); + h = hash_djb2_one_float(p_aabb.size.y, h); + return hash_djb2_one_float(p_aabb.size.z, h); + } + + // static _FORCE_INLINE_ uint32_t hash(const void* p_ptr) { return uint32_t(uint64_t(p_ptr))*(0x9e3779b1L); } }; template @@ -176,16 +247,70 @@ struct HashMapComparatorDefault { static bool compare(const T &p_lhs, const T &p_rhs) { return p_lhs == p_rhs; } +}; - bool compare(const float &p_lhs, const float &p_rhs) { - return (p_lhs == p_rhs) || (std::isnan(p_lhs) && std::isnan(p_rhs)); - } - - bool compare(const double &p_lhs, const double &p_rhs) { +template <> +struct HashMapComparatorDefault { + static bool compare(const float &p_lhs, const float &p_rhs) { return (p_lhs == p_rhs) || (std::isnan(p_lhs) && std::isnan(p_rhs)); } }; +template <> +struct HashMapComparatorDefault { + static bool compare(const double &p_lhs, const double &p_rhs) { + return (p_lhs == p_rhs) || (std::isnan(p_lhs) && std::isnan(p_rhs)); + } +}; + +template <> +struct HashMapComparatorDefault { + static bool compare(const Vector2 &p_lhs, const Vector2 &p_rhs) { + return ((p_lhs.x == p_rhs.x) || (std::isnan(p_lhs.x) && std::isnan(p_rhs.x))) && ((p_lhs.y == p_rhs.y) || (std::isnan(p_lhs.y) && std::isnan(p_rhs.y))); + } +}; + +template <> +struct HashMapComparatorDefault { + static bool compare(const Vector3 &p_lhs, const Vector3 &p_rhs) { + return ((p_lhs.x == p_rhs.x) || (std::isnan(p_lhs.x) && std::isnan(p_rhs.x))) && ((p_lhs.y == p_rhs.y) || (std::isnan(p_lhs.y) && std::isnan(p_rhs.y))) && ((p_lhs.z == p_rhs.z) || (std::isnan(p_lhs.z) && std::isnan(p_rhs.z))); + } +}; + +constexpr uint32_t HASH_TABLE_SIZE_MAX = 29; + +const uint32_t hash_table_size_primes[HASH_TABLE_SIZE_MAX] = { + 5, + 13, + 23, + 47, + 97, + 193, + 389, + 769, + 1543, + 3079, + 6151, + 12289, + 24593, + 49157, + 98317, + 196613, + 393241, + 786433, + 1572869, + 3145739, + 6291469, + 12582917, + 25165843, + 50331653, + 100663319, + 201326611, + 402653189, + 805306457, + 1610612741, +}; + } // namespace godot -#endif // ! HASHFUNCS_HPP +#endif // HASHFUNCS_HPP diff --git a/include/godot_cpp/templates/map.hpp b/include/godot_cpp/templates/rb_map.hpp similarity index 96% rename from include/godot_cpp/templates/map.hpp rename to include/godot_cpp/templates/rb_map.hpp index 21b88998..38631e4d 100644 --- a/include/godot_cpp/templates/map.hpp +++ b/include/godot_cpp/templates/rb_map.hpp @@ -1,5 +1,5 @@ /*************************************************************************/ -/* map.hpp */ +/* rb_map.hpp */ /*************************************************************************/ /* This file is part of: */ /* GODOT ENGINE */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef MAP_HPP -#define MAP_HPP +#ifndef RB_MAP_HPP +#define RB_MAP_HPP #include #include @@ -41,7 +41,7 @@ namespace godot { // https://web.archive.org/web/20120507164830/https://web.mit.edu/~emin/www/source_code/red_black_tree/index.html template , class A = DefaultAllocator> -class Map { +class RBMap { enum Color { RED, BLACK @@ -51,7 +51,7 @@ class Map { public: class Element { private: - friend class Map; + friend class RBMap; int color = RED; Element *right = nullptr; Element *left = nullptr; @@ -113,7 +113,9 @@ public: _FORCE_INLINE_ bool operator==(const Iterator &b) const { return E == b.E; } _FORCE_INLINE_ bool operator!=(const Iterator &b) const { return E != b.E; } - + explicit operator bool() const { + return E != nullptr; + } Iterator(Element *p_E) { E = p_E; } Iterator() {} Iterator(const Iterator &p_it) { E = p_it.E; } @@ -138,7 +140,9 @@ public: _FORCE_INLINE_ bool operator==(const ConstIterator &b) const { return E == b.E; } _FORCE_INLINE_ bool operator!=(const ConstIterator &b) const { return E != b.E; } - + explicit operator bool() const { + return E != nullptr; + } ConstIterator(const Element *p_E) { E = p_E; } ConstIterator() {} ConstIterator(const ConstIterator &p_it) { E = p_it.E; } @@ -180,7 +184,7 @@ public: private: struct _Data { Element *_root = nullptr; - Element *_nil; + Element *_nil = nullptr; int size_cache = 0; _FORCE_INLINE_ _Data() { @@ -346,7 +350,7 @@ private: void _insert_rb_fix(Element *p_new_node) { Element *node = p_new_node; Element *nparent = node->parent; - Element *ngrand_parent; + Element *ngrand_parent = nullptr; while (nparent->color == RED) { ngrand_parent = nparent->parent; @@ -502,7 +506,7 @@ private: Element *rp = ((p_node->left == _data._nil) || (p_node->right == _data._nil)) ? p_node : p_node->_next; Element *node = (rp->left == _data._nil) ? rp->right : rp->left; - Element *sibling; + Element *sibling = nullptr; if (rp == rp->parent->left) { rp->parent->left = node; sibling = rp->parent->right; @@ -574,7 +578,7 @@ private: memdelete_allocator(p_element); } - void _copy_from(const Map &p_map) { + void _copy_from(const RBMap &p_map) { clear(); // not the fastest way, but safeset to write. for (Element *I = p_map.front(); I; I = I->next()) { @@ -712,8 +716,12 @@ public: return e; } - inline bool is_empty() const { return _data.size_cache == 0; } - inline int size() const { return _data.size_cache; } + inline bool is_empty() const { + return _data.size_cache == 0; + } + inline int size() const { + return _data.size_cache; + } int calculate_depth() const { // used for debug mostly @@ -737,21 +745,21 @@ public: _data._free_root(); } - void operator=(const Map &p_map) { + void operator=(const RBMap &p_map) { _copy_from(p_map); } - Map(const Map &p_map) { + RBMap(const RBMap &p_map) { _copy_from(p_map); } - _FORCE_INLINE_ Map() {} + _FORCE_INLINE_ RBMap() {} - ~Map() { + ~RBMap() { clear(); } }; } // namespace godot -#endif // ! MAP_HPP +#endif // MAP_HPP diff --git a/include/godot_cpp/templates/set.hpp b/include/godot_cpp/templates/rb_set.hpp similarity index 96% rename from include/godot_cpp/templates/set.hpp rename to include/godot_cpp/templates/rb_set.hpp index 38a071d2..122ce5b3 100644 --- a/include/godot_cpp/templates/set.hpp +++ b/include/godot_cpp/templates/rb_set.hpp @@ -1,5 +1,5 @@ /*************************************************************************/ -/* set.hpp */ +/* rb_set.hpp */ /*************************************************************************/ /* This file is part of: */ /* GODOT ENGINE */ @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef SET_HPP -#define SET_HPP +#ifndef RB_SET_HPP +#define RB_SET_HPP #include @@ -39,7 +39,7 @@ namespace godot { template , class A = DefaultAllocator> -class Set { +class RBSet { enum Color { RED, BLACK @@ -49,7 +49,7 @@ class Set { public: class Element { private: - friend class Set; + friend class RBSet; int color = RED; Element *right = nullptr; Element *left = nullptr; @@ -100,6 +100,7 @@ public: _FORCE_INLINE_ bool operator==(const Iterator &b) const { return E == b.E; } _FORCE_INLINE_ bool operator!=(const Iterator &b) const { return E != b.E; } + explicit operator bool() const { return E != nullptr; } Iterator(Element *p_E) { E = p_E; } Iterator() {} Iterator(const Iterator &p_it) { E = p_it.E; } @@ -129,6 +130,8 @@ public: _FORCE_INLINE_ ConstIterator() {} _FORCE_INLINE_ ConstIterator(const ConstIterator &p_it) { E = p_it.E; } + explicit operator bool() const { return E != nullptr; } + private: const Element *E = nullptr; }; @@ -329,7 +332,7 @@ private: void _insert_rb_fix(Element *p_new_node) { Element *node = p_new_node; Element *nparent = node->parent; - Element *ngrand_parent; + Element *ngrand_parent = nullptr; while (nparent->color == RED) { ngrand_parent = nparent->parent; @@ -483,7 +486,7 @@ private: Element *rp = ((p_node->left == _data._nil) || (p_node->right == _data._nil)) ? p_node : p_node->_next; Element *node = (rp->left == _data._nil) ? rp->right : rp->left; - Element *sibling; + Element *sibling = nullptr; if (rp == rp->parent->left) { rp->parent->left = node; sibling = rp->parent->right; @@ -555,7 +558,7 @@ private: memdelete_allocator(p_element); } - void _copy_from(const Set &p_set) { + void _copy_from(const RBSet &p_set) { clear(); // not the fastest way, but safeset to write. for (Element *I = p_set.front(); I; I = I->next()) { @@ -662,8 +665,12 @@ public: return e; } - inline bool is_empty() const { return _data.size_cache == 0; } - inline int size() const { return _data.size_cache; } + inline bool is_empty() const { + return _data.size_cache == 0; + } + inline int size() const { + return _data.size_cache; + } int calculate_depth() const { // used for debug mostly @@ -687,21 +694,21 @@ public: _data._free_root(); } - void operator=(const Set &p_set) { + void operator=(const RBSet &p_set) { _copy_from(p_set); } - Set(const Set &p_set) { + RBSet(const RBSet &p_set) { _copy_from(p_set); } - _FORCE_INLINE_ Set() {} + _FORCE_INLINE_ RBSet() {} - ~Set() { + ~RBSet() { clear(); } }; } // namespace godot -#endif // ! SET_HPP +#endif // SET_HPP diff --git a/include/godot_cpp/variant/variant.hpp b/include/godot_cpp/variant/variant.hpp index 1e87d6b3..34811aa0 100644 --- a/include/godot_cpp/variant/variant.hpp +++ b/include/godot_cpp/variant/variant.hpp @@ -102,14 +102,14 @@ public: }; enum Operator { - //comparison + // comparison OP_EQUAL, OP_NOT_EQUAL, OP_LESS, OP_LESS_EQUAL, OP_GREATER, OP_GREATER_EQUAL, - //mathematic + // mathematic OP_ADD, OP_SUBTRACT, OP_MULTIPLY, @@ -117,19 +117,19 @@ public: OP_NEGATE, OP_POSITIVE, OP_MODULE, - //bitwise + // bitwise OP_SHIFT_LEFT, OP_SHIFT_RIGHT, OP_BIT_AND, OP_BIT_OR, OP_BIT_XOR, OP_BIT_NEGATE, - //logic + // logic OP_AND, OP_OR, OP_XOR, OP_NOT, - //containment + // containment OP_IN, OP_MAX }; @@ -285,6 +285,8 @@ public: bool has_key(const Variant &key, bool *r_valid = nullptr) const; static bool has_member(Variant::Type type, const StringName &member); + uint32_t hash() const; + uint32_t recursive_hash(int recursion_count) const; bool hash_compare(const Variant &variant) const; bool booleanize() const; String stringify() const; @@ -299,6 +301,14 @@ public: void clear(); }; +struct VariantHasher { + static _FORCE_INLINE_ uint32_t hash(const Variant &p_variant) { return p_variant.hash(); } +}; + +struct VariantComparator { + static _FORCE_INLINE_ bool compare(const Variant &p_lhs, const Variant &p_rhs) { return p_lhs.hash_compare(p_rhs); } +}; + } // namespace godot #endif // ! GODOT_CPP_VARIANT_HPP diff --git a/src/variant/variant.cpp b/src/variant/variant.cpp index cd9d8be4..6a69ced1 100644 --- a/src/variant/variant.cpp +++ b/src/variant/variant.cpp @@ -629,6 +629,16 @@ bool Variant::has_member(Variant::Type type, const StringName &member) { return PtrToArg::convert(&has); } +uint32_t Variant::hash() const { + GDNativeInt hash = internal::gdn_interface->variant_hash(_native_ptr()); + return PtrToArg::convert(&hash); +} + +uint32_t Variant::recursive_hash(int recursion_count) const { + GDNativeInt hash = internal::gdn_interface->variant_recursive_hash(_native_ptr(), recursion_count); + return PtrToArg::convert(&hash); +} + bool Variant::hash_compare(const Variant &variant) const { GDNativeBool compare = internal::gdn_interface->variant_hash_compare(_native_ptr(), variant._native_ptr()); return PtrToArg::convert(&compare); @@ -681,45 +691,45 @@ bool Variant::can_convert_strict(Variant::Type from, Variant::Type to) { void Variant::clear() { static const bool needs_deinit[Variant::VARIANT_MAX] = { - false, //NIL, - false, //BOOL, - false, //INT, - false, //FLOAT, - true, //STRING, - false, //VECTOR2, - false, //VECTOR2I, - false, //RECT2, - false, //RECT2I, - false, //VECTOR3, - false, //VECTOR3I, - true, //TRANSFORM2D, - false, //PLANE, - false, //QUATERNION, - true, //AABB, - true, //BASIS, - true, //TRANSFORM, + false, // NIL, + false, // BOOL, + false, // INT, + false, // FLOAT, + true, // STRING, + false, // VECTOR2, + false, // VECTOR2I, + false, // RECT2, + false, // RECT2I, + false, // VECTOR3, + false, // VECTOR3I, + true, // TRANSFORM2D, + false, // PLANE, + false, // QUATERNION, + true, // AABB, + true, // BASIS, + true, // TRANSFORM, // misc types - false, //COLOR, - true, //STRING_NAME, - true, //NODE_PATH, - false, //RID, - true, //OBJECT, - true, //CALLABLE, - true, //SIGNAL, - true, //DICTIONARY, - true, //ARRAY, + false, // COLOR, + true, // STRING_NAME, + true, // NODE_PATH, + false, // RID, + true, // OBJECT, + true, // CALLABLE, + true, // SIGNAL, + true, // DICTIONARY, + true, // ARRAY, // typed arrays - true, //PACKED_BYTE_ARRAY, - true, //PACKED_INT32_ARRAY, - true, //PACKED_INT64_ARRAY, - true, //PACKED_FLOAT32_ARRAY, - true, //PACKED_FLOAT64_ARRAY, - true, //PACKED_STRING_ARRAY, - true, //PACKED_VECTOR2_ARRAY, - true, //PACKED_VECTOR3_ARRAY, - true, //PACKED_COLOR_ARRAY, + true, // PACKED_BYTE_ARRAY, + true, // PACKED_INT32_ARRAY, + true, // PACKED_INT64_ARRAY, + true, // PACKED_FLOAT32_ARRAY, + true, // PACKED_FLOAT64_ARRAY, + true, // PACKED_STRING_ARRAY, + true, // PACKED_VECTOR2_ARRAY, + true, // PACKED_VECTOR3_ARRAY, + true, // PACKED_COLOR_ARRAY, }; if (unlikely(needs_deinit[get_type()])) { // Make it fast for types that don't need deinit.