diff --git a/binding_generator.py b/binding_generator.py index a1ae9f65..60d21cbe 100644 --- a/binding_generator.py +++ b/binding_generator.py @@ -1064,7 +1064,10 @@ def generate_engine_class_header(class_api, used_classes, fully_used_classes, us if "enums" in class_api and class_name != "Object": for enum_api in class_api["enums"]: - result.append(f'VARIANT_ENUM_CAST({class_name}, {class_name}::{enum_api["name"]});') + if enum_api["is_bitfield"]: + result.append(f'VARIANT_BITFIELD_CAST({class_name}, {class_name}::{enum_api["name"]});') + else: + result.append(f'VARIANT_ENUM_CAST({class_name}, {class_name}::{enum_api["name"]});') result.append("") result.append(f"#endif // ! {header_guard}") @@ -1194,7 +1197,7 @@ def generate_engine_class_source(class_api, used_classes, fully_used_classes, us result.append(method_call) if vararg and ("return_value" in method and method["return_value"]["type"] != "void"): - return_type = method["return_value"]["type"].replace("enum::", "") + return_type = get_enum_fullname(method["return_value"]["type"]) if return_type != "Variant": result.append(f"\treturn VariantCaster<{return_type}>::cast(ret);") else: @@ -1712,18 +1715,35 @@ def needs_copy_instead_of_move(type_name): def is_enum(type_name): - return type_name.startswith("enum::") + return type_name.startswith("enum::") or type_name.startswith("bitfield::") + + +def is_bitfield(type_name): + return type_name.startswith("bitfield::") def get_enum_class(enum_name: str): if "." in enum_name: - return enum_name.replace("enum::", "").split(".")[0] + if is_bitfield(enum_name): + return enum_name.replace("bitfield::", "").split(".")[0] + else: + return enum_name.replace("enum::", "").split(".")[0] else: return "GlobalConstants" +def get_enum_fullname(enum_name: str): + if is_bitfield(enum_name): + return enum_name.replace("bitfield::", "BitField<") + ">" + else: + return enum_name.replace("enum::", "") + + def get_enum_name(enum_name: str): - return enum_name.replace("enum::", "").split(".")[-1] + if is_bitfield(enum_name): + return enum_name.replace("bitfield::", "").split(".")[-1] + else: + return enum_name.replace("enum::", "").split(".")[-1] def is_variant(type_name): @@ -1781,10 +1801,16 @@ def correct_type(type_name, meta=None): if type_name in type_conversion: return type_conversion[type_name] if is_enum(type_name): - base_class = get_enum_class(type_name) - if base_class == "GlobalConstants": - return f"{get_enum_name(type_name)}" - return f"{base_class}::{get_enum_name(type_name)}" + if is_bitfield(type_name): + base_class = get_enum_class(type_name) + if base_class == "GlobalConstants": + return f"BitField<{get_enum_name(type_name)}>" + return f"BitField<{base_class}::{get_enum_name(type_name)}>" + else: + base_class = get_enum_class(type_name) + if base_class == "GlobalConstants": + return f"{get_enum_name(type_name)}" + return f"{base_class}::{get_enum_name(type_name)}" if is_refcounted(type_name): return f"Ref<{type_name}>" if type_name == "Object" or is_engine_class(type_name): @@ -1807,6 +1833,9 @@ def get_gdnative_type(type_name): "float": "double", } + if type_name.startswith("BitField<"): + return "int64_t" + if type_name in type_conversion_map: return type_conversion_map[type_name] return type_name diff --git a/godot-headers/extension_api.json b/godot-headers/extension_api.json index 9482069f..851c6b34 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": "alpha11", - "version_build": "official", - "version_full_name": "Godot Engine v4.0.alpha11.official" + "version_status": "alpha", + "version_build": "custom_build", + "version_full_name": "Godot Engine v4.0.alpha.custom_build" }, "builtin_class_sizes": [ { @@ -2684,7 +2684,7 @@ }, { "name": "KEY_MASK_CMD", - "value": 268435456 + "value": 134217728 }, { "name": "KEY_MASK_KPAD", @@ -3429,6 +3429,10 @@ "name": "PROPERTY_USAGE_SUBGROUP", "value": 512 }, + { + "name": "PROPERTY_USAGE_CLASS_IS_BITFIELD", + "value": 1024 + }, { "name": "PROPERTY_USAGE_NO_INSTANCE_STATE", "value": 2048 @@ -14408,6 +14412,14 @@ } ] }, + { + "name": "get_concatenated_names", + "return_type": "StringName", + "is_vararg": false, + "is_const": true, + "is_static": false, + "hash": 3816817146 + }, { "name": "get_concatenated_subnames", "return_type": "StringName", @@ -19294,6 +19306,7 @@ "enums": [ { "name": "Mode", + "is_bitfield": false, "values": [ { "name": "MODE_ECB_ENCRYPT", @@ -25014,6 +25027,7 @@ "enums": [ { "name": "TrackType", + "is_bitfield": false, "values": [ { "name": "TYPE_VALUE", @@ -25055,6 +25069,7 @@ }, { "name": "InterpolationType", + "is_bitfield": false, "values": [ { "name": "INTERPOLATION_NEAREST", @@ -25072,6 +25087,7 @@ }, { "name": "UpdateMode", + "is_bitfield": false, "values": [ { "name": "UPDATE_CONTINUOUS", @@ -25093,6 +25109,7 @@ }, { "name": "LoopMode", + "is_bitfield": false, "values": [ { "name": "LOOP_NONE", @@ -25110,6 +25127,7 @@ }, { "name": "HandleMode", + "is_bitfield": false, "values": [ { "name": "HANDLE_MODE_FREE", @@ -26875,6 +26893,7 @@ "enums": [ { "name": "FilterAction", + "is_bitfield": false, "values": [ { "name": "FILTER_IGNORE", @@ -27407,6 +27426,7 @@ "enums": [ { "name": "PlayMode", + "is_bitfield": false, "values": [ { "name": "PLAY_MODE_FORWARD", @@ -28752,6 +28772,7 @@ "enums": [ { "name": "BlendMode", + "is_bitfield": false, "values": [ { "name": "BLEND_MODE_INTERPOLATED", @@ -30356,6 +30377,7 @@ "enums": [ { "name": "MixMode", + "is_bitfield": false, "values": [ { "name": "MIX_MODE_BLEND", @@ -31058,6 +31080,7 @@ "enums": [ { "name": "SwitchMode", + "is_bitfield": false, "values": [ { "name": "SWITCH_MODE_IMMEDIATE", @@ -31968,6 +31991,7 @@ "enums": [ { "name": "AnimationProcessCallback", + "is_bitfield": false, "values": [ { "name": "ANIMATION_PROCESS_PHYSICS", @@ -31985,6 +32009,7 @@ }, { "name": "AnimationMethodCallMode", + "is_bitfield": false, "values": [ { "name": "ANIMATION_METHOD_CALL_DEFERRED", @@ -32847,6 +32872,7 @@ "enums": [ { "name": "AnimationProcessCallback", + "is_bitfield": false, "values": [ { "name": "ANIMATION_PROCESS_PHYSICS", @@ -33113,6 +33139,7 @@ "enums": [ { "name": "SpaceOverride", + "is_bitfield": false, "values": [ { "name": "SPACE_OVERRIDE_DISABLED", @@ -33819,6 +33846,7 @@ "enums": [ { "name": "SpaceOverride", + "is_bitfield": false, "values": [ { "name": "SPACE_OVERRIDE_DISABLED", @@ -35280,6 +35308,7 @@ "enums": [ { "name": "StretchMode", + "is_bitfield": false, "values": [ { "name": "STRETCH_WIDTH_CONTROLS_HEIGHT", @@ -35301,6 +35330,7 @@ }, { "name": "AlignmentMode", + "is_bitfield": false, "values": [ { "name": "ALIGNMENT_BEGIN", @@ -37031,6 +37061,7 @@ "enums": [ { "name": "Mode", + "is_bitfield": false, "values": [ { "name": "MODE_CLIP", @@ -37318,6 +37349,7 @@ "enums": [ { "name": "FilterDB", + "is_bitfield": false, "values": [ { "name": "FILTER_6DB", @@ -37934,6 +37966,7 @@ "enums": [ { "name": "FFTSize", + "is_bitfield": false, "values": [ { "name": "FFT_SIZE_256", @@ -38438,6 +38471,7 @@ "enums": [ { "name": "FFTSize", + "is_bitfield": false, "values": [ { "name": "FFT_SIZE_256", @@ -38580,6 +38614,7 @@ "enums": [ { "name": "MagnitudeMode", + "is_bitfield": false, "values": [ { "name": "MAGNITUDE_AVERAGE", @@ -38828,6 +38863,7 @@ "enums": [ { "name": "SpeakerMode", + "is_bitfield": false, "values": [ { "name": "SPEAKER_MODE_STEREO", @@ -40299,6 +40335,7 @@ "enums": [ { "name": "MixTarget", + "is_bitfield": false, "values": [ { "name": "MIX_TARGET_STEREO", @@ -41138,6 +41175,7 @@ "enums": [ { "name": "AttenuationModel", + "is_bitfield": false, "values": [ { "name": "ATTENUATION_INVERSE_DISTANCE", @@ -41159,6 +41197,7 @@ }, { "name": "DopplerTracking", + "is_bitfield": false, "values": [ { "name": "DOPPLER_TRACKING_DISABLED", @@ -41906,6 +41945,7 @@ "enums": [ { "name": "PlaybackMode", + "is_bitfield": false, "values": [ { "name": "PLAYBACK_RANDOM_NO_REPEATS", @@ -42203,6 +42243,7 @@ "enums": [ { "name": "Format", + "is_bitfield": false, "values": [ { "name": "FORMAT_8_BITS", @@ -42220,6 +42261,7 @@ }, { "name": "LoopMode", + "is_bitfield": false, "values": [ { "name": "LOOP_DISABLED", @@ -42501,6 +42543,7 @@ "enums": [ { "name": "CopyMode", + "is_bitfield": false, "values": [ { "name": "COPY_MODE_DISABLED", @@ -42595,6 +42638,7 @@ "enums": [ { "name": "DrawMode", + "is_bitfield": false, "values": [ { "name": "DRAW_NORMAL", @@ -42620,6 +42664,7 @@ }, { "name": "ActionMode", + "is_bitfield": false, "values": [ { "name": "ACTION_MODE_BUTTON_PRESS", @@ -43042,6 +43087,7 @@ "enums": [ { "name": "TextureParam", + "is_bitfield": false, "values": [ { "name": "TEXTURE_ALBEDO", @@ -43123,6 +43169,7 @@ }, { "name": "TextureFilter", + "is_bitfield": false, "values": [ { "name": "TEXTURE_FILTER_NEAREST", @@ -43156,6 +43203,7 @@ }, { "name": "DetailUV", + "is_bitfield": false, "values": [ { "name": "DETAIL_UV_1", @@ -43169,6 +43217,7 @@ }, { "name": "Transparency", + "is_bitfield": false, "values": [ { "name": "TRANSPARENCY_DISABLED", @@ -43198,6 +43247,7 @@ }, { "name": "ShadingMode", + "is_bitfield": false, "values": [ { "name": "SHADING_MODE_UNSHADED", @@ -43219,6 +43269,7 @@ }, { "name": "Feature", + "is_bitfield": false, "values": [ { "name": "FEATURE_EMISSION", @@ -43276,6 +43327,7 @@ }, { "name": "BlendMode", + "is_bitfield": false, "values": [ { "name": "BLEND_MODE_MIX", @@ -43297,6 +43349,7 @@ }, { "name": "AlphaAntiAliasing", + "is_bitfield": false, "values": [ { "name": "ALPHA_ANTIALIASING_OFF", @@ -43314,6 +43367,7 @@ }, { "name": "DepthDrawMode", + "is_bitfield": false, "values": [ { "name": "DEPTH_DRAW_OPAQUE_ONLY", @@ -43331,6 +43385,7 @@ }, { "name": "CullMode", + "is_bitfield": false, "values": [ { "name": "CULL_BACK", @@ -43348,6 +43403,7 @@ }, { "name": "Flags", + "is_bitfield": false, "values": [ { "name": "FLAG_DISABLE_DEPTH_TEST", @@ -43441,6 +43497,7 @@ }, { "name": "DiffuseMode", + "is_bitfield": false, "values": [ { "name": "DIFFUSE_BURLEY", @@ -43462,6 +43519,7 @@ }, { "name": "SpecularMode", + "is_bitfield": false, "values": [ { "name": "SPECULAR_SCHLICK_GGX", @@ -43479,6 +43537,7 @@ }, { "name": "BillboardMode", + "is_bitfield": false, "values": [ { "name": "BILLBOARD_DISABLED", @@ -43500,6 +43559,7 @@ }, { "name": "TextureChannel", + "is_bitfield": false, "values": [ { "name": "TEXTURE_CHANNEL_RED", @@ -43525,6 +43585,7 @@ }, { "name": "EmissionOperator", + "is_bitfield": false, "values": [ { "name": "EMISSION_OP_ADD", @@ -43538,6 +43599,7 @@ }, { "name": "DistanceFadeMode", + "is_bitfield": false, "values": [ { "name": "DISTANCE_FADE_DISABLED", @@ -46706,6 +46768,109 @@ } ] }, + { + "name": "BoneMap", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "get_profile", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 753038520, + "return_value": { + "type": "SkeletonProfile" + } + }, + { + "name": "set_profile", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2840950109, + "arguments": [ + { + "name": "profile", + "type": "SkeletonProfile" + } + ] + }, + { + "name": "get_skeleton_bone_name", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2223010457, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "profile_bone_name", + "type": "StringName" + } + ] + }, + { + "name": "set_skeleton_bone_name", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 490643558, + "arguments": [ + { + "name": "profile_bone_name", + "type": "StringName" + }, + { + "name": "skeleton_bone_name", + "type": "StringName" + } + ] + }, + { + "name": "find_profile_bone_name", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2223010457, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "skeleton_bone_name", + "type": "StringName" + } + ] + } + ], + "signals": [ + { + "name": "bone_map_updated" + }, + { + "name": "profile_updated" + } + ], + "properties": [ + { + "type": "SkeletonProfile", + "name": "profile", + "setter": "set_profile", + "getter": "get_profile", + "index": -1 + } + ] + }, { "name": "BoxContainer", "is_refcounted": false, @@ -46715,6 +46880,7 @@ "enums": [ { "name": "AlignmentMode", + "is_bitfield": false, "values": [ { "name": "ALIGNMENT_BEGIN", @@ -47098,51 +47264,6 @@ "type": "enum::Control.TextDirection" } }, - { - "name": "set_opentype_feature", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2956805083, - "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": 1321353865, - "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": 3218959716 - }, { "name": "set_language", "is_const": false, @@ -47327,20 +47448,6 @@ "getter": "get_text", "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 - }, { "type": "Texture2D", "name": "icon", @@ -47389,6 +47496,20 @@ "setter": "set_expand_icon", "getter": "is_expand_icon", "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 } ] }, @@ -47443,6 +47564,7 @@ "enums": [ { "name": "DrawOrder", + "is_bitfield": false, "values": [ { "name": "DRAW_ORDER_INDEX", @@ -47456,6 +47578,7 @@ }, { "name": "Parameter", + "is_bitfield": false, "values": [ { "name": "PARAM_INITIAL_LINEAR_VELOCITY", @@ -47513,6 +47636,7 @@ }, { "name": "ParticleFlags", + "is_bitfield": false, "values": [ { "name": "PARTICLE_FLAG_ALIGN_Y_TO_VELOCITY", @@ -47534,6 +47658,7 @@ }, { "name": "EmissionShape", + "is_bitfield": false, "values": [ { "name": "EMISSION_SHAPE_POINT", @@ -48946,6 +49071,7 @@ "enums": [ { "name": "DrawOrder", + "is_bitfield": false, "values": [ { "name": "DRAW_ORDER_INDEX", @@ -48963,6 +49089,7 @@ }, { "name": "Parameter", + "is_bitfield": false, "values": [ { "name": "PARAM_INITIAL_LINEAR_VELOCITY", @@ -49020,6 +49147,7 @@ }, { "name": "ParticleFlags", + "is_bitfield": false, "values": [ { "name": "PARTICLE_FLAG_ALIGN_Y_TO_VELOCITY", @@ -49041,6 +49169,7 @@ }, { "name": "EmissionShape", + "is_bitfield": false, "values": [ { "name": "EMISSION_SHAPE_POINT", @@ -51037,6 +51166,7 @@ "enums": [ { "name": "Mode", + "is_bitfield": false, "values": [ { "name": "MODE_DEPTH", @@ -51054,6 +51184,7 @@ }, { "name": "PathRotation", + "is_bitfield": false, "values": [ { "name": "PATH_ROTATION_POLYGON", @@ -51071,6 +51202,7 @@ }, { "name": "PathIntervalType", + "is_bitfield": false, "values": [ { "name": "PATH_INTERVAL_DISTANCE", @@ -51664,6 +51796,7 @@ "enums": [ { "name": "Operation", + "is_bitfield": false, "values": [ { "name": "OPERATION_UNION", @@ -52403,6 +52536,7 @@ "enums": [ { "name": "AnchorMode", + "is_bitfield": false, "values": [ { "name": "ANCHOR_MODE_FIXED_TOP_LEFT", @@ -52416,6 +52550,7 @@ }, { "name": "Camera2DProcessCallback", + "is_bitfield": false, "values": [ { "name": "CAMERA2D_PROCESS_PHYSICS", @@ -53168,6 +53303,7 @@ "enums": [ { "name": "Projection", + "is_bitfield": false, "values": [ { "name": "PROJECTION_PERSPECTIVE", @@ -53185,6 +53321,7 @@ }, { "name": "KeepAspect", + "is_bitfield": false, "values": [ { "name": "KEEP_WIDTH", @@ -53198,6 +53335,7 @@ }, { "name": "DopplerTracking", + "is_bitfield": false, "values": [ { "name": "DOPPLER_TRACKING_DISABLED", @@ -54308,6 +54446,7 @@ "enums": [ { "name": "FeedDataType", + "is_bitfield": false, "values": [ { "name": "FEED_NOIMAGE", @@ -54329,6 +54468,7 @@ }, { "name": "FeedPosition", + "is_bitfield": false, "values": [ { "name": "FEED_UNSPECIFIED", @@ -54468,6 +54608,7 @@ "enums": [ { "name": "FeedImage", + "is_bitfield": false, "values": [ { "name": "FEED_RGBA_IMAGE", @@ -54835,6 +54976,7 @@ "enums": [ { "name": "TextureFilter", + "is_bitfield": false, "values": [ { "name": "TEXTURE_FILTER_PARENT_NODE", @@ -54872,6 +55014,7 @@ }, { "name": "TextureRepeat", + "is_bitfield": false, "values": [ { "name": "TEXTURE_REPEAT_PARENT_NODE", @@ -55620,7 +55763,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1454608742, + "hash": 2853740748, "arguments": [ { "name": "font", @@ -55646,7 +55789,7 @@ "default_value": "-1" }, { - "name": "size", + "name": "font_size", "type": "int", "meta": "int32", "default_value": "16" @@ -55657,21 +55800,19 @@ "default_value": "Color(1, 1, 1, 1)" }, { - "name": "outline_size", - "type": "int", - "meta": "int32", + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", + "default_value": "3" + }, + { + "name": "direction", + "type": "enum::TextServer.Direction", "default_value": "0" }, { - "name": "outline_modulate", - "type": "Color", - "default_value": "Color(1, 1, 1, 0)" - }, - { - "name": "flags", - "type": "int", - "meta": "uint16", - "default_value": "3" + "name": "orientation", + "type": "enum::TextServer.Orientation", + "default_value": "0" } ] }, @@ -55681,7 +55822,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1606295393, + "hash": 3563325278, "arguments": [ { "name": "font", @@ -55706,6 +55847,147 @@ "meta": "float", "default_value": "-1" }, + { + "name": "font_size", + "type": "int", + "meta": "int32", + "default_value": "16" + }, + { + "name": "max_lines", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "brk_flags", + "type": "bitfield::TextServer.LineBreakFlag", + "default_value": "3" + }, + { + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", + "default_value": "3" + }, + { + "name": "direction", + "type": "enum::TextServer.Direction", + "default_value": "0" + }, + { + "name": "orientation", + "type": "enum::TextServer.Orientation", + "default_value": "0" + } + ] + }, + { + "name": "draw_string_outline", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2218291162, + "arguments": [ + { + "name": "font", + "type": "Font" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "text", + "type": "String" + }, + { + "name": "alignment", + "type": "enum::HorizontalAlignment", + "default_value": "0" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "-1" + }, + { + "name": "font_size", + "type": "int", + "meta": "int32", + "default_value": "16" + }, + { + "name": "size", + "type": "int", + "meta": "int32", + "default_value": "1" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", + "default_value": "3" + }, + { + "name": "direction", + "type": "enum::TextServer.Direction", + "default_value": "0" + }, + { + "name": "orientation", + "type": "enum::TextServer.Orientation", + "default_value": "0" + } + ] + }, + { + "name": "draw_multiline_string_outline", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 696040085, + "arguments": [ + { + "name": "font", + "type": "Font" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "text", + "type": "String" + }, + { + "name": "alignment", + "type": "enum::HorizontalAlignment", + "default_value": "0" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "-1" + }, + { + "name": "font_size", + "type": "int", + "meta": "int32", + "default_value": "16" + }, { "name": "max_lines", "type": "int", @@ -55716,7 +55998,7 @@ "name": "size", "type": "int", "meta": "int32", - "default_value": "16" + "default_value": "1" }, { "name": "modulate", @@ -55724,21 +56006,24 @@ "default_value": "Color(1, 1, 1, 1)" }, { - "name": "outline_size", - "type": "int", - "meta": "int32", + "name": "brk_flags", + "type": "bitfield::TextServer.LineBreakFlag", + "default_value": "3" + }, + { + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", + "default_value": "3" + }, + { + "name": "direction", + "type": "enum::TextServer.Direction", "default_value": "0" }, { - "name": "outline_modulate", - "type": "Color", - "default_value": "Color(1, 1, 1, 0)" - }, - { - "name": "flags", - "type": "int", - "meta": "uint16", - "default_value": "99" + "name": "orientation", + "type": "enum::TextServer.Orientation", + "default_value": "0" } ] }, @@ -55748,11 +56033,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1548778800, - "return_value": { - "type": "float", - "meta": "float" - }, + "hash": 4139068764, "arguments": [ { "name": "font", @@ -55767,12 +56048,7 @@ "type": "String" }, { - "name": "next", - "type": "String", - "default_value": "\"\"" - }, - { - "name": "size", + "name": "font_size", "type": "int", "meta": "int32", "default_value": "16" @@ -55781,17 +56057,45 @@ "name": "modulate", "type": "Color", "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "draw_char_outline", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1653052791, + "arguments": [ + { + "name": "font", + "type": "Font" }, { - "name": "outline_size", + "name": "pos", + "type": "Vector2" + }, + { + "name": "char", + "type": "String" + }, + { + "name": "font_size", "type": "int", "meta": "int32", - "default_value": "0" + "default_value": "16" }, { - "name": "outline_modulate", + "name": "size", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "modulate", "type": "Color", - "default_value": "Color(1, 1, 1, 0)" + "default_value": "Color(1, 1, 1, 1)" } ] }, @@ -56361,6 +56665,7 @@ "enums": [ { "name": "BlendMode", + "is_bitfield": false, "values": [ { "name": "BLEND_MODE_MIX", @@ -56386,6 +56691,7 @@ }, { "name": "LightMode", + "is_bitfield": false, "values": [ { "name": "LIGHT_MODE_NORMAL", @@ -57948,6 +58254,7 @@ "enums": [ { "name": "MotionMode", + "is_bitfield": false, "values": [ { "name": "MOTION_MODE_GROUNDED", @@ -57961,6 +58268,7 @@ }, { "name": "MovingPlatformApplyVelocityOnLeave", + "is_bitfield": false, "values": [ { "name": "PLATFORM_VEL_ON_LEAVE_ALWAYS", @@ -58688,6 +58996,7 @@ "enums": [ { "name": "MotionMode", + "is_bitfield": false, "values": [ { "name": "MOTION_MODE_GROUNDED", @@ -58701,6 +59010,7 @@ }, { "name": "MovingPlatformApplyVelocityOnLeave", + "is_bitfield": false, "values": [ { "name": "PLATFORM_VEL_ON_LEAVE_ALWAYS", @@ -59975,6 +60285,7 @@ "enums": [ { "name": "CodeCompletionKind", + "is_bitfield": false, "values": [ { "name": "KIND_CLASS", @@ -62048,6 +62359,7 @@ "enums": [ { "name": "DisableMode", + "is_bitfield": false, "values": [ { "name": "DISABLE_MODE_REMOVE", @@ -62710,6 +63022,7 @@ "enums": [ { "name": "DisableMode", + "is_bitfield": false, "values": [ { "name": "DISABLE_MODE_REMOVE", @@ -63326,6 +63639,7 @@ "enums": [ { "name": "BuildMode", + "is_bitfield": false, "values": [ { "name": "BUILD_SOLIDS", @@ -63893,8 +64207,31 @@ "inherits": "BoxContainer", "api_type": "core", "enums": [ + { + "name": "ColorModeType", + "is_bitfield": false, + "values": [ + { + "name": "MODE_RGB", + "value": 0 + }, + { + "name": "MODE_HSV", + "value": 1 + }, + { + "name": "MODE_RAW", + "value": 2 + }, + { + "name": "MODE_OKHSL", + "value": 3 + } + ] + }, { "name": "PickerShapeType", + "is_bitfield": false, "values": [ { "name": "SHAPE_HSV_RECTANGLE", @@ -63941,56 +64278,6 @@ "type": "Color" } }, - { - "name": "set_hsv_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_hsv_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_raw_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_raw_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, { "name": "set_deferred_mode", "is_const": false, @@ -64016,6 +64303,31 @@ "type": "bool" } }, + { + "name": "set_color_mode", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1579114136, + "arguments": [ + { + "name": "color_mode", + "type": "enum::ColorPicker.ColorModeType" + } + ] + }, + { + "name": "get_color_mode", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 392907674, + "return_value": { + "type": "enum::ColorPicker.ColorModeType" + } + }, { "name": "set_edit_alpha", "is_const": false, @@ -64139,7 +64451,7 @@ "hash": 3981373861, "arguments": [ { - "name": "picker", + "name": "shape", "type": "enum::ColorPicker.PickerShapeType" } ] @@ -64201,17 +64513,10 @@ "index": -1 }, { - "type": "bool", - "name": "hsv_mode", - "setter": "set_hsv_mode", - "getter": "is_hsv_mode", - "index": -1 - }, - { - "type": "bool", - "name": "raw_mode", - "setter": "set_raw_mode", - "getter": "is_raw_mode", + "type": "int", + "name": "color_mode", + "setter": "set_color_mode", + "getter": "get_color_mode", "index": -1 }, { @@ -64687,6 +64992,7 @@ "enums": [ { "name": "Param", + "is_bitfield": false, "values": [ { "name": "PARAM_SWING_SPAN", @@ -65230,6 +65536,7 @@ "enums": [ { "name": "FocusMode", + "is_bitfield": false, "values": [ { "name": "FOCUS_NONE", @@ -65247,6 +65554,7 @@ }, { "name": "CursorShape", + "is_bitfield": false, "values": [ { "name": "CURSOR_ARROW", @@ -65320,6 +65628,7 @@ }, { "name": "LayoutPreset", + "is_bitfield": false, "values": [ { "name": "PRESET_TOP_LEFT", @@ -65389,6 +65698,7 @@ }, { "name": "LayoutPresetMode", + "is_bitfield": false, "values": [ { "name": "PRESET_MODE_MINSIZE", @@ -65410,6 +65720,7 @@ }, { "name": "SizeFlags", + "is_bitfield": false, "values": [ { "name": "SIZE_SHRINK_BEGIN", @@ -65439,6 +65750,7 @@ }, { "name": "MouseFilter", + "is_bitfield": false, "values": [ { "name": "MOUSE_FILTER_STOP", @@ -65456,6 +65768,7 @@ }, { "name": "GrowDirection", + "is_bitfield": false, "values": [ { "name": "GROW_DIRECTION_BEGIN", @@ -65473,6 +65786,7 @@ }, { "name": "Anchor", + "is_bitfield": false, "values": [ { "name": "ANCHOR_BEGIN", @@ -65486,6 +65800,7 @@ }, { "name": "LayoutDirection", + "is_bitfield": false, "values": [ { "name": "LAYOUT_DIRECTION_INHERITED", @@ -65507,6 +65822,7 @@ }, { "name": "TextDirection", + "is_bitfield": false, "values": [ { "name": "TEXT_DIRECTION_INHERITED", @@ -68175,6 +68491,7 @@ "enums": [ { "name": "TangentMode", + "is_bitfield": false, "values": [ { "name": "TANGENT_FREE", @@ -69573,6 +69890,7 @@ "enums": [ { "name": "TextureMode", + "is_bitfield": false, "values": [ { "name": "TEXTURE_MODE_RGB", @@ -70337,6 +70655,7 @@ "enums": [ { "name": "DecalTexture", + "is_bitfield": false, "values": [ { "name": "TEXTURE_ALBEDO", @@ -70858,6 +71177,7 @@ "enums": [ { "name": "ShadowMode", + "is_bitfield": false, "values": [ { "name": "SHADOW_ORTHOGONAL", @@ -70875,6 +71195,7 @@ }, { "name": "SkyMode", + "is_bitfield": false, "values": [ { "name": "SKY_MODE_LIGHT_AND_SKY", @@ -71421,6 +71742,7 @@ "enums": [ { "name": "Feature", + "is_bitfield": false, "values": [ { "name": "FEATURE_GLOBAL_MENU", @@ -71502,6 +71824,7 @@ }, { "name": "MouseMode", + "is_bitfield": false, "values": [ { "name": "MOUSE_MODE_VISIBLE", @@ -71527,6 +71850,7 @@ }, { "name": "ScreenOrientation", + "is_bitfield": false, "values": [ { "name": "SCREEN_LANDSCAPE", @@ -71560,6 +71884,7 @@ }, { "name": "CursorShape", + "is_bitfield": false, "values": [ { "name": "CURSOR_ARROW", @@ -71637,6 +71962,7 @@ }, { "name": "WindowMode", + "is_bitfield": false, "values": [ { "name": "WINDOW_MODE_WINDOWED", @@ -71662,6 +71988,7 @@ }, { "name": "WindowFlags", + "is_bitfield": false, "values": [ { "name": "WINDOW_FLAG_RESIZE_DISABLED", @@ -71695,6 +72022,7 @@ }, { "name": "WindowEvent", + "is_bitfield": false, "values": [ { "name": "WINDOW_EVENT_MOUSE_ENTER", @@ -71728,6 +72056,7 @@ }, { "name": "VSyncMode", + "is_bitfield": false, "values": [ { "name": "VSYNC_DISABLED", @@ -71749,6 +72078,7 @@ }, { "name": "HandleType", + "is_bitfield": false, "values": [ { "name": "DISPLAY_HANDLE", @@ -71766,6 +72096,7 @@ }, { "name": "TTSUtteranceEvent", + "is_bitfield": false, "values": [ { "name": "TTS_UTTERANCE_STARTED", @@ -74542,6 +74873,13 @@ } ] }, + { + "name": "DisplayServerOSX", + "is_refcounted": false, + "is_instantiable": false, + "inherits": "DisplayServer", + "api_type": "core" + }, { "name": "ENetConnection", "is_refcounted": true, @@ -74551,6 +74889,7 @@ "enums": [ { "name": "CompressionMode", + "is_bitfield": false, "values": [ { "name": "COMPRESS_NONE", @@ -74576,6 +74915,7 @@ }, { "name": "EventType", + "is_bitfield": false, "values": [ { "name": "EVENT_ERROR", @@ -74601,6 +74941,7 @@ }, { "name": "HostStatistic", + "is_bitfield": false, "values": [ { "name": "HOST_TOTAL_SENT_DATA", @@ -75233,6 +75574,7 @@ "enums": [ { "name": "PeerState", + "is_bitfield": false, "values": [ { "name": "STATE_DISCONNECTED", @@ -75278,6 +75620,7 @@ }, { "name": "PeerStatistic", + "is_bitfield": false, "values": [ { "name": "PEER_PACKET_LOSS", @@ -75963,6 +76306,7 @@ "enums": [ { "name": "Feature", + "is_bitfield": false, "values": [ { "name": "FEATURE_3D", @@ -76210,6 +76554,7 @@ "enums": [ { "name": "FileMode", + "is_bitfield": false, "values": [ { "name": "FILE_MODE_OPEN_FILE", @@ -76235,6 +76580,7 @@ }, { "name": "Access", + "is_bitfield": false, "values": [ { "name": "ACCESS_RESOURCES", @@ -76252,6 +76598,7 @@ }, { "name": "DisplayMode", + "is_bitfield": false, "values": [ { "name": "DISPLAY_THUMBNAILS", @@ -78973,6 +79320,7 @@ "enums": [ { "name": "CustomControlContainer", + "is_bitfield": false, "values": [ { "name": "CONTAINER_TOOLBAR", @@ -79026,6 +79374,7 @@ }, { "name": "DockSlot", + "is_bitfield": false, "values": [ { "name": "DOCK_SLOT_LEFT_UL", @@ -81084,6 +81433,7 @@ "enums": [ { "name": "InternalImportCategory", + "is_bitfield": false, "values": [ { "name": "INTERNAL_IMPORT_CATEGORY_NODE", @@ -81110,8 +81460,12 @@ "value": 5 }, { - "name": "INTERNAL_IMPORT_CATEGORY_MAX", + "name": "INTERNAL_IMPORT_CATEGORY_SKELETON_3D_NODE", "value": 6 + }, + { + "name": "INTERNAL_IMPORT_CATEGORY_MAX", + "value": 7 } ] } @@ -82991,6 +83345,7 @@ "enums": [ { "name": "BGMode", + "is_bitfield": false, "values": [ { "name": "BG_CLEAR_COLOR", @@ -83024,6 +83379,7 @@ }, { "name": "AmbientSource", + "is_bitfield": false, "values": [ { "name": "AMBIENT_SOURCE_BG", @@ -83045,6 +83401,7 @@ }, { "name": "ReflectionSource", + "is_bitfield": false, "values": [ { "name": "REFLECTION_SOURCE_BG", @@ -83062,6 +83419,7 @@ }, { "name": "ToneMapper", + "is_bitfield": false, "values": [ { "name": "TONE_MAPPER_LINEAR", @@ -83083,6 +83441,7 @@ }, { "name": "GlowBlendMode", + "is_bitfield": false, "values": [ { "name": "GLOW_BLEND_MODE_ADDITIVE", @@ -83108,6 +83467,7 @@ }, { "name": "SDFGIYScale", + "is_bitfield": false, "values": [ { "name": "SDFGI_Y_SCALE_50_PERCENT", @@ -86282,6 +86642,7 @@ "enums": [ { "name": "NoiseType", + "is_bitfield": false, "values": [ { "name": "TYPE_VALUE", @@ -86311,6 +86672,7 @@ }, { "name": "FractalType", + "is_bitfield": false, "values": [ { "name": "FRACTAL_NONE", @@ -86332,6 +86694,7 @@ }, { "name": "CellularDistanceFunction", + "is_bitfield": false, "values": [ { "name": "DISTANCE_EUCLIDEAN", @@ -86353,6 +86716,7 @@ }, { "name": "CellularReturnType", + "is_bitfield": false, "values": [ { "name": "RETURN_CELL_VALUE", @@ -86386,6 +86750,7 @@ }, { "name": "DomainWarpType", + "is_bitfield": false, "values": [ { "name": "DOMAIN_WARP_SIMPLEX", @@ -86403,6 +86768,7 @@ }, { "name": "DomainWarpFractalType", + "is_bitfield": false, "values": [ { "name": "DOMAIN_WARP_FRACTAL_NONE", @@ -87131,6 +87497,7 @@ "enums": [ { "name": "ModeFlags", + "is_bitfield": false, "values": [ { "name": "READ", @@ -87152,6 +87519,7 @@ }, { "name": "CompressionMode", + "is_bitfield": false, "values": [ { "name": "COMPRESSION_FASTLZ", @@ -87880,6 +88248,7 @@ "enums": [ { "name": "FileMode", + "is_bitfield": false, "values": [ { "name": "FILE_MODE_OPEN_FILE", @@ -87905,6 +88274,7 @@ }, { "name": "Access", + "is_bitfield": false, "values": [ { "name": "ACCESS_RESOURCES", @@ -88141,6 +88511,31 @@ "type": "enum::FileDialog.Access" } }, + { + "name": "set_root_subfolder", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 83702148, + "arguments": [ + { + "name": "dir", + "type": "String" + } + ] + }, + { + "name": "get_root_subfolder", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, { "name": "set_show_hidden_files", "is_const": false, @@ -88234,6 +88629,13 @@ "getter": "get_access", "index": -1 }, + { + "type": "String", + "name": "root_subfolder", + "setter": "set_root_subfolder", + "getter": "get_root_subfolder", + "index": -1 + }, { "type": "PackedStringArray", "name": "filters", @@ -88701,158 +89103,213 @@ { "name": "Font", "is_refcounted": true, - "is_instantiable": true, + "is_instantiable": false, "inherits": "Resource", "api_type": "core", "methods": [ { - "name": "add_data", + "name": "set_fallbacks", "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1944412664, + "hash": 1611583062, "arguments": [ { - "name": "data", - "type": "FontData" + "name": "fallbacks", + "type": "Array" } ] }, { - "name": "set_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 554051370, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "data", - "type": "FontData" - } - ] - }, - { - "name": "get_data_count", + "name": "get_fallbacks", "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3905245786, + "hash": 1307783378, "return_value": { - "type": "int", - "meta": "int32" + "type": "Array" } }, { - "name": "get_data", + "name": "find_variation", "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 887792756, - "return_value": { - "type": "FontData" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_data_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3457211756, + "hash": 3395732004, "return_value": { "type": "RID" }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "remove_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_variation_coordinates", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134455500, "arguments": [ { "name": "variation_coordinates", "type": "Dictionary" + }, + { + "name": "face_index", + "type": "int", + "meta": "int32", + "default_value": "0" + }, + { + "name": "strength", + "type": "float", + "meta": "float", + "default_value": "0.0" + }, + { + "name": "transform", + "type": "Transform2D", + "default_value": "Transform2D(1, 0, 0, 1, 0, 0)" } ] }, { - "name": "get_variation_coordinates", + "name": "get_rids", "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 717520766, + "hash": 1307783378, "return_value": { - "type": "Dictionary" + "type": "Array" } }, { - "name": "set_spacing", - "is_const": false, + "name": "get_height", + "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3122339690, + "hash": 378113874, + "return_value": { + "type": "float", + "meta": "float" + }, "arguments": [ { - "name": "spacing", - "type": "enum::TextServer.SpacingType" - }, - { - "name": "value", + "name": "font_size", "type": "int", - "meta": "int32" + "meta": "int32", + "default_value": "16" } ] }, + { + "name": "get_ascent", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 378113874, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "font_size", + "type": "int", + "meta": "int32", + "default_value": "16" + } + ] + }, + { + "name": "get_descent", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 378113874, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "font_size", + "type": "int", + "meta": "int32", + "default_value": "16" + } + ] + }, + { + "name": "get_underline_position", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 378113874, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "font_size", + "type": "int", + "meta": "int32", + "default_value": "16" + } + ] + }, + { + "name": "get_underline_thickness", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 378113874, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "font_size", + "type": "int", + "meta": "int32", + "default_value": "16" + } + ] + }, + { + "name": "get_font_name", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "get_font_style_name", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 201670096, + "return_value": { + "type": "String" + } + }, + { + "name": "get_font_style", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2520224254, + "return_value": { + "type": "bitfield::TextServer.FontStyle" + } + }, { "name": "get_spacing", "is_const": true, @@ -88872,102 +89329,33 @@ ] }, { - "name": "get_height", + "name": "get_opentype_features", "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 378113874, + "hash": 717520766, "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32", - "default_value": "16" - } - ] + "type": "Dictionary" + } }, { - "name": "get_ascent", - "is_const": true, + "name": "set_cache_capacity", + "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 378113874, - "return_value": { - "type": "float", - "meta": "float" - }, + "hash": 3937882851, "arguments": [ { - "name": "size", + "name": "single_line", "type": "int", - "meta": "int32", - "default_value": "16" - } - ] - }, - { - "name": "get_descent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 378113874, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ + "meta": "int32" + }, { - "name": "size", + "name": "multi_line", "type": "int", - "meta": "int32", - "default_value": "16" - } - ] - }, - { - "name": "get_underline_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 378113874, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32", - "default_value": "16" - } - ] - }, - { - "name": "get_underline_thickness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 378113874, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32", - "default_value": "16" + "meta": "int32" } ] }, @@ -88977,7 +89365,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 4282558384, + "hash": 3678918099, "return_value": { "type": "Vector2" }, @@ -88986,12 +89374,6 @@ "name": "text", "type": "String" }, - { - "name": "size", - "type": "int", - "meta": "int32", - "default_value": "16" - }, { "name": "alignment", "type": "enum::HorizontalAlignment", @@ -89004,10 +89386,25 @@ "default_value": "-1" }, { - "name": "flags", + "name": "font_size", "type": "int", - "meta": "uint16", + "meta": "int32", + "default_value": "16" + }, + { + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", "default_value": "3" + }, + { + "name": "direction", + "type": "enum::TextServer.Direction", + "default_value": "0" + }, + { + "name": "orientation", + "type": "enum::TextServer.Orientation", + "default_value": "0" } ] }, @@ -89017,7 +89414,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 4090943883, + "hash": 2427690650, "return_value": { "type": "Vector2" }, @@ -89026,6 +89423,11 @@ "name": "text", "type": "String" }, + { + "name": "alignment", + "type": "enum::HorizontalAlignment", + "default_value": "0" + }, { "name": "width", "type": "float", @@ -89033,16 +89435,36 @@ "default_value": "-1" }, { - "name": "size", + "name": "font_size", "type": "int", "meta": "int32", "default_value": "16" }, { - "name": "flags", + "name": "max_lines", "type": "int", - "meta": "uint16", - "default_value": "96" + "meta": "int32", + "default_value": "-1" + }, + { + "name": "brk_flags", + "type": "bitfield::TextServer.LineBreakFlag", + "default_value": "3" + }, + { + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", + "default_value": "3" + }, + { + "name": "direction", + "type": "enum::TextServer.Direction", + "default_value": "0" + }, + { + "name": "orientation", + "type": "enum::TextServer.Orientation", + "default_value": "0" } ] }, @@ -89052,7 +89474,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2955543205, + "hash": 1845275776, "arguments": [ { "name": "canvas_item", @@ -89078,7 +89500,7 @@ "default_value": "-1" }, { - "name": "size", + "name": "font_size", "type": "int", "meta": "int32", "default_value": "16" @@ -89089,21 +89511,19 @@ "default_value": "Color(1, 1, 1, 1)" }, { - "name": "outline_size", - "type": "int", - "meta": "int32", + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", + "default_value": "3" + }, + { + "name": "direction", + "type": "enum::TextServer.Direction", "default_value": "0" }, { - "name": "outline_modulate", - "type": "Color", - "default_value": "Color(1, 1, 1, 0)" - }, - { - "name": "flags", - "type": "int", - "meta": "uint16", - "default_value": "3" + "name": "orientation", + "type": "enum::TextServer.Orientation", + "default_value": "0" } ] }, @@ -89113,7 +89533,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3458135898, + "hash": 75068056, "arguments": [ { "name": "canvas_item", @@ -89138,6 +89558,147 @@ "meta": "float", "default_value": "-1" }, + { + "name": "font_size", + "type": "int", + "meta": "int32", + "default_value": "16" + }, + { + "name": "max_lines", + "type": "int", + "meta": "int32", + "default_value": "-1" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "brk_flags", + "type": "bitfield::TextServer.LineBreakFlag", + "default_value": "3" + }, + { + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", + "default_value": "3" + }, + { + "name": "direction", + "type": "enum::TextServer.Direction", + "default_value": "0" + }, + { + "name": "orientation", + "type": "enum::TextServer.Orientation", + "default_value": "0" + } + ] + }, + { + "name": "draw_string_outline", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1078083147, + "arguments": [ + { + "name": "canvas_item", + "type": "RID" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "text", + "type": "String" + }, + { + "name": "alignment", + "type": "enum::HorizontalAlignment", + "default_value": "0" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "-1" + }, + { + "name": "font_size", + "type": "int", + "meta": "int32", + "default_value": "16" + }, + { + "name": "size", + "type": "int", + "meta": "int32", + "default_value": "1" + }, + { + "name": "modulate", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + }, + { + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", + "default_value": "3" + }, + { + "name": "direction", + "type": "enum::TextServer.Direction", + "default_value": "0" + }, + { + "name": "orientation", + "type": "enum::TextServer.Orientation", + "default_value": "0" + } + ] + }, + { + "name": "draw_multiline_string_outline", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3263989537, + "arguments": [ + { + "name": "canvas_item", + "type": "RID" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "text", + "type": "String" + }, + { + "name": "alignment", + "type": "enum::HorizontalAlignment", + "default_value": "0" + }, + { + "name": "width", + "type": "float", + "meta": "float", + "default_value": "-1" + }, + { + "name": "font_size", + "type": "int", + "meta": "int32", + "default_value": "16" + }, { "name": "max_lines", "type": "int", @@ -89148,7 +89709,7 @@ "name": "size", "type": "int", "meta": "int32", - "default_value": "16" + "default_value": "1" }, { "name": "modulate", @@ -89156,21 +89717,24 @@ "default_value": "Color(1, 1, 1, 1)" }, { - "name": "outline_size", - "type": "int", - "meta": "int32", + "name": "brk_flags", + "type": "bitfield::TextServer.LineBreakFlag", + "default_value": "3" + }, + { + "name": "jst_flags", + "type": "bitfield::TextServer.JustificationFlag", + "default_value": "3" + }, + { + "name": "direction", + "type": "enum::TextServer.Direction", "default_value": "0" }, { - "name": "outline_modulate", - "type": "Color", - "default_value": "Color(1, 1, 1, 0)" - }, - { - "name": "flags", - "type": "int", - "meta": "uint16", - "default_value": "99" + "name": "orientation", + "type": "enum::TextServer.Orientation", + "default_value": "0" } ] }, @@ -89180,7 +89744,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2639200202, + "hash": 3016396712, "return_value": { "type": "Vector2" }, @@ -89190,15 +89754,9 @@ "type": "int" }, { - "name": "next", + "name": "arg1", "type": "int", - "default_value": "0" - }, - { - "name": "size", - "type": "int", - "meta": "int32", - "default_value": "16" + "meta": "int32" } ] }, @@ -89208,7 +89766,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2628700310, + "hash": 3441080423, "return_value": { "type": "float", "meta": "float" @@ -89227,31 +89785,56 @@ "type": "int" }, { - "name": "next", + "name": "modulate", "type": "int", - "default_value": "0" + "meta": "int32" + }, + { + "name": "arg4", + "type": "Color", + "default_value": "Color(1, 1, 1, 1)" + } + ] + }, + { + "name": "draw_char_outline", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 151012040, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "canvas_item", + "type": "RID" + }, + { + "name": "pos", + "type": "Vector2" + }, + { + "name": "char", + "type": "int" }, { "name": "size", "type": "int", - "meta": "int32", - "default_value": "16" + "meta": "int32" }, { "name": "modulate", - "type": "Color", - "default_value": "Color(1, 1, 1, 1)" - }, - { - "name": "outline_size", "type": "int", "meta": "int32", - "default_value": "0" + "default_value": "-1" }, { - "name": "outline_modulate", + "name": "arg5", "type": "Color", - "default_value": "Color(1, 1, 1, 0)" + "default_value": "Color(1, 1, 1, 1)" } ] }, @@ -89284,54 +89867,80 @@ } }, { - "name": "update_changes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_rids", + "name": "is_language_supported", "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1307783378, + "hash": 3927539163, "return_value": { - "type": "Array" + "type": "bool" + }, + "arguments": [ + { + "name": "language", + "type": "String" + } + ] + }, + { + "name": "is_script_supported", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3927539163, + "return_value": { + "type": "bool" + }, + "arguments": [ + { + "name": "script", + "type": "String" + } + ] + }, + { + "name": "get_supported_feature_list", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 717520766, + "return_value": { + "type": "Dictionary" } - } - ], - "properties": [ - { - "type": "Dictionary", - "name": "variation_coordinates", - "setter": "set_variation_coordinates", - "getter": "get_variation_coordinates", - "index": -1 }, { - "type": "int", - "name": "spacing_top", - "setter": "set_spacing", - "getter": "get_spacing", - "index": 2 + "name": "get_supported_variation_list", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 717520766, + "return_value": { + "type": "Dictionary" + } }, { - "type": "int", - "name": "spacing_bottom", - "setter": "set_spacing", - "getter": "get_spacing", - "index": 3 + "name": "get_face_count", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int64" + } } ] }, { - "name": "FontData", + "name": "FontFile", "is_refcounted": true, "is_instantiable": true, - "inherits": "Resource", + "inherits": "Font", "api_type": "core", "methods": [ { @@ -89394,43 +90003,46 @@ } }, { - "name": "set_face_index", + "name": "set_font_name", "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1286410249, + "hash": 83702148, "arguments": [ { - "name": "face_index", - "type": "int", - "meta": "int64" + "name": "name", + "type": "String" } ] }, { - "name": "get_face_index", - "is_const": true, + "name": "set_font_style_name", + "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int64" - } + "hash": 83702148, + "arguments": [ + { + "name": "name", + "type": "String" + } + ] }, { - "name": "get_face_count", - "is_const": true, + "name": "set_font_style", + "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int64" - } + "hash": 918070724, + "arguments": [ + { + "name": "style", + "type": "bitfield::TextServer.FontStyle" + } + ] }, { "name": "set_antialiased", @@ -89482,83 +90094,6 @@ "type": "bool" } }, - { - "name": "set_font_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_font_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_font_style_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_font_style_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_font_style", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "style", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_font_style", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, { "name": "set_multichannel_signed_distance_field", "is_const": false, @@ -89740,58 +90275,6 @@ "type": "enum::TextServer.SubpixelPositioning" } }, - { - "name": "set_embolden", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "strength", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_embolden", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2761652528, - "arguments": [ - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "get_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, { "name": "set_oversampling", "is_const": false, @@ -89819,23 +90302,6 @@ "meta": "float" } }, - { - "name": "find_cache", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4266675418, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "variation_coordinates", - "type": "Dictionary" - } - ] - }, { "name": "get_cache_count", "is_const": true, @@ -89961,7 +90427,122 @@ ] }, { - "name": "set_ascent", + "name": "set_embolden", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1602489585, + "arguments": [ + { + "name": "cache_index", + "type": "int", + "meta": "int32" + }, + { + "name": "strength", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_embolden", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2339986948, + "return_value": { + "type": "float", + "meta": "float" + }, + "arguments": [ + { + "name": "cache_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_transform", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 30160968, + "arguments": [ + { + "name": "cache_index", + "type": "int", + "meta": "int32" + }, + { + "name": "transform", + "type": "Transform2D" + } + ] + }, + { + "name": "get_transform", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3836996910, + "return_value": { + "type": "Transform2D" + }, + "arguments": [ + { + "name": "cache_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_face_index", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3937882851, + "arguments": [ + { + "name": "cache_index", + "type": "int", + "meta": "int32" + }, + { + "name": "face_index", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "get_face_index", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 923996154, + "return_value": { + "type": "int", + "meta": "int64" + }, + "arguments": [ + { + "name": "cache_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_cache_ascent", "is_const": false, "is_vararg": false, "is_static": false, @@ -89986,7 +90567,7 @@ ] }, { - "name": "get_ascent", + "name": "get_cache_ascent", "is_const": true, "is_vararg": false, "is_static": false, @@ -90010,7 +90591,7 @@ ] }, { - "name": "set_descent", + "name": "set_cache_descent", "is_const": false, "is_vararg": false, "is_static": false, @@ -90035,7 +90616,7 @@ ] }, { - "name": "get_descent", + "name": "get_cache_descent", "is_const": true, "is_vararg": false, "is_static": false, @@ -90059,7 +90640,7 @@ ] }, { - "name": "set_underline_position", + "name": "set_cache_underline_position", "is_const": false, "is_vararg": false, "is_static": false, @@ -90084,7 +90665,7 @@ ] }, { - "name": "get_underline_position", + "name": "get_cache_underline_position", "is_const": true, "is_vararg": false, "is_static": false, @@ -90108,7 +90689,7 @@ ] }, { - "name": "set_underline_thickness", + "name": "set_cache_underline_thickness", "is_const": false, "is_vararg": false, "is_static": false, @@ -90133,7 +90714,7 @@ ] }, { - "name": "get_underline_thickness", + "name": "get_cache_underline_thickness", "is_const": true, "is_vararg": false, "is_static": false, @@ -90157,7 +90738,7 @@ ] }, { - "name": "set_scale", + "name": "set_cache_scale", "is_const": false, "is_vararg": false, "is_static": false, @@ -90182,7 +90763,7 @@ ] }, { - "name": "get_scale", + "name": "get_cache_scale", "is_const": true, "is_vararg": false, "is_static": false, @@ -90205,63 +90786,6 @@ } ] }, - { - "name": "set_spacing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 611717634, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - }, - { - "name": "spacing_type", - "type": "enum::TextServer.SpacingType" - }, - { - "name": "value", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_spacing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2350176179, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - }, - { - "name": "spacing_type", - "type": "enum::TextServer.SpacingType" - } - ] - }, { "name": "get_texture_count", "is_const": true, @@ -90955,41 +91479,6 @@ } ] }, - { - "name": "get_cache_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3457211756, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_language_supported", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "language", - "type": "String" - } - ] - }, { "name": "set_language_support_override", "is_const": false, @@ -91050,23 +91539,6 @@ "type": "PackedStringArray" } }, - { - "name": "is_script_supported", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "script", - "type": "String" - } - ] - }, { "name": "set_script_support_override", "is_const": false, @@ -91152,34 +91624,6 @@ "type": "Dictionary" } }, - { - "name": "has_char", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "char", - "type": "int" - } - ] - }, - { - "name": "get_supported_chars", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, { "name": "get_glyph_index", "is_const": true, @@ -91206,28 +91650,6 @@ "type": "int" } ] - }, - { - "name": "get_supported_feature_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 717520766, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "get_supported_variation_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 717520766, - "return_value": { - "type": "Dictionary" - } } ], "properties": [ @@ -91238,13 +91660,6 @@ "getter": "get_data", "index": -1 }, - { - "type": "int", - "name": "face_index", - "setter": "set_face_index", - "getter": "get_face_index", - "index": -1 - }, { "type": "bool", "name": "generate_mipmaps", @@ -91287,20 +91702,6 @@ "getter": "get_subpixel_positioning", "index": -1 }, - { - "type": "float", - "name": "embolden", - "setter": "set_embolden", - "getter": "get_embolden", - "index": -1 - }, - { - "type": "Transform2D", - "name": "transform", - "setter": "set_transform", - "getter": "get_transform", - "index": -1 - }, { "type": "bool", "name": "multichannel_signed_distance_field", @@ -91356,6 +91757,263 @@ "setter": "set_opentype_feature_overrides", "getter": "get_opentype_feature_overrides", "index": -1 + }, + { + "type": "Array", + "name": "fallbacks", + "setter": "set_fallbacks", + "getter": "get_fallbacks", + "index": -1 + } + ] + }, + { + "name": "FontVariation", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Font", + "api_type": "core", + "methods": [ + { + "name": "set_base_font", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3289570653, + "arguments": [ + { + "name": "font", + "type": "Font" + } + ] + }, + { + "name": "get_base_font", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1041304650, + "return_value": { + "type": "Font" + } + }, + { + "name": "set_variation_opentype", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134455500, + "arguments": [ + { + "name": "coords", + "type": "Dictionary" + } + ] + }, + { + "name": "get_variation_opentype", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 717520766, + "return_value": { + "type": "Dictionary" + } + }, + { + "name": "set_variation_embolden", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 373806689, + "arguments": [ + { + "name": "strength", + "type": "float", + "meta": "float" + } + ] + }, + { + "name": "get_variation_embolden", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1740695150, + "return_value": { + "type": "float", + "meta": "float" + } + }, + { + "name": "set_variation_face_index", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "face_index", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_variation_face_index", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3905245786, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "set_variation_transform", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2761652528, + "arguments": [ + { + "name": "transform", + "type": "Transform2D" + } + ] + }, + { + "name": "get_variation_transform", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3814499831, + "return_value": { + "type": "Transform2D" + } + }, + { + "name": "set_opentype_features", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 134455500, + "arguments": [ + { + "name": "features", + "type": "Dictionary" + } + ] + }, + { + "name": "set_spacing", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3122339690, + "arguments": [ + { + "name": "spacing", + "type": "enum::TextServer.SpacingType" + }, + { + "name": "value", + "type": "int", + "meta": "int32" + } + ] + } + ], + "properties": [ + { + "type": "Font", + "name": "base_font", + "setter": "set_base_font", + "getter": "get_base_font", + "index": -1 + }, + { + "type": "Array", + "name": "fallbacks", + "setter": "set_fallbacks", + "getter": "get_fallbacks", + "index": -1 + }, + { + "type": "Dictionary", + "name": "variation_opentype", + "setter": "set_variation_opentype", + "getter": "get_variation_opentype", + "index": -1 + }, + { + "type": "int", + "name": "variation_face_index", + "setter": "set_variation_face_index", + "getter": "get_variation_face_index", + "index": -1 + }, + { + "type": "float", + "name": "variation_embolden", + "setter": "set_variation_embolden", + "getter": "get_variation_embolden", + "index": -1 + }, + { + "type": "Transform2D", + "name": "variation_transform", + "setter": "set_variation_transform", + "getter": "get_variation_transform", + "index": -1 + }, + { + "type": "Dictionary", + "name": "opentype_features", + "setter": "set_opentype_features", + "getter": "get_opentype_features", + "index": -1 + }, + { + "type": "int", + "name": "spacing_glyph", + "setter": "set_spacing", + "getter": "get_spacing", + "index": 0 + }, + { + "type": "int", + "name": "spacing_space", + "setter": "set_spacing", + "getter": "get_spacing", + "index": 1 + }, + { + "type": "int", + "name": "spacing_top", + "setter": "set_spacing", + "getter": "get_spacing", + "index": 2 + }, + { + "type": "int", + "name": "spacing_bottom", + "setter": "set_spacing", + "getter": "get_spacing", + "index": 3 } ] }, @@ -94972,6 +95630,7 @@ "enums": [ { "name": "DrawOrder", + "is_bitfield": false, "values": [ { "name": "DRAW_ORDER_INDEX", @@ -94989,6 +95648,7 @@ }, { "name": "EmitFlags", + "is_bitfield": false, "values": [ { "name": "EMIT_FLAG_POSITION", @@ -95809,6 +96469,7 @@ "enums": [ { "name": "DrawOrder", + "is_bitfield": false, "values": [ { "name": "DRAW_ORDER_INDEX", @@ -95830,6 +96491,7 @@ }, { "name": "EmitFlags", + "is_bitfield": false, "values": [ { "name": "EMIT_FLAG_POSITION", @@ -95855,6 +96517,7 @@ }, { "name": "TransformAlign", + "is_bitfield": false, "values": [ { "name": "TRANSFORM_ALIGN_DISABLED", @@ -97126,6 +97789,7 @@ "enums": [ { "name": "Resolution", + "is_bitfield": false, "values": [ { "name": "RESOLUTION_256", @@ -97159,6 +97823,7 @@ }, { "name": "UpdateMode", + "is_bitfield": false, "values": [ { "name": "UPDATE_MODE_WHEN_MOVED", @@ -97313,6 +97978,7 @@ "enums": [ { "name": "Resolution", + "is_bitfield": false, "values": [ { "name": "RESOLUTION_16", @@ -97534,6 +98200,7 @@ "enums": [ { "name": "Param", + "is_bitfield": false, "values": [ { "name": "PARAM_LINEAR_LOWER_LIMIT", @@ -97631,6 +98298,7 @@ }, { "name": "Flag", + "is_bitfield": false, "values": [ { "name": "FLAG_ENABLE_LINEAR_LIMIT", @@ -98481,6 +99149,7 @@ "enums": [ { "name": "PolyBooleanOperation", + "is_bitfield": false, "values": [ { "name": "OPERATION_UNION", @@ -98502,6 +99171,7 @@ }, { "name": "PolyJoinType", + "is_bitfield": false, "values": [ { "name": "JOIN_SQUARE", @@ -98519,6 +99189,7 @@ }, { "name": "PolyEndType", + "is_bitfield": false, "values": [ { "name": "END_POLYGON", @@ -99387,6 +100058,7 @@ "enums": [ { "name": "ShadowCastingSetting", + "is_bitfield": false, "values": [ { "name": "SHADOW_CASTING_SETTING_OFF", @@ -99408,6 +100080,7 @@ }, { "name": "GIMode", + "is_bitfield": false, "values": [ { "name": "GI_MODE_DISABLED", @@ -99425,6 +100098,7 @@ }, { "name": "LightmapScale", + "is_bitfield": false, "values": [ { "name": "LIGHTMAP_SCALE_1X", @@ -99450,6 +100124,7 @@ }, { "name": "VisibilityRangeFadeMode", + "is_bitfield": false, "values": [ { "name": "VISIBILITY_RANGE_FADE_DISABLED", @@ -100005,6 +100680,7 @@ "enums": [ { "name": "InterpolationMode", + "is_bitfield": false, "values": [ { "name": "GRADIENT_INTERPOLATE_LINEAR", @@ -100376,6 +101052,7 @@ "enums": [ { "name": "Fill", + "is_bitfield": false, "values": [ { "name": "FILL_LINEAR", @@ -100389,6 +101066,7 @@ }, { "name": "Repeat", + "is_bitfield": false, "values": [ { "name": "REPEAT_NONE", @@ -100655,6 +101333,7 @@ "enums": [ { "name": "PanningScheme", + "is_bitfield": false, "values": [ { "name": "SCROLL_ZOOMS", @@ -101762,6 +102441,7 @@ "enums": [ { "name": "Overlay", + "is_bitfield": false, "values": [ { "name": "OVERLAY_DISABLED", @@ -101829,51 +102509,6 @@ "type": "enum::Control.TextDirection" } }, - { - "name": "set_opentype_feature", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2956805083, - "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": 1321353865, - "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": 3218959716 - }, { "name": "set_language", "is_const": false, @@ -102614,20 +103249,6 @@ "getter": "get_title", "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 - }, { "type": "Vector2", "name": "position_offset", @@ -102669,6 +103290,20 @@ "setter": "set_overlay", "getter": "get_overlay", "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 } ] }, @@ -103653,6 +104288,7 @@ "enums": [ { "name": "Method", + "is_bitfield": false, "values": [ { "name": "METHOD_GET", @@ -103698,6 +104334,7 @@ }, { "name": "Status", + "is_bitfield": false, "values": [ { "name": "STATUS_DISCONNECTED", @@ -103743,6 +104380,7 @@ }, { "name": "ResponseCode", + "is_bitfield": false, "values": [ { "name": "RESPONSE_CONTINUE", @@ -104359,6 +104997,7 @@ "enums": [ { "name": "Result", + "is_bitfield": false, "values": [ { "name": "RESULT_SUCCESS", @@ -104843,6 +105482,7 @@ "enums": [ { "name": "HashType", + "is_bitfield": false, "values": [ { "name": "HASH_MD5", @@ -105027,6 +105667,7 @@ "enums": [ { "name": "Param", + "is_bitfield": false, "values": [ { "name": "PARAM_BIAS", @@ -105068,6 +105709,7 @@ }, { "name": "Flag", + "is_bitfield": false, "values": [ { "name": "FLAG_USE_LIMIT", @@ -105250,6 +105892,7 @@ "enums": [ { "name": "ResolverStatus", + "is_bitfield": false, "values": [ { "name": "RESOLVER_STATUS_NONE", @@ -105271,6 +105914,7 @@ }, { "name": "Type", + "is_bitfield": false, "values": [ { "name": "TYPE_NONE", @@ -105493,6 +106137,7 @@ "enums": [ { "name": "Format", + "is_bitfield": false, "values": [ { "name": "FORMAT_L8", @@ -105642,6 +106287,7 @@ }, { "name": "Interpolation", + "is_bitfield": false, "values": [ { "name": "INTERPOLATE_NEAREST", @@ -105667,6 +106313,7 @@ }, { "name": "AlphaMode", + "is_bitfield": false, "values": [ { "name": "ALPHA_NONE", @@ -105684,6 +106331,7 @@ }, { "name": "CompressMode", + "is_bitfield": false, "values": [ { "name": "COMPRESS_S3TC", @@ -105705,6 +106353,7 @@ }, { "name": "UsedChannels", + "is_bitfield": false, "values": [ { "name": "USED_CHANNELS_L", @@ -105734,6 +106383,7 @@ }, { "name": "CompressSource", + "is_bitfield": false, "values": [ { "name": "COMPRESS_SOURCE_GENERIC", @@ -106055,6 +106705,23 @@ } ] }, + { + "name": "load_from_file", + "is_const": false, + "is_vararg": false, + "is_static": true, + "is_virtual": false, + "hash": 2401829007, + "return_value": { + "type": "Image" + }, + "arguments": [ + { + "name": "path", + "type": "String" + } + ] + }, { "name": "save_png", "is_const": true, @@ -106798,9 +107465,12 @@ "name": "create_from_image", "is_const": false, "is_vararg": false, - "is_static": false, + "is_static": true, "is_virtual": false, - "hash": 876597735, + "hash": 3209655829, + "return_value": { + "type": "ImageTexture" + }, "arguments": [ { "name": "image", @@ -107638,6 +108308,7 @@ "enums": [ { "name": "MouseMode", + "is_bitfield": false, "values": [ { "name": "MOUSE_MODE_VISIBLE", @@ -107663,6 +108334,7 @@ }, { "name": "CursorShape", + "is_bitfield": false, "values": [ { "name": "CURSOR_ARROW", @@ -109932,6 +110604,31 @@ "meta": "float" } }, + { + "name": "set_pen_inverted", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "pen_inverted", + "type": "bool" + } + ] + }, + { + "name": "get_pen_inverted", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "set_relative", "is_const": false, @@ -109998,6 +110695,13 @@ "getter": "get_pressure", "index": -1 }, + { + "type": "bool", + "name": "pen_inverted", + "setter": "set_pen_inverted", + "getter": "get_pen_inverted", + "index": -1 + }, { "type": "Vector2", "name": "relative", @@ -110849,6 +111553,7 @@ "enums": [ { "name": "IconMode", + "is_bitfield": false, "values": [ { "name": "ICON_MODE_TOP", @@ -110862,6 +111567,7 @@ }, { "name": "SelectMode", + "is_bitfield": false, "values": [ { "name": "SELECT_SINGLE", @@ -111037,68 +111743,6 @@ } ] }, - { - "name": "set_item_opentype_feature", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3794041973, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "tag", - "type": "String" - }, - { - "name": "value", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_opentype_feature", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 46870362, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "tag", - "type": "String" - } - ] - }, - { - "name": "clear_item_opentype_features", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, { "name": "set_item_language", "is_const": false, @@ -112283,6 +112927,7 @@ "enums": [ { "name": "ErrorCode", + "is_bitfield": false, "values": [ { "name": "PARSE_ERROR", @@ -113414,51 +114059,6 @@ "type": "enum::Control.TextDirection" } }, - { - "name": "set_opentype_feature", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2956805083, - "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": 1321353865, - "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": 3218959716 - }, { "name": "set_language", "is_const": false, @@ -113948,6 +114548,7 @@ "enums": [ { "name": "DrawFlags", + "is_bitfield": false, "values": [ { "name": "FLAG_SHADED", @@ -113973,6 +114574,7 @@ }, { "name": "AlphaCutMode", + "is_bitfield": false, "values": [ { "name": "ALPHA_CUT_DISABLED", @@ -114140,51 +114742,6 @@ "type": "enum::TextServer.Direction" } }, - { - "name": "set_opentype_feature", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2956805083, - "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": 1321353865, - "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": 3218959716 - }, { "name": "set_language", "is_const": false, @@ -114867,20 +115424,6 @@ "getter": "get_width", "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": "int", "name": "text_direction", @@ -114894,6 +115437,20 @@ "setter": "set_language", "getter": "get_language", "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 } ] }, @@ -114906,6 +115463,7 @@ "enums": [ { "name": "ShadowFilter", + "is_bitfield": false, "values": [ { "name": "SHADOW_FILTER_NONE", @@ -114923,6 +115481,7 @@ }, { "name": "BlendMode", + "is_bitfield": false, "values": [ { "name": "BLEND_MODE_ADD", @@ -115476,6 +116035,7 @@ "enums": [ { "name": "Param", + "is_bitfield": false, "values": [ { "name": "PARAM_ENERGY", @@ -115561,6 +116121,7 @@ }, { "name": "BakeMode", + "is_bitfield": false, "values": [ { "name": "BAKE_DISABLED", @@ -116199,6 +116760,7 @@ "enums": [ { "name": "BakeQuality", + "is_bitfield": false, "values": [ { "name": "BAKE_QUALITY_LOW", @@ -116220,6 +116782,7 @@ }, { "name": "GenerateProbes", + "is_bitfield": false, "values": [ { "name": "GENERATE_PROBES_DISABLED", @@ -116245,6 +116808,7 @@ }, { "name": "BakeError", + "is_bitfield": false, "values": [ { "name": "BAKE_ERROR_OK", @@ -116278,6 +116842,7 @@ }, { "name": "EnvironmentMode", + "is_bitfield": false, "values": [ { "name": "ENVIRONMENT_MODE_DISABLED", @@ -116919,6 +117484,7 @@ "enums": [ { "name": "LineJointMode", + "is_bitfield": false, "values": [ { "name": "LINE_JOINT_SHARP", @@ -116936,6 +117502,7 @@ }, { "name": "LineCapMode", + "is_bitfield": false, "values": [ { "name": "LINE_CAP_NONE", @@ -116953,6 +117520,7 @@ }, { "name": "LineTextureMode", + "is_bitfield": false, "values": [ { "name": "LINE_TEXTURE_NONE", @@ -117497,6 +118065,7 @@ "enums": [ { "name": "MenuItems", + "is_bitfield": false, "values": [ { "name": "MENU_CUT", @@ -117799,51 +118368,6 @@ "type": "enum::Control.TextDirection" } }, - { - "name": "set_opentype_feature", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2956805083, - "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": 1321353865, - "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": 3218959716 - }, { "name": "set_language", "is_const": false, @@ -118666,20 +119190,6 @@ "getter": "is_flat", "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 - }, { "type": "bool", "name": "draw_control_chars", @@ -118687,20 +119197,6 @@ "getter": "get_draw_control_chars", "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": "bool", "name": "caret_blink", @@ -118735,6 +119231,34 @@ "setter": "set_caret_mid_grapheme_enabled", "getter": "is_caret_mid_grapheme_enabled", "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 + }, + { + "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 } ] }, @@ -118747,6 +119271,7 @@ "enums": [ { "name": "UnderlineMode", + "is_bitfield": false, "values": [ { "name": "UNDERLINE_MODE_ALWAYS", @@ -118814,51 +119339,6 @@ "type": "enum::Control.TextDirection" } }, - { - "name": "set_opentype_feature", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2956805083, - "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": 1321353865, - "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": 3218959716 - }, { "name": "set_language", "is_const": false, @@ -118968,6 +119448,13 @@ "getter": "get_text", "index": -1 }, + { + "type": "int", + "name": "underline", + "setter": "set_underline_mode", + "getter": "get_underline_mode", + "index": -1 + }, { "type": "int", "name": "text_direction", @@ -118982,13 +119469,6 @@ "getter": "get_language", "index": -1 }, - { - "type": "int", - "name": "underline", - "setter": "set_underline_mode", - "getter": "get_underline_mode", - "index": -1 - }, { "type": "int", "name": "structured_text_bidi_override", @@ -119496,6 +119976,7 @@ "enums": [ { "name": "PrimitiveType", + "is_bitfield": false, "values": [ { "name": "PRIMITIVE_POINTS", @@ -119521,6 +120002,7 @@ }, { "name": "ArrayType", + "is_bitfield": false, "values": [ { "name": "ARRAY_VERTEX", @@ -119582,6 +120064,7 @@ }, { "name": "ArrayCustomFormat", + "is_bitfield": false, "values": [ { "name": "ARRAY_CUSTOM_RGBA8_UNORM", @@ -119623,6 +120106,7 @@ }, { "name": "ArrayFormat", + "is_bitfield": false, "values": [ { "name": "ARRAY_FORMAT_VERTEX", @@ -119728,6 +120212,7 @@ }, { "name": "BlendShapeMode", + "is_bitfield": false, "values": [ { "name": "BLEND_SHAPE_MODE_NORMALIZED", @@ -122281,6 +122766,7 @@ "enums": [ { "name": "TransformFormat", + "is_bitfield": false, "values": [ { "name": "TRANSFORM_2D", @@ -123175,6 +123661,7 @@ "enums": [ { "name": "ConnectionStatus", + "is_bitfield": false, "values": [ { "name": "CONNECTION_DISCONNECTED", @@ -123971,6 +124458,7 @@ "enums": [ { "name": "InitializationLevel", + "is_bitfield": false, "values": [ { "name": "INITIALIZATION_LEVEL_CORE", @@ -124068,6 +124556,7 @@ "enums": [ { "name": "LoadStatus", + "is_bitfield": false, "values": [ { "name": "LOAD_STATUS_OK", @@ -125408,6 +125897,7 @@ "enums": [ { "name": "SamplePartitionType", + "is_bitfield": false, "values": [ { "name": "SAMPLE_PARTITION_WATERSHED", @@ -125429,6 +125919,7 @@ }, { "name": "ParsedGeometryType", + "is_bitfield": false, "values": [ { "name": "PARSED_GEOMETRY_MESH_INSTANCES", @@ -125450,6 +125941,7 @@ }, { "name": "SourceGeometryMode", + "is_bitfield": false, "values": [ { "name": "SOURCE_GEOMETRY_NAVMESH_CHILDREN", @@ -129056,6 +129548,7 @@ "enums": [ { "name": "AxisStretchMode", + "is_bitfield": false, "values": [ { "name": "AXIS_STRETCH_MODE_STRETCH", @@ -129482,6 +129975,7 @@ "enums": [ { "name": "ProcessMode", + "is_bitfield": false, "values": [ { "name": "PROCESS_MODE_INHERIT", @@ -129507,6 +130001,7 @@ }, { "name": "DuplicateFlags", + "is_bitfield": false, "values": [ { "name": "DUPLICATE_SIGNALS", @@ -129528,6 +130023,7 @@ }, { "name": "InternalMode", + "is_bitfield": false, "values": [ { "name": "INTERNAL_MODE_DISABLED", @@ -131627,6 +132123,7 @@ "enums": [ { "name": "RotationEditMode", + "is_bitfield": false, "values": [ { "name": "ROTATION_EDIT_MODE_EULER", @@ -131644,6 +132141,7 @@ }, { "name": "RotationOrder", + "is_bitfield": false, "values": [ { "name": "ROTATION_ORDER_XYZ", @@ -131898,6 +132396,56 @@ "type": "Transform3D" } }, + { + "name": "set_global_position", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3460891852, + "arguments": [ + { + "name": "position", + "type": "Vector3" + } + ] + }, + { + "name": "get_global_position", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3360562783, + "return_value": { + "type": "Vector3" + } + }, + { + "name": "set_global_rotation", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3460891852, + "arguments": [ + { + "name": "radians", + "type": "Vector3" + } + ] + }, + { + "name": "get_global_rotation", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3360562783, + "return_value": { + "type": "Vector3" + } + }, { "name": "get_parent_node_3d", "is_const": true, @@ -132566,6 +133114,20 @@ "getter": "is_set_as_top_level", "index": -1 }, + { + "type": "Vector3", + "name": "global_position", + "setter": "set_global_position", + "getter": "get_global_position", + "index": -1 + }, + { + "type": "Vector3", + "name": "global_rotation", + "setter": "set_global_rotation", + "getter": "get_global_rotation", + "index": -1 + }, { "type": "bool", "name": "visible", @@ -133269,6 +133831,7 @@ "enums": [ { "name": "VideoDriver", + "is_bitfield": false, "values": [ { "name": "VIDEO_DRIVER_VULKAN", @@ -133282,6 +133845,7 @@ }, { "name": "Weekday", + "is_bitfield": false, "values": [ { "name": "DAY_SUNDAY", @@ -133315,6 +133879,7 @@ }, { "name": "Month", + "is_bitfield": false, "values": [ { "name": "MONTH_JANUARY", @@ -133368,6 +133933,7 @@ }, { "name": "SystemDir", + "is_bitfield": false, "values": [ { "name": "SYSTEM_DIR_DESKTOP", @@ -134278,6 +134844,7 @@ "enums": [ { "name": "ConnectFlags", + "is_bitfield": false, "values": [ { "name": "CONNECT_DEFERRED", @@ -135159,6 +135726,7 @@ "enums": [ { "name": "CullMode", + "is_bitfield": false, "values": [ { "name": "CULL_DISABLED", @@ -135285,6 +135853,7 @@ "enums": [ { "name": "ShadowMode", + "is_bitfield": false, "values": [ { "name": "SHADOW_DUAL_PARABOLOID", @@ -135348,779 +135917,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": 83702148, - "arguments": [ - { - "name": "localized_name", - "type": "String" - } - ] - }, - { - "name": "get_localized_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_action_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1675238366, - "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": 3536542431, - "return_value": { - "type": "enum::OpenXRAction.ActionType" - } - }, - { - "name": "set_toplevel_paths", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3709968205, - "arguments": [ - { - "name": "toplevel_paths", - "type": "PackedStringArray" - } - ] - }, - { - "name": "get_toplevel_paths", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 235988956, - "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": 1611583062, - "arguments": [ - { - "name": "action_sets", - "type": "Array" - } - ] - }, - { - "name": "get_action_sets", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1307783378, - "return_value": { - "type": "Array" - } - }, - { - "name": "get_action_set_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "find_action_set", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2222291562, - "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": 3683502819, - "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": 1635730024, - "arguments": [ - { - "name": "action_set", - "type": "OpenXRActionSet" - } - ] - }, - { - "name": "remove_action_set", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1635730024, - "arguments": [ - { - "name": "action_set", - "type": "OpenXRActionSet" - } - ] - }, - { - "name": "set_interaction_profiles", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1611583062, - "arguments": [ - { - "name": "interaction_profiles", - "type": "Array" - } - ] - }, - { - "name": "get_interaction_profiles", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1307783378, - "return_value": { - "type": "Array" - } - }, - { - "name": "get_interaction_profile_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "find_interaction_profile", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4093983294, - "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": 2000686519, - "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": 2514001313, - "arguments": [ - { - "name": "interaction_profile", - "type": "OpenXRInteractionProfile" - } - ] - }, - { - "name": "remove_interaction_profile", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2514001313, - "arguments": [ - { - "name": "interaction_profile", - "type": "OpenXRInteractionProfile" - } - ] - }, - { - "name": "create_default_action_sets", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "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": 83702148, - "arguments": [ - { - "name": "localized_name", - "type": "String" - } - ] - }, - { - "name": "get_localized_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "priority", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_action_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_actions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1611583062, - "arguments": [ - { - "name": "actions", - "type": "Array" - } - ] - }, - { - "name": "get_actions", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1307783378, - "return_value": { - "type": "Array" - } - }, - { - "name": "add_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4261547980, - "arguments": [ - { - "name": "action", - "type": "OpenXRAction" - } - ] - }, - { - "name": "remove_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4261547980, - "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": 4261547980, - "arguments": [ - { - "name": "action", - "type": "OpenXRAction" - } - ] - }, - { - "name": "get_action", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3146664183, - "return_value": { - "type": "OpenXRAction" - } - }, - { - "name": "get_path_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_paths", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3709968205, - "arguments": [ - { - "name": "paths", - "type": "PackedStringArray" - } - ] - }, - { - "name": "get_paths", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 235988956, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "has_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "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": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "remove_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "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": 83702148, - "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": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_binding_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_binding", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1661898124, - "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": 1611583062, - "arguments": [ - { - "name": "bindings", - "type": "Array" - } - ] - }, - { - "name": "get_bindings", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1307783378, - "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": "session_stopping" - }, - { - "name": "session_focussed" - }, - { - "name": "session_visible" - }, - { - "name": "pose_recentered" - } - ] - }, { "name": "OptimizedTranslation", "is_refcounted": true, @@ -136804,6 +136600,7 @@ "enums": [ { "name": "GenEditState", + "is_bitfield": false, "values": [ { "name": "GEN_EDIT_STATE_DISABLED", @@ -137029,6 +136826,7 @@ "enums": [ { "name": "Status", + "is_bitfield": false, "values": [ { "name": "STATUS_DISCONNECTED", @@ -137917,6 +137715,7 @@ "enums": [ { "name": "Parameter", + "is_bitfield": false, "values": [ { "name": "PARAM_INITIAL_LINEAR_VELOCITY", @@ -137974,6 +137773,7 @@ }, { "name": "ParticleFlags", + "is_bitfield": false, "values": [ { "name": "PARTICLE_FLAG_ALIGN_Y_TO_VELOCITY", @@ -137995,6 +137795,7 @@ }, { "name": "EmissionShape", + "is_bitfield": false, "values": [ { "name": "EMISSION_SHAPE_POINT", @@ -138032,6 +137833,7 @@ }, { "name": "SubEmitterMode", + "is_bitfield": false, "values": [ { "name": "SUB_EMITTER_DISABLED", @@ -139768,6 +139570,7 @@ "enums": [ { "name": "RotationMode", + "is_bitfield": false, "values": [ { "name": "ROTATION_NONE", @@ -140038,6 +139841,7 @@ "enums": [ { "name": "Monitor", + "is_bitfield": false, "values": [ { "name": "TIME_FPS", @@ -140457,6 +140261,7 @@ "enums": [ { "name": "DampMode", + "is_bitfield": false, "values": [ { "name": "DAMP_MODE_COMBINE", @@ -140470,6 +140275,7 @@ }, { "name": "JointType", + "is_bitfield": false, "values": [ { "name": "JOINT_TYPE_NONE", @@ -145391,6 +145197,7 @@ "enums": [ { "name": "SpaceParameter", + "is_bitfield": false, "values": [ { "name": "SPACE_PARAM_CONTACT_RECYCLE_RADIUS", @@ -145432,6 +145239,7 @@ }, { "name": "ShapeType", + "is_bitfield": false, "values": [ { "name": "SHAPE_WORLD_BOUNDARY", @@ -145473,6 +145281,7 @@ }, { "name": "AreaParameter", + "is_bitfield": false, "values": [ { "name": "AREA_PARAM_GRAVITY_OVERRIDE_MODE", @@ -145522,6 +145331,7 @@ }, { "name": "AreaSpaceOverrideMode", + "is_bitfield": false, "values": [ { "name": "AREA_SPACE_OVERRIDE_DISABLED", @@ -145547,6 +145357,7 @@ }, { "name": "BodyMode", + "is_bitfield": false, "values": [ { "name": "BODY_MODE_STATIC", @@ -145568,6 +145379,7 @@ }, { "name": "BodyParameter", + "is_bitfield": false, "values": [ { "name": "BODY_PARAM_BOUNCE", @@ -145617,6 +145429,7 @@ }, { "name": "BodyDampMode", + "is_bitfield": false, "values": [ { "name": "BODY_DAMP_MODE_COMBINE", @@ -145630,6 +145443,7 @@ }, { "name": "BodyState", + "is_bitfield": false, "values": [ { "name": "BODY_STATE_TRANSFORM", @@ -145655,6 +145469,7 @@ }, { "name": "JointType", + "is_bitfield": false, "values": [ { "name": "JOINT_TYPE_PIN", @@ -145676,6 +145491,7 @@ }, { "name": "JointParam", + "is_bitfield": false, "values": [ { "name": "JOINT_PARAM_BIAS", @@ -145693,6 +145509,7 @@ }, { "name": "DampedSpringParam", + "is_bitfield": false, "values": [ { "name": "DAMPED_SPRING_REST_LENGTH", @@ -145710,6 +145527,7 @@ }, { "name": "CCDMode", + "is_bitfield": false, "values": [ { "name": "CCD_MODE_DISABLED", @@ -145727,6 +145545,7 @@ }, { "name": "AreaBodyStatus", + "is_bitfield": false, "values": [ { "name": "AREA_BODY_ADDED", @@ -145740,6 +145559,7 @@ }, { "name": "ProcessInfo", + "is_bitfield": false, "values": [ { "name": "INFO_ACTIVE_OBJECTS", @@ -147798,6 +147618,7 @@ "enums": [ { "name": "JointType", + "is_bitfield": false, "values": [ { "name": "JOINT_TYPE_PIN", @@ -147827,6 +147648,7 @@ }, { "name": "PinJointParam", + "is_bitfield": false, "values": [ { "name": "PIN_JOINT_BIAS", @@ -147844,6 +147666,7 @@ }, { "name": "HingeJointParam", + "is_bitfield": false, "values": [ { "name": "HINGE_JOINT_BIAS", @@ -147881,6 +147704,7 @@ }, { "name": "HingeJointFlag", + "is_bitfield": false, "values": [ { "name": "HINGE_JOINT_FLAG_USE_LIMIT", @@ -147894,6 +147718,7 @@ }, { "name": "SliderJointParam", + "is_bitfield": false, "values": [ { "name": "SLIDER_JOINT_LINEAR_LIMIT_UPPER", @@ -147991,6 +147816,7 @@ }, { "name": "ConeTwistJointParam", + "is_bitfield": false, "values": [ { "name": "CONE_TWIST_JOINT_SWING_SPAN", @@ -148016,6 +147842,7 @@ }, { "name": "G6DOFJointAxisParam", + "is_bitfield": false, "values": [ { "name": "G6DOF_JOINT_LINEAR_LOWER_LIMIT", @@ -148085,6 +147912,7 @@ }, { "name": "G6DOFJointAxisFlag", + "is_bitfield": false, "values": [ { "name": "G6DOF_JOINT_FLAG_ENABLE_LINEAR_LIMIT", @@ -148106,6 +147934,7 @@ }, { "name": "ShapeType", + "is_bitfield": false, "values": [ { "name": "SHAPE_WORLD_BOUNDARY", @@ -148155,6 +147984,7 @@ }, { "name": "AreaParameter", + "is_bitfield": false, "values": [ { "name": "AREA_PARAM_GRAVITY_OVERRIDE_MODE", @@ -148220,6 +148050,7 @@ }, { "name": "AreaSpaceOverrideMode", + "is_bitfield": false, "values": [ { "name": "AREA_SPACE_OVERRIDE_DISABLED", @@ -148245,6 +148076,7 @@ }, { "name": "BodyMode", + "is_bitfield": false, "values": [ { "name": "BODY_MODE_STATIC", @@ -148266,6 +148098,7 @@ }, { "name": "BodyParameter", + "is_bitfield": false, "values": [ { "name": "BODY_PARAM_BOUNCE", @@ -148315,6 +148148,7 @@ }, { "name": "BodyDampMode", + "is_bitfield": false, "values": [ { "name": "BODY_DAMP_MODE_COMBINE", @@ -148328,6 +148162,7 @@ }, { "name": "BodyState", + "is_bitfield": false, "values": [ { "name": "BODY_STATE_TRANSFORM", @@ -148353,6 +148188,7 @@ }, { "name": "AreaBodyStatus", + "is_bitfield": false, "values": [ { "name": "AREA_BODY_ADDED", @@ -148366,6 +148202,7 @@ }, { "name": "ProcessInfo", + "is_bitfield": false, "values": [ { "name": "INFO_ACTIVE_OBJECTS", @@ -148383,6 +148220,7 @@ }, { "name": "SpaceParameter", + "is_bitfield": false, "values": [ { "name": "SPACE_PARAM_CONTACT_RECYCLE_RADIUS", @@ -148420,6 +148258,7 @@ }, { "name": "BodyAxis", + "is_bitfield": false, "values": [ { "name": "BODY_AXIS_LINEAR_X", @@ -154804,6 +154643,7 @@ "enums": [ { "name": "Param", + "is_bitfield": false, "values": [ { "name": "PARAM_BIAS", @@ -156626,30 +156466,6 @@ } ] }, - { - "name": "set_item_opentype_feature", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3794041973, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "tag", - "type": "String" - }, - { - "name": "value", - "type": "int", - "meta": "int32" - } - ] - }, { "name": "set_item_language", "is_const": false, @@ -157028,44 +156844,6 @@ } ] }, - { - "name": "get_item_opentype_feature", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 46870362, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "tag", - "type": "String" - } - ] - }, - { - "name": "clear_item_opentype_features", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, { "name": "get_item_language", "is_const": true, @@ -157688,6 +157466,7 @@ "enums": [ { "name": "CompressionMode", + "is_bitfield": false, "values": [ { "name": "COMPRESSION_MODE_LOSSLESS", @@ -158668,6 +158447,7 @@ "enums": [ { "name": "FillMode", + "is_bitfield": false, "values": [ { "name": "FILL_BEGIN_TO_END", @@ -164741,6 +164521,7 @@ "enums": [ { "name": "UpdateMode", + "is_bitfield": false, "values": [ { "name": "UPDATE_ONCE", @@ -164754,6 +164535,7 @@ }, { "name": "AmbientMode", + "is_bitfield": false, "values": [ { "name": "AMBIENT_DISABLED", @@ -165906,6 +165688,7 @@ "enums": [ { "name": "DeviceType", + "is_bitfield": false, "values": [ { "name": "DEVICE_TYPE_OTHER", @@ -165935,6 +165718,7 @@ }, { "name": "DriverResource", + "is_bitfield": false, "values": [ { "name": "DRIVER_RESOURCE_VULKAN_DEVICE", @@ -165992,6 +165776,7 @@ }, { "name": "DataFormat", + "is_bitfield": false, "values": [ { "name": "DATA_FORMAT_R4G4_UNORM_PACK8", @@ -166873,6 +166658,7 @@ }, { "name": "TextureType", + "is_bitfield": false, "values": [ { "name": "TEXTURE_TYPE_1D", @@ -166910,6 +166696,7 @@ }, { "name": "TextureSamples", + "is_bitfield": false, "values": [ { "name": "TEXTURE_SAMPLES_1", @@ -166947,6 +166734,7 @@ }, { "name": "TextureUsageBits", + "is_bitfield": false, "values": [ { "name": "TEXTURE_USAGE_SAMPLING_BIT", @@ -166992,6 +166780,7 @@ }, { "name": "TextureSwizzle", + "is_bitfield": false, "values": [ { "name": "TEXTURE_SWIZZLE_IDENTITY", @@ -167029,6 +166818,7 @@ }, { "name": "TextureSliceType", + "is_bitfield": false, "values": [ { "name": "TEXTURE_SLICE_2D", @@ -167046,6 +166836,7 @@ }, { "name": "SamplerFilter", + "is_bitfield": false, "values": [ { "name": "SAMPLER_FILTER_NEAREST", @@ -167059,6 +166850,7 @@ }, { "name": "SamplerRepeatMode", + "is_bitfield": false, "values": [ { "name": "SAMPLER_REPEAT_MODE_REPEAT", @@ -167088,6 +166880,7 @@ }, { "name": "SamplerBorderColor", + "is_bitfield": false, "values": [ { "name": "SAMPLER_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK", @@ -167121,6 +166914,7 @@ }, { "name": "VertexFrequency", + "is_bitfield": false, "values": [ { "name": "VERTEX_FREQUENCY_VERTEX", @@ -167134,6 +166928,7 @@ }, { "name": "IndexBufferFormat", + "is_bitfield": false, "values": [ { "name": "INDEX_BUFFER_FORMAT_UINT16", @@ -167147,6 +166942,7 @@ }, { "name": "StorageBufferUsage", + "is_bitfield": false, "values": [ { "name": "STORAGE_BUFFER_USAGE_DISPATCH_INDIRECT", @@ -167156,6 +166952,7 @@ }, { "name": "UniformType", + "is_bitfield": false, "values": [ { "name": "UNIFORM_TYPE_SAMPLER", @@ -167205,6 +167002,7 @@ }, { "name": "RenderPrimitive", + "is_bitfield": false, "values": [ { "name": "RENDER_PRIMITIVE_POINTS", @@ -167258,6 +167056,7 @@ }, { "name": "PolygonCullMode", + "is_bitfield": false, "values": [ { "name": "POLYGON_CULL_DISABLED", @@ -167275,6 +167074,7 @@ }, { "name": "PolygonFrontFace", + "is_bitfield": false, "values": [ { "name": "POLYGON_FRONT_FACE_CLOCKWISE", @@ -167288,6 +167088,7 @@ }, { "name": "StencilOperation", + "is_bitfield": false, "values": [ { "name": "STENCIL_OP_KEEP", @@ -167329,6 +167130,7 @@ }, { "name": "CompareOperator", + "is_bitfield": false, "values": [ { "name": "COMPARE_OP_NEVER", @@ -167370,6 +167172,7 @@ }, { "name": "LogicOperation", + "is_bitfield": false, "values": [ { "name": "LOGIC_OP_CLEAR", @@ -167443,6 +167246,7 @@ }, { "name": "BlendFactor", + "is_bitfield": false, "values": [ { "name": "BLEND_FACTOR_ZERO", @@ -167528,6 +167332,7 @@ }, { "name": "BlendOperation", + "is_bitfield": false, "values": [ { "name": "BLEND_OP_ADD", @@ -167557,6 +167362,7 @@ }, { "name": "PipelineDynamicStateFlags", + "is_bitfield": false, "values": [ { "name": "DYNAMIC_STATE_LINE_WIDTH", @@ -167590,6 +167396,7 @@ }, { "name": "InitialAction", + "is_bitfield": false, "values": [ { "name": "INITIAL_ACTION_CLEAR", @@ -167623,6 +167430,7 @@ }, { "name": "FinalAction", + "is_bitfield": false, "values": [ { "name": "FINAL_ACTION_READ", @@ -167644,6 +167452,7 @@ }, { "name": "ShaderStage", + "is_bitfield": false, "values": [ { "name": "SHADER_STAGE_VERTEX", @@ -167693,6 +167502,7 @@ }, { "name": "ShaderLanguage", + "is_bitfield": false, "values": [ { "name": "SHADER_LANGUAGE_GLSL", @@ -167706,6 +167516,7 @@ }, { "name": "PipelineSpecializationConstantType", + "is_bitfield": false, "values": [ { "name": "PIPELINE_SPECIALIZATION_CONSTANT_TYPE_BOOL", @@ -167723,6 +167534,7 @@ }, { "name": "Limit", + "is_bitfield": false, "values": [ { "name": "LIMIT_MAX_BOUND_UNIFORM_SETS", @@ -167868,6 +167680,7 @@ }, { "name": "MemoryType", + "is_bitfield": false, "values": [ { "name": "MEMORY_TEXTURES", @@ -169946,6 +169759,7 @@ "enums": [ { "name": "TextureLayeredType", + "is_bitfield": false, "values": [ { "name": "TEXTURE_LAYERED_2D_ARRAY", @@ -169963,6 +169777,7 @@ }, { "name": "CubeMapLayer", + "is_bitfield": false, "values": [ { "name": "CUBEMAP_LAYER_LEFT", @@ -169992,6 +169807,7 @@ }, { "name": "ShaderMode", + "is_bitfield": false, "values": [ { "name": "SHADER_SPATIAL", @@ -170021,6 +169837,7 @@ }, { "name": "ArrayType", + "is_bitfield": false, "values": [ { "name": "ARRAY_VERTEX", @@ -170082,6 +169899,7 @@ }, { "name": "ArrayCustomFormat", + "is_bitfield": false, "values": [ { "name": "ARRAY_CUSTOM_RGBA8_UNORM", @@ -170123,6 +169941,7 @@ }, { "name": "ArrayFormat", + "is_bitfield": false, "values": [ { "name": "ARRAY_FORMAT_VERTEX", @@ -170228,6 +170047,7 @@ }, { "name": "PrimitiveType", + "is_bitfield": false, "values": [ { "name": "PRIMITIVE_POINTS", @@ -170257,6 +170077,7 @@ }, { "name": "BlendShapeMode", + "is_bitfield": false, "values": [ { "name": "BLEND_SHAPE_MODE_NORMALIZED", @@ -170270,6 +170091,7 @@ }, { "name": "MultimeshTransformFormat", + "is_bitfield": false, "values": [ { "name": "MULTIMESH_TRANSFORM_2D", @@ -170283,6 +170105,7 @@ }, { "name": "LightProjectorFilter", + "is_bitfield": false, "values": [ { "name": "LIGHT_PROJECTOR_FILTER_NEAREST", @@ -170308,6 +170131,7 @@ }, { "name": "LightType", + "is_bitfield": false, "values": [ { "name": "LIGHT_DIRECTIONAL", @@ -170325,6 +170149,7 @@ }, { "name": "LightParam", + "is_bitfield": false, "values": [ { "name": "LIGHT_PARAM_ENERGY", @@ -170410,6 +170235,7 @@ }, { "name": "LightBakeMode", + "is_bitfield": false, "values": [ { "name": "LIGHT_BAKE_DISABLED", @@ -170427,6 +170253,7 @@ }, { "name": "LightOmniShadowMode", + "is_bitfield": false, "values": [ { "name": "LIGHT_OMNI_SHADOW_DUAL_PARABOLOID", @@ -170440,6 +170267,7 @@ }, { "name": "LightDirectionalShadowMode", + "is_bitfield": false, "values": [ { "name": "LIGHT_DIRECTIONAL_SHADOW_ORTHOGONAL", @@ -170457,6 +170285,7 @@ }, { "name": "LightDirectionalSkyMode", + "is_bitfield": false, "values": [ { "name": "LIGHT_DIRECTIONAL_SKY_MODE_LIGHT_AND_SKY", @@ -170474,6 +170303,7 @@ }, { "name": "ShadowQuality", + "is_bitfield": false, "values": [ { "name": "SHADOW_QUALITY_HARD", @@ -170507,6 +170337,7 @@ }, { "name": "ReflectionProbeUpdateMode", + "is_bitfield": false, "values": [ { "name": "REFLECTION_PROBE_UPDATE_ONCE", @@ -170520,6 +170351,7 @@ }, { "name": "ReflectionProbeAmbientMode", + "is_bitfield": false, "values": [ { "name": "REFLECTION_PROBE_AMBIENT_DISABLED", @@ -170537,6 +170369,7 @@ }, { "name": "DecalTexture", + "is_bitfield": false, "values": [ { "name": "DECAL_TEXTURE_ALBEDO", @@ -170562,6 +170395,7 @@ }, { "name": "DecalFilter", + "is_bitfield": false, "values": [ { "name": "DECAL_FILTER_NEAREST", @@ -170587,6 +170421,7 @@ }, { "name": "VoxelGIQuality", + "is_bitfield": false, "values": [ { "name": "VOXEL_GI_QUALITY_LOW", @@ -170600,6 +170435,7 @@ }, { "name": "ParticlesMode", + "is_bitfield": false, "values": [ { "name": "PARTICLES_MODE_2D", @@ -170613,6 +170449,7 @@ }, { "name": "ParticlesTransformAlign", + "is_bitfield": false, "values": [ { "name": "PARTICLES_TRANSFORM_ALIGN_DISABLED", @@ -170634,6 +170471,7 @@ }, { "name": "ParticlesDrawOrder", + "is_bitfield": false, "values": [ { "name": "PARTICLES_DRAW_ORDER_INDEX", @@ -170655,6 +170493,7 @@ }, { "name": "ParticlesCollisionType", + "is_bitfield": false, "values": [ { "name": "PARTICLES_COLLISION_TYPE_SPHERE_ATTRACT", @@ -170688,6 +170527,7 @@ }, { "name": "ParticlesCollisionHeightfieldResolution", + "is_bitfield": false, "values": [ { "name": "PARTICLES_COLLISION_HEIGHTFIELD_RESOLUTION_256", @@ -170721,6 +170561,7 @@ }, { "name": "FogVolumeShape", + "is_bitfield": false, "values": [ { "name": "FOG_VOLUME_SHAPE_ELLIPSOID", @@ -170750,6 +170591,7 @@ }, { "name": "ViewportScaling3DMode", + "is_bitfield": false, "values": [ { "name": "VIEWPORT_SCALING_3D_MODE_BILINEAR", @@ -170767,6 +170609,7 @@ }, { "name": "ViewportUpdateMode", + "is_bitfield": false, "values": [ { "name": "VIEWPORT_UPDATE_DISABLED", @@ -170792,6 +170635,7 @@ }, { "name": "ViewportClearMode", + "is_bitfield": false, "values": [ { "name": "VIEWPORT_CLEAR_ALWAYS", @@ -170809,6 +170653,7 @@ }, { "name": "ViewportSDFOversize", + "is_bitfield": false, "values": [ { "name": "VIEWPORT_SDF_OVERSIZE_100_PERCENT", @@ -170834,6 +170679,7 @@ }, { "name": "ViewportSDFScale", + "is_bitfield": false, "values": [ { "name": "VIEWPORT_SDF_SCALE_100_PERCENT", @@ -170855,6 +170701,7 @@ }, { "name": "ViewportMSAA", + "is_bitfield": false, "values": [ { "name": "VIEWPORT_MSAA_DISABLED", @@ -170880,6 +170727,7 @@ }, { "name": "ViewportScreenSpaceAA", + "is_bitfield": false, "values": [ { "name": "VIEWPORT_SCREEN_SPACE_AA_DISABLED", @@ -170897,6 +170745,7 @@ }, { "name": "ViewportOcclusionCullingBuildQuality", + "is_bitfield": false, "values": [ { "name": "VIEWPORT_OCCLUSION_BUILD_QUALITY_LOW", @@ -170914,6 +170763,7 @@ }, { "name": "ViewportRenderInfo", + "is_bitfield": false, "values": [ { "name": "VIEWPORT_RENDER_INFO_OBJECTS_IN_FRAME", @@ -170935,6 +170785,7 @@ }, { "name": "ViewportRenderInfoType", + "is_bitfield": false, "values": [ { "name": "VIEWPORT_RENDER_INFO_TYPE_VISIBLE", @@ -170952,6 +170803,7 @@ }, { "name": "ViewportDebugDraw", + "is_bitfield": false, "values": [ { "name": "VIEWPORT_DEBUG_DRAW_DISABLED", @@ -171061,6 +170913,7 @@ }, { "name": "SkyMode", + "is_bitfield": false, "values": [ { "name": "SKY_MODE_AUTOMATIC", @@ -171082,6 +170935,7 @@ }, { "name": "EnvironmentBG", + "is_bitfield": false, "values": [ { "name": "ENV_BG_CLEAR_COLOR", @@ -171115,6 +170969,7 @@ }, { "name": "EnvironmentAmbientSource", + "is_bitfield": false, "values": [ { "name": "ENV_AMBIENT_SOURCE_BG", @@ -171136,6 +170991,7 @@ }, { "name": "EnvironmentReflectionSource", + "is_bitfield": false, "values": [ { "name": "ENV_REFLECTION_SOURCE_BG", @@ -171153,6 +171009,7 @@ }, { "name": "EnvironmentGlowBlendMode", + "is_bitfield": false, "values": [ { "name": "ENV_GLOW_BLEND_MODE_ADDITIVE", @@ -171178,6 +171035,7 @@ }, { "name": "EnvironmentToneMapper", + "is_bitfield": false, "values": [ { "name": "ENV_TONE_MAPPER_LINEAR", @@ -171199,6 +171057,7 @@ }, { "name": "EnvironmentSSRRoughnessQuality", + "is_bitfield": false, "values": [ { "name": "ENV_SSR_ROUGHNESS_QUALITY_DISABLED", @@ -171220,6 +171079,7 @@ }, { "name": "EnvironmentSSAOQuality", + "is_bitfield": false, "values": [ { "name": "ENV_SSAO_QUALITY_VERY_LOW", @@ -171245,6 +171105,7 @@ }, { "name": "EnvironmentSSILQuality", + "is_bitfield": false, "values": [ { "name": "ENV_SSIL_QUALITY_VERY_LOW", @@ -171270,6 +171131,7 @@ }, { "name": "EnvironmentSDFGIYScale", + "is_bitfield": false, "values": [ { "name": "ENV_SDFGI_Y_SCALE_50_PERCENT", @@ -171287,6 +171149,7 @@ }, { "name": "EnvironmentSDFGIRayCount", + "is_bitfield": false, "values": [ { "name": "ENV_SDFGI_RAY_COUNT_4", @@ -171324,6 +171187,7 @@ }, { "name": "EnvironmentSDFGIFramesToConverge", + "is_bitfield": false, "values": [ { "name": "ENV_SDFGI_CONVERGE_IN_5_FRAMES", @@ -171357,6 +171221,7 @@ }, { "name": "EnvironmentSDFGIFramesToUpdateLight", + "is_bitfield": false, "values": [ { "name": "ENV_SDFGI_UPDATE_LIGHT_IN_1_FRAME", @@ -171386,6 +171251,7 @@ }, { "name": "SubSurfaceScatteringQuality", + "is_bitfield": false, "values": [ { "name": "SUB_SURFACE_SCATTERING_QUALITY_DISABLED", @@ -171407,6 +171273,7 @@ }, { "name": "DOFBokehShape", + "is_bitfield": false, "values": [ { "name": "DOF_BOKEH_BOX", @@ -171424,6 +171291,7 @@ }, { "name": "DOFBlurQuality", + "is_bitfield": false, "values": [ { "name": "DOF_BLUR_QUALITY_VERY_LOW", @@ -171445,6 +171313,7 @@ }, { "name": "InstanceType", + "is_bitfield": false, "values": [ { "name": "INSTANCE_NONE", @@ -171510,6 +171379,7 @@ }, { "name": "InstanceFlags", + "is_bitfield": false, "values": [ { "name": "INSTANCE_FLAG_USE_BAKED_LIGHT", @@ -171535,6 +171405,7 @@ }, { "name": "ShadowCastingSetting", + "is_bitfield": false, "values": [ { "name": "SHADOW_CASTING_SETTING_OFF", @@ -171556,6 +171427,7 @@ }, { "name": "VisibilityRangeFadeMode", + "is_bitfield": false, "values": [ { "name": "VISIBILITY_RANGE_FADE_DISABLED", @@ -171573,6 +171445,7 @@ }, { "name": "BakeChannels", + "is_bitfield": false, "values": [ { "name": "BAKE_CHANNEL_ALBEDO_ALPHA", @@ -171594,6 +171467,7 @@ }, { "name": "CanvasTextureChannel", + "is_bitfield": false, "values": [ { "name": "CANVAS_TEXTURE_CHANNEL_DIFFUSE", @@ -171611,6 +171485,7 @@ }, { "name": "NinePatchAxisMode", + "is_bitfield": false, "values": [ { "name": "NINE_PATCH_STRETCH", @@ -171628,6 +171503,7 @@ }, { "name": "CanvasItemTextureFilter", + "is_bitfield": false, "values": [ { "name": "CANVAS_ITEM_TEXTURE_FILTER_DEFAULT", @@ -171665,6 +171541,7 @@ }, { "name": "CanvasItemTextureRepeat", + "is_bitfield": false, "values": [ { "name": "CANVAS_ITEM_TEXTURE_REPEAT_DEFAULT", @@ -171690,6 +171567,7 @@ }, { "name": "CanvasGroupMode", + "is_bitfield": false, "values": [ { "name": "CANVAS_GROUP_MODE_DISABLED", @@ -171707,6 +171585,7 @@ }, { "name": "CanvasLightMode", + "is_bitfield": false, "values": [ { "name": "CANVAS_LIGHT_MODE_POINT", @@ -171720,6 +171599,7 @@ }, { "name": "CanvasLightBlendMode", + "is_bitfield": false, "values": [ { "name": "CANVAS_LIGHT_BLEND_MODE_ADD", @@ -171737,6 +171617,7 @@ }, { "name": "CanvasLightShadowFilter", + "is_bitfield": false, "values": [ { "name": "CANVAS_LIGHT_FILTER_NONE", @@ -171758,6 +171639,7 @@ }, { "name": "CanvasOccluderPolygonCullMode", + "is_bitfield": false, "values": [ { "name": "CANVAS_OCCLUDER_POLYGON_CULL_DISABLED", @@ -171775,6 +171657,7 @@ }, { "name": "GlobalVariableType", + "is_bitfield": false, "values": [ { "name": "GLOBAL_VAR_TYPE_BOOL", @@ -171896,6 +171779,7 @@ }, { "name": "RenderingInfo", + "is_bitfield": false, "values": [ { "name": "RENDERING_INFO_TOTAL_OBJECTS_IN_FRAME", @@ -171925,6 +171809,7 @@ }, { "name": "Features", + "is_bitfield": false, "values": [ { "name": "FEATURE_SHADERS", @@ -181032,6 +180917,7 @@ "enums": [ { "name": "CacheMode", + "is_bitfield": false, "values": [ { "name": "CACHE_MODE_IGNORE", @@ -181267,6 +181153,7 @@ "enums": [ { "name": "ImportOrder", + "is_bitfield": false, "values": [ { "name": "IMPORT_ORDER_DEFAULT", @@ -181289,6 +181176,7 @@ "enums": [ { "name": "ThreadLoadStatus", + "is_bitfield": false, "values": [ { "name": "THREAD_LOAD_INVALID_RESOURCE", @@ -181310,6 +181198,7 @@ }, { "name": "CacheMode", + "is_bitfield": false, "values": [ { "name": "CACHE_MODE_IGNORE", @@ -181682,6 +181571,7 @@ "enums": [ { "name": "SaverFlags", + "is_bitfield": true, "values": [ { "name": "FLAG_NONE", @@ -181725,7 +181615,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3029915750, + "hash": 3157506432, "return_value": { "type": "enum::Error" }, @@ -181740,8 +181630,7 @@ }, { "name": "flags", - "type": "int", - "meta": "uint32", + "type": "bitfield::ResourceSaver.SaverFlags", "default_value": "0" } ] @@ -181959,6 +181848,7 @@ "enums": [ { "name": "Shape", + "is_bitfield": false, "values": [ { "name": "SHAPE_FLAT", @@ -182210,6 +182100,7 @@ "enums": [ { "name": "ListType", + "is_bitfield": false, "values": [ { "name": "LIST_NUMBERS", @@ -182231,6 +182122,7 @@ }, { "name": "ItemType", + "is_bitfield": false, "values": [ { "name": "ITEM_FRAME", @@ -182474,20 +182366,6 @@ } ] }, - { - "name": "push_font_features", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 134455500, - "arguments": [ - { - "name": "opentype_features", - "type": "Dictionary" - } - ] - }, { "name": "push_normal", "is_const": false, @@ -184037,6 +183915,7 @@ "enums": [ { "name": "FreezeMode", + "is_bitfield": false, "values": [ { "name": "FREEZE_MODE_STATIC", @@ -184050,6 +183929,7 @@ }, { "name": "CenterOfMassMode", + "is_bitfield": false, "values": [ { "name": "CENTER_OF_MASS_MODE_AUTO", @@ -184063,6 +183943,7 @@ }, { "name": "DampMode", + "is_bitfield": false, "values": [ { "name": "DAMP_MODE_COMBINE", @@ -184076,6 +183957,7 @@ }, { "name": "CCDMode", + "is_bitfield": false, "values": [ { "name": "CCD_MODE_DISABLED", @@ -185106,6 +184988,7 @@ "enums": [ { "name": "FreezeMode", + "is_bitfield": false, "values": [ { "name": "FREEZE_MODE_STATIC", @@ -185119,6 +185002,7 @@ }, { "name": "CenterOfMassMode", + "is_bitfield": false, "values": [ { "name": "CENTER_OF_MASS_MODE_AUTO", @@ -185132,6 +185016,7 @@ }, { "name": "DampMode", + "is_bitfield": false, "values": [ { "name": "DAMP_MODE_COMBINE", @@ -186362,6 +186247,7 @@ "enums": [ { "name": "GenEditState", + "is_bitfield": false, "values": [ { "name": "GEN_EDIT_STATE_DISABLED", @@ -186779,6 +186665,7 @@ "enums": [ { "name": "GroupCallFlags", + "is_bitfield": false, "values": [ { "name": "GROUP_CALL_DEFAULT", @@ -188449,6 +188336,7 @@ "enums": [ { "name": "LookupResultType", + "is_bitfield": false, "values": [ { "name": "LOOKUP_RESULT_SCRIPT_LOCATION", @@ -188483,13 +188371,18 @@ "value": 7 }, { - "name": "LOOKUP_RESULT_MAX", + "name": "LOOKUP_RESULT_CLASS_ANNOTATION", "value": 8 + }, + { + "name": "LOOKUP_RESULT_MAX", + "value": 9 } ] }, { "name": "CodeCompletionLocation", + "is_bitfield": false, "values": [ { "name": "LOCATION_LOCAL", @@ -188511,6 +188404,7 @@ }, { "name": "CodeCompletionKind", + "is_bitfield": false, "values": [ { "name": "CODE_COMPLETION_KIND_CLASS", @@ -189261,6 +189155,16 @@ "type": "Dictionary" } }, + { + "name": "_get_public_annotations", + "is_const": true, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "Array" + } + }, { "name": "_profiling_start", "is_const": false, @@ -189473,6 +189377,7 @@ "enums": [ { "name": "ScrollMode", + "is_bitfield": false, "values": [ { "name": "SCROLL_MODE_DISABLED", @@ -190021,6 +189926,7 @@ "enums": [ { "name": "Mode", + "is_bitfield": false, "values": [ { "name": "MODE_SPATIAL", @@ -197462,6 +197368,282 @@ } ] }, + { + "name": "SkeletonProfile", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "Resource", + "api_type": "core", + "methods": [ + { + "name": "set_group_size", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_group_size", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2455072627, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_group_name", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1965739696, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "group_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_group_name", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3616898986, + "arguments": [ + { + "name": "group_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "group_name", + "type": "StringName" + } + ] + }, + { + "name": "get_texture", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2823536307, + "return_value": { + "type": "Texture2D" + }, + "arguments": [ + { + "name": "group_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_texture", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2115639743, + "arguments": [ + { + "name": "group_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "texture", + "type": "Texture2D" + } + ] + }, + { + "name": "set_bone_size", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1286410249, + "arguments": [ + { + "name": "size", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "get_bone_size", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2455072627, + "return_value": { + "type": "int", + "meta": "int32" + } + }, + { + "name": "get_bone_name", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1965739696, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_bone_name", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3616898986, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "bone_name", + "type": "StringName" + } + ] + }, + { + "name": "get_handle_offset", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2299179447, + "return_value": { + "type": "Vector2" + }, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_handle_offset", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 163021252, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "handle_offset", + "type": "Vector2" + } + ] + }, + { + "name": "get_group", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1965739696, + "return_value": { + "type": "StringName" + }, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + } + ] + }, + { + "name": "set_group", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3616898986, + "arguments": [ + { + "name": "bone_idx", + "type": "int", + "meta": "int32" + }, + { + "name": "group", + "type": "StringName" + } + ] + } + ], + "signals": [ + { + "name": "profile_updated" + } + ], + "properties": [ + { + "type": "Groups,group/", + "name": "group_size", + "setter": "set_group_size", + "getter": "get_group_size", + "index": -1 + }, + { + "type": "Bones,bone/", + "name": "bone_size", + "setter": "set_bone_size", + "getter": "get_bone_size", + "index": -1 + } + ] + }, + { + "name": "SkeletonProfileHumanoid", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "SkeletonProfile", + "api_type": "core" + }, { "name": "Skin", "is_refcounted": true, @@ -197696,6 +197878,7 @@ "enums": [ { "name": "RadianceSize", + "is_bitfield": false, "values": [ { "name": "RADIANCE_SIZE_32", @@ -197733,6 +197916,7 @@ }, { "name": "ProcessMode", + "is_bitfield": false, "values": [ { "name": "PROCESS_MODE_AUTOMATIC", @@ -198018,6 +198202,7 @@ "enums": [ { "name": "Param", + "is_bitfield": false, "values": [ { "name": "PARAM_LINEAR_LIMIT_UPPER", @@ -198319,6 +198504,7 @@ "enums": [ { "name": "DisableMode", + "is_bitfield": false, "values": [ { "name": "DISABLE_MODE_REMOVE", @@ -199356,6 +199542,7 @@ "enums": [ { "name": "DraggerVisibility", + "is_bitfield": false, "values": [ { "name": "DRAGGER_VISIBLE", @@ -200422,6 +200609,7 @@ "enums": [ { "name": "DrawFlags", + "is_bitfield": false, "values": [ { "name": "FLAG_TRANSPARENT", @@ -200451,6 +200639,7 @@ }, { "name": "AlphaCutMode", + "is_bitfield": false, "values": [ { "name": "ALPHA_CUT_DISABLED", @@ -202180,6 +202369,7 @@ "enums": [ { "name": "Status", + "is_bitfield": false, "values": [ { "name": "STATUS_DISCONNECTED", @@ -202350,6 +202540,7 @@ "enums": [ { "name": "Status", + "is_bitfield": false, "values": [ { "name": "STATUS_NONE", @@ -203627,6 +203818,7 @@ "enums": [ { "name": "AxisStretchMode", + "is_bitfield": false, "values": [ { "name": "AXIS_STRETCH_MODE_STRETCH", @@ -204024,6 +204216,7 @@ "enums": [ { "name": "ClearMode", + "is_bitfield": false, "values": [ { "name": "CLEAR_MODE_ALWAYS", @@ -204041,6 +204234,7 @@ }, { "name": "UpdateMode", + "is_bitfield": false, "values": [ { "name": "UPDATE_DISABLED", @@ -204316,6 +204510,7 @@ "enums": [ { "name": "CustomFormat", + "is_bitfield": false, "values": [ { "name": "CUSTOM_RGBA8_UNORM", @@ -204357,6 +204552,7 @@ }, { "name": "SkinWeightCount", + "is_bitfield": false, "values": [ { "name": "SKIN_4_WEIGHTS", @@ -205041,6 +205237,7 @@ "enums": [ { "name": "AlignmentMode", + "is_bitfield": false, "values": [ { "name": "ALIGNMENT_LEFT", @@ -205062,6 +205259,7 @@ }, { "name": "CloseButtonDisplayPolicy", + "is_bitfield": false, "values": [ { "name": "CLOSE_BUTTON_SHOW_NEVER", @@ -205223,68 +205421,6 @@ } ] }, - { - "name": "set_tab_opentype_feature", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3794041973, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "tag", - "type": "String" - }, - { - "name": "values", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_tab_opentype_feature", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 46870362, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "tag", - "type": "String" - } - ] - }, - { - "name": "clear_tab_opentype_features", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, { "name": "set_tab_language", "is_const": false, @@ -206594,6 +206730,7 @@ "enums": [ { "name": "MenuItems", + "is_bitfield": false, "values": [ { "name": "MENU_CUT", @@ -206715,6 +206852,7 @@ }, { "name": "SearchFlags", + "is_bitfield": false, "values": [ { "name": "SEARCH_MATCH_CASE", @@ -206732,6 +206870,7 @@ }, { "name": "CaretType", + "is_bitfield": false, "values": [ { "name": "CARET_TYPE_LINE", @@ -206745,6 +206884,7 @@ }, { "name": "SelectionMode", + "is_bitfield": false, "values": [ { "name": "SELECTION_MODE_NONE", @@ -206770,6 +206910,7 @@ }, { "name": "LineWrappingMode", + "is_bitfield": false, "values": [ { "name": "LINE_WRAPPING_NONE", @@ -206783,6 +206924,7 @@ }, { "name": "GutterType", + "is_bitfield": false, "values": [ { "name": "GUTTER_TYPE_STRING", @@ -206909,51 +207051,6 @@ "type": "enum::Control.TextDirection" } }, - { - "name": "set_opentype_feature", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2956805083, - "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": 1321353865, - "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": 3218959716 - }, { "name": "set_language", "is_const": false, @@ -208498,7 +208595,7 @@ ] }, { - "name": "set_smooth_scroll_enable", + "name": "set_smooth_scroll_enabled", "is_const": false, "is_vararg": false, "is_static": false, @@ -208628,6 +208725,31 @@ "meta": "float" } }, + { + "name": "set_fit_content_height_enabled", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2586408642, + "arguments": [ + { + "name": "arg0", + "type": "bool" + } + ] + }, + { + "name": "is_fit_content_height_enabled", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 36873697, + "return_value": { + "type": "bool" + } + }, { "name": "get_scroll_pos_for_line", "is_const": true, @@ -209716,20 +209838,6 @@ "getter": "get_placeholder", "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 - }, { "type": "bool", "name": "editable", @@ -209845,7 +209953,7 @@ { "type": "bool", "name": "scroll_smooth", - "setter": "set_smooth_scroll_enable", + "setter": "set_smooth_scroll_enabled", "getter": "is_smooth_scroll_enabled", "index": -1 }, @@ -209877,6 +209985,13 @@ "getter": "get_h_scroll", "index": -1 }, + { + "type": "bool", + "name": "scroll_fit_content_height", + "setter": "set_fit_content_height_enabled", + "getter": "is_fit_content_height_enabled", + "index": -1 + }, { "type": "bool", "name": "minimap_draw", @@ -209926,6 +210041,20 @@ "getter": "is_caret_mid_grapheme_enabled", "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 + }, { "type": "int", "name": "structured_text_bidi_override", @@ -210077,7 +210206,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3562256914, + "hash": 1100017824, "return_value": { "type": "bool" }, @@ -210087,19 +210216,14 @@ "type": "String" }, { - "name": "fonts", + "name": "font", "type": "Font" }, { - "name": "size", + "name": "font_size", "type": "int", "meta": "int32" }, - { - "name": "opentype_features", - "type": "Dictionary", - "default_value": "{}" - }, { "name": "language", "type": "String", @@ -210242,12 +210366,11 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1286410249, + "hash": 2877345813, "arguments": [ { "name": "flags", - "type": "int", - "meta": "uint16" + "type": "bitfield::TextServer.JustificationFlag" } ] }, @@ -210257,10 +210380,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3905245786, + "hash": 1583363614, "return_value": { - "type": "int", - "meta": "uint16" + "type": "bitfield::TextServer.JustificationFlag" } }, { @@ -210771,51 +210893,6 @@ "type": "enum::TextServer.Direction" } }, - { - "name": "set_opentype_feature", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2956805083, - "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": 1321353865, - "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": 3218959716 - }, { "name": "set_language", "is_const": false, @@ -210953,20 +211030,6 @@ "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", @@ -211008,6 +211071,20 @@ "setter": "set_language", "getter": "get_language", "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 } ] }, @@ -211171,7 +211248,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3986975879, + "hash": 1273629852, "return_value": { "type": "bool" }, @@ -211181,11 +211258,11 @@ "type": "String" }, { - "name": "fonts", + "name": "font", "type": "Font" }, { - "name": "size", + "name": "font_size", "type": "int", "meta": "int32" }, @@ -211194,11 +211271,6 @@ "type": "Rect2", "default_value": "Rect2(0, 0, 0, 0)" }, - { - "name": "opentype_features", - "type": "Dictionary", - "default_value": "{}" - }, { "name": "language", "type": "String", @@ -211220,7 +211292,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3562256914, + "hash": 1100017824, "return_value": { "type": "bool" }, @@ -211230,19 +211302,14 @@ "type": "String" }, { - "name": "fonts", + "name": "font", "type": "Font" }, { - "name": "size", + "name": "font_size", "type": "int", "meta": "int32" }, - { - "name": "opentype_features", - "type": "Dictionary", - "default_value": "{}" - }, { "name": "language", "type": "String", @@ -211353,30 +211420,53 @@ ] }, { - "name": "set_flags", + "name": "set_break_flags", "is_const": false, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1286410249, + "hash": 2809697122, "arguments": [ { "name": "flags", - "type": "int", - "meta": "uint16" + "type": "bitfield::TextServer.LineBreakFlag" } ] }, { - "name": "get_flags", + "name": "get_break_flags", "is_const": true, "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3905245786, + "hash": 2340632602, "return_value": { - "type": "int", - "meta": "uint16" + "type": "bitfield::TextServer.LineBreakFlag" + } + }, + { + "name": "set_justification_flags", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2877345813, + "arguments": [ + { + "name": "flags", + "type": "bitfield::TextServer.JustificationFlag" + } + ] + }, + { + "name": "get_justification_flags", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 1583363614, + "return_value": { + "type": "bitfield::TextServer.JustificationFlag" } }, { @@ -211703,30 +211793,6 @@ } ] }, - { - "name": "get_spacing_top", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_spacing_bottom", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, { "name": "get_dropcap_size", "is_const": true, @@ -211990,9 +212056,16 @@ }, { "type": "int", - "name": "flags", - "setter": "set_flags", - "getter": "get_flags", + "name": "break_flags", + "setter": "set_break_flags", + "getter": "get_break_flags", + "index": -1 + }, + { + "type": "int", + "name": "justification_flags", + "setter": "set_justification_flags", + "getter": "get_justification_flags", "index": -1 }, { @@ -212027,6 +212100,7 @@ "enums": [ { "name": "Direction", + "is_bitfield": false, "values": [ { "name": "DIRECTION_AUTO", @@ -212044,6 +212118,7 @@ }, { "name": "Orientation", + "is_bitfield": false, "values": [ { "name": "ORIENTATION_HORIZONTAL", @@ -212057,6 +212132,7 @@ }, { "name": "JustificationFlag", + "is_bitfield": true, "values": [ { "name": "JUSTIFICATION_NONE", @@ -212086,6 +212162,7 @@ }, { "name": "AutowrapMode", + "is_bitfield": false, "values": [ { "name": "AUTOWRAP_OFF", @@ -212107,6 +212184,7 @@ }, { "name": "LineBreakFlag", + "is_bitfield": true, "values": [ { "name": "BREAK_NONE", @@ -212114,24 +212192,25 @@ }, { "name": "BREAK_MANDATORY", - "value": 32 + "value": 1 }, { "name": "BREAK_WORD_BOUND", - "value": 64 + "value": 2 }, { "name": "BREAK_GRAPHEME_BOUND", - "value": 128 + "value": 4 }, { - "name": "BREAK_WORD_BOUND_ADAPTIVE", - "value": 320 + "name": "BREAK_ADAPTIVE", + "value": 8 } ] }, { "name": "VisibleCharactersBehavior", + "is_bitfield": false, "values": [ { "name": "VC_CHARS_BEFORE_SHAPING", @@ -212157,6 +212236,7 @@ }, { "name": "OverrunBehavior", + "is_bitfield": false, "values": [ { "name": "OVERRUN_NO_TRIMMING", @@ -212182,6 +212262,7 @@ }, { "name": "TextOverrunFlag", + "is_bitfield": true, "values": [ { "name": "OVERRUN_NO_TRIM", @@ -212211,6 +212292,7 @@ }, { "name": "GraphemeFlag", + "is_bitfield": true, "values": [ { "name": "GRAPHEME_IS_VALID", @@ -212260,6 +212342,7 @@ }, { "name": "Hinting", + "is_bitfield": false, "values": [ { "name": "HINTING_NONE", @@ -212277,6 +212360,7 @@ }, { "name": "SubpixelPositioning", + "is_bitfield": false, "values": [ { "name": "SUBPIXEL_POSITIONING_DISABLED", @@ -212306,6 +212390,7 @@ }, { "name": "Feature", + "is_bitfield": false, "values": [ { "name": "FEATURE_SIMPLE_LAYOUT", @@ -212363,6 +212448,7 @@ }, { "name": "ContourPointTag", + "is_bitfield": false, "values": [ { "name": "CONTOUR_CURVE_TAG_ON", @@ -212380,6 +212466,7 @@ }, { "name": "SpacingType", + "is_bitfield": false, "values": [ { "name": "SPACING_GLYPH", @@ -212396,11 +212483,16 @@ { "name": "SPACING_BOTTOM", "value": 3 + }, + { + "name": "SPACING_MAX", + "value": 4 } ] }, { "name": "FontStyle", + "is_bitfield": true, "values": [ { "name": "FONT_BOLD", @@ -212418,6 +212510,7 @@ }, { "name": "StructuredTextParser", + "is_bitfield": false, "values": [ { "name": "STRUCTURED_TEXT_DEFAULT", @@ -212721,7 +212814,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2347056579, + "hash": 126051074, "arguments": [ { "name": "font_rid", @@ -212729,8 +212822,7 @@ }, { "name": "style", - "type": "int", - "meta": "int64" + "type": "bitfield::TextServer.FontStyle" } ] }, @@ -212740,10 +212832,9 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 2246043824, + "hash": 3185464023, "return_value": { - "type": "int", - "meta": "int64" + "type": "bitfield::TextServer.FontStyle" }, "arguments": [ { @@ -213571,61 +213662,6 @@ } ] }, - { - "name": "font_set_spacing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2799965642, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "spacing", - "type": "enum::TextServer.SpacingType" - }, - { - "name": "value", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_get_spacing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2791391988, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "spacing", - "type": "enum::TextServer.SpacingType" - } - ] - }, { "name": "font_get_texture_count", "is_const": true, @@ -215122,6 +215158,51 @@ } ] }, + { + "name": "shaped_text_set_spacing", + "is_const": false, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 3577600853, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "spacing", + "type": "enum::TextServer.SpacingType" + }, + { + "name": "value", + "type": "int", + "meta": "int64" + } + ] + }, + { + "name": "shaped_text_get_spacing", + "is_const": true, + "is_vararg": false, + "is_static": false, + "is_virtual": false, + "hash": 2347108664, + "return_value": { + "type": "int", + "meta": "int64" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "spacing", + "type": "enum::TextServer.SpacingType" + } + ] + }, { "name": "shaped_text_add_string", "is_const": false, @@ -215356,7 +215437,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1504114224, + "hash": 1188226230, "return_value": { "type": "float", "meta": "double" @@ -215373,8 +215454,7 @@ }, { "name": "jst_flags", - "type": "int", - "meta": "int64", + "type": "bitfield::TextServer.JustificationFlag", "default_value": "3" } ] @@ -215510,7 +215590,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 1314516185, + "hash": 1598254745, "return_value": { "type": "PackedInt32Array" }, @@ -215536,9 +215616,8 @@ }, { "name": "break_flags", - "type": "int", - "meta": "int64", - "default_value": "96" + "type": "bitfield::TextServer.LineBreakFlag", + "default_value": "3" } ] }, @@ -215548,7 +215627,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3684626562, + "hash": 3097078424, "return_value": { "type": "PackedInt32Array" }, @@ -215570,9 +215649,8 @@ }, { "name": "break_flags", - "type": "int", - "meta": "int64", - "default_value": "96" + "type": "bitfield::TextServer.LineBreakFlag", + "default_value": "3" } ] }, @@ -215582,7 +215660,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 398697570, + "hash": 1186377815, "return_value": { "type": "PackedInt32Array" }, @@ -215593,8 +215671,7 @@ }, { "name": "grapheme_flags", - "type": "int", - "meta": "int64", + "type": "bitfield::TextServer.GraphemeFlag", "default_value": "264" } ] @@ -215676,7 +215753,7 @@ "is_vararg": false, "is_static": false, "is_virtual": false, - "hash": 3993833698, + "hash": 1610150659, "arguments": [ { "name": "shaped", @@ -215690,8 +215767,7 @@ }, { "name": "overrun_trim_flags", - "type": "int", - "meta": "int64", + "type": "bitfield::TextServer.TextOverrunFlag", "default_value": "0" } ] @@ -216583,7 +216659,7 @@ }, { "name": "style", - "type": "int" + "type": "bitfield::TextServer.FontStyle" } ] }, @@ -216594,7 +216670,7 @@ "is_vararg": false, "is_virtual": true, "return_value": { - "type": "int" + "type": "bitfield::TextServer.FontStyle" }, "arguments": [ { @@ -217349,55 +217425,6 @@ } ] }, - { - "name": "font_set_spacing", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "spacing", - "type": "enum::TextServer.SpacingType" - }, - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "font_get_spacing", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int" - }, - { - "name": "spacing", - "type": "enum::TextServer.SpacingType" - } - ] - }, { "name": "font_get_texture_count", "is_const": true, @@ -218772,6 +218799,47 @@ } ] }, + { + "name": "shaped_text_set_spacing", + "is_const": false, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "spacing", + "type": "enum::TextServer.SpacingType" + }, + { + "name": "value", + "type": "int" + } + ] + }, + { + "name": "shaped_text_get_spacing", + "is_const": true, + "is_static": false, + "is_vararg": false, + "is_virtual": true, + "return_value": { + "type": "int" + }, + "arguments": [ + { + "name": "shaped", + "type": "RID" + }, + { + "name": "spacing", + "type": "enum::TextServer.SpacingType" + } + ] + }, { "name": "shaped_text_add_string", "is_const": false, @@ -218997,7 +219065,7 @@ }, { "name": "jst_flags", - "type": "int" + "type": "bitfield::TextServer.JustificationFlag" } ] }, @@ -219177,7 +219245,7 @@ }, { "name": "break_flags", - "type": "int" + "type": "bitfield::TextServer.LineBreakFlag" } ] }, @@ -219205,7 +219273,7 @@ }, { "name": "break_flags", - "type": "int" + "type": "bitfield::TextServer.LineBreakFlag" } ] }, @@ -219225,7 +219293,7 @@ }, { "name": "grapheme_flags", - "type": "int" + "type": "bitfield::TextServer.GraphemeFlag" } ] }, @@ -219310,7 +219378,7 @@ }, { "name": "trim_flags", - "type": "int" + "type": "bitfield::TextServer.TextOverrunFlag" } ] }, @@ -219843,6 +219911,13 @@ } ] }, + { + "name": "TextServerFallback", + "is_refcounted": true, + "is_instantiable": true, + "inherits": "TextServerExtension", + "api_type": "core" + }, { "name": "TextServerManager", "is_refcounted": false, @@ -220444,6 +220519,7 @@ "enums": [ { "name": "StretchMode", + "is_bitfield": false, "values": [ { "name": "STRETCH_SCALE", @@ -220810,6 +220886,7 @@ "enums": [ { "name": "LayeredType", + "is_bitfield": false, "values": [ { "name": "LAYERED_TYPE_2D_ARRAY", @@ -221001,6 +221078,7 @@ "enums": [ { "name": "FillMode", + "is_bitfield": false, "values": [ { "name": "FILL_LEFT_TO_RIGHT", @@ -221510,6 +221588,7 @@ "enums": [ { "name": "StretchMode", + "is_bitfield": false, "values": [ { "name": "STRETCH_SCALE", @@ -221716,6 +221795,7 @@ "enums": [ { "name": "DataType", + "is_bitfield": false, "values": [ { "name": "DATA_TYPE_COLOR", @@ -223001,6 +223081,7 @@ "enums": [ { "name": "Priority", + "is_bitfield": false, "values": [ { "name": "PRIORITY_LOW", @@ -223949,6 +224030,7 @@ "enums": [ { "name": "VisibilityMode", + "is_bitfield": false, "values": [ { "name": "VISIBILITY_MODE_DEFAULT", @@ -225095,6 +225177,7 @@ "enums": [ { "name": "TileShape", + "is_bitfield": false, "values": [ { "name": "TILE_SHAPE_SQUARE", @@ -225116,6 +225199,7 @@ }, { "name": "TileLayout", + "is_bitfield": false, "values": [ { "name": "TILE_LAYOUT_STACKED", @@ -225145,6 +225229,7 @@ }, { "name": "TileOffsetAxis", + "is_bitfield": false, "values": [ { "name": "TILE_OFFSET_AXIS_HORIZONTAL", @@ -225158,6 +225243,7 @@ }, { "name": "CellNeighbor", + "is_bitfield": false, "values": [ { "name": "CELL_NEIGHBOR_RIGHT_SIDE", @@ -225227,6 +225313,7 @@ }, { "name": "TerrainMode", + "is_bitfield": false, "values": [ { "name": "TERRAIN_MODE_MATCH_CORNERS_AND_SIDES", @@ -227781,6 +227868,7 @@ "enums": [ { "name": "Month", + "is_bitfield": false, "values": [ { "name": "MONTH_JANUARY", @@ -227834,6 +227922,7 @@ }, { "name": "Weekday", + "is_bitfield": false, "values": [ { "name": "WEEKDAY_SUNDAY", @@ -228247,6 +228336,7 @@ "enums": [ { "name": "TimerProcessCallback", + "is_bitfield": false, "values": [ { "name": "TIMER_PROCESS_PHYSICS", @@ -228494,6 +228584,7 @@ "enums": [ { "name": "VisibilityMode", + "is_bitfield": false, "values": [ { "name": "VISIBILITY_ALWAYS", @@ -229427,6 +229518,7 @@ "enums": [ { "name": "SelectMode", + "is_bitfield": false, "values": [ { "name": "SELECT_SINGLE", @@ -229444,6 +229536,7 @@ }, { "name": "DropModeFlags", + "is_bitfield": false, "values": [ { "name": "DROP_MODE_DISABLED", @@ -230037,68 +230130,6 @@ } ] }, - { - "name": "set_column_title_opentype_feature", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3794041973, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "tag", - "type": "String" - }, - { - "name": "value", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_column_title_opentype_feature", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 46870362, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "tag", - "type": "String" - } - ] - }, - { - "name": "clear_column_title_opentype_features", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, { "name": "set_column_title_language", "is_const": false, @@ -230537,6 +230568,7 @@ "enums": [ { "name": "TreeCellMode", + "is_bitfield": false, "values": [ { "name": "CELL_MODE_STRING", @@ -230767,68 +230799,6 @@ } ] }, - { - "name": "set_opentype_feature", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3794041973, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "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": 46870362, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "tag", - "type": "String" - } - ] - }, - { - "name": "clear_opentype_features", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, { "name": "set_structured_text_bidi_override", "is_const": false, @@ -232563,6 +232533,7 @@ "enums": [ { "name": "TweenProcessMode", + "is_bitfield": false, "values": [ { "name": "TWEEN_PROCESS_PHYSICS", @@ -232576,6 +232547,7 @@ }, { "name": "TweenPauseMode", + "is_bitfield": false, "values": [ { "name": "TWEEN_PAUSE_BOUND", @@ -232593,6 +232565,7 @@ }, { "name": "TransitionType", + "is_bitfield": false, "values": [ { "name": "TRANS_LINEAR", @@ -232642,6 +232615,7 @@ }, { "name": "EaseType", + "is_bitfield": false, "values": [ { "name": "EASE_IN", @@ -233221,6 +233195,7 @@ "enums": [ { "name": "UPNPResult", + "is_bitfield": false, "values": [ { "name": "UPNP_RESULT_SUCCESS", @@ -233657,6 +233632,7 @@ "enums": [ { "name": "IGDStatus", + "is_bitfield": false, "values": [ { "name": "IGD_STATUS_OK", @@ -233994,6 +233970,7 @@ "enums": [ { "name": "MergeMode", + "is_bitfield": false, "values": [ { "name": "MERGE_DISABLE", @@ -235538,6 +235515,7 @@ "enums": [ { "name": "ShadowAtlasQuadrantSubdiv", + "is_bitfield": false, "values": [ { "name": "SHADOW_ATLAS_QUADRANT_SUBDIV_DISABLED", @@ -235575,6 +235553,7 @@ }, { "name": "Scaling3DMode", + "is_bitfield": false, "values": [ { "name": "SCALING_3D_MODE_BILINEAR", @@ -235592,6 +235571,7 @@ }, { "name": "MSAA", + "is_bitfield": false, "values": [ { "name": "MSAA_DISABLED", @@ -235617,6 +235597,7 @@ }, { "name": "ScreenSpaceAA", + "is_bitfield": false, "values": [ { "name": "SCREEN_SPACE_AA_DISABLED", @@ -235634,6 +235615,7 @@ }, { "name": "RenderInfo", + "is_bitfield": false, "values": [ { "name": "RENDER_INFO_OBJECTS_IN_FRAME", @@ -235655,6 +235637,7 @@ }, { "name": "RenderInfoType", + "is_bitfield": false, "values": [ { "name": "RENDER_INFO_TYPE_VISIBLE", @@ -235672,6 +235655,7 @@ }, { "name": "DebugDraw", + "is_bitfield": false, "values": [ { "name": "DEBUG_DRAW_DISABLED", @@ -235781,6 +235765,7 @@ }, { "name": "DefaultCanvasItemTextureFilter", + "is_bitfield": false, "values": [ { "name": "DEFAULT_CANVAS_ITEM_TEXTURE_FILTER_NEAREST", @@ -235806,6 +235791,7 @@ }, { "name": "DefaultCanvasItemTextureRepeat", + "is_bitfield": false, "values": [ { "name": "DEFAULT_CANVAS_ITEM_TEXTURE_REPEAT_DISABLED", @@ -235827,6 +235813,7 @@ }, { "name": "SDFOversize", + "is_bitfield": false, "values": [ { "name": "SDF_OVERSIZE_100_PERCENT", @@ -235852,6 +235839,7 @@ }, { "name": "SDFScale", + "is_bitfield": false, "values": [ { "name": "SDF_SCALE_100_PERCENT", @@ -237364,6 +237352,7 @@ "enums": [ { "name": "EnableMode", + "is_bitfield": false, "values": [ { "name": "ENABLE_MODE_INHERIT", @@ -237458,6 +237447,7 @@ "enums": [ { "name": "EnableMode", + "is_bitfield": false, "values": [ { "name": "ENABLE_MODE_INHERIT", @@ -238747,6 +238737,7 @@ "enums": [ { "name": "BuiltinFunc", + "is_bitfield": false, "values": [ { "name": "MATH_SIN", @@ -239441,6 +239432,7 @@ "enums": [ { "name": "StartMode", + "is_bitfield": false, "values": [ { "name": "START_MODE_BEGIN_SEQUENCE", @@ -239925,6 +239917,7 @@ "enums": [ { "name": "CallMode", + "is_bitfield": false, "values": [ { "name": "CALL_MODE_SELF", @@ -239950,6 +239943,7 @@ }, { "name": "RPCCallMode", + "is_bitfield": false, "values": [ { "name": "RPC_DISABLED", @@ -240436,6 +240430,7 @@ "enums": [ { "name": "Mode", + "is_bitfield": false, "values": [ { "name": "MODE_PRESSED", @@ -240852,6 +240847,7 @@ "enums": [ { "name": "MathConstant", + "is_bitfield": false, "values": [ { "name": "MATH_CONSTANT_ONE", @@ -241126,6 +241122,7 @@ "enums": [ { "name": "CallMode", + "is_bitfield": false, "values": [ { "name": "CALL_MODE_SELF", @@ -241391,6 +241388,7 @@ "enums": [ { "name": "CallMode", + "is_bitfield": false, "values": [ { "name": "CALL_MODE_SELF", @@ -241412,6 +241410,7 @@ }, { "name": "AssignOp", + "is_bitfield": false, "values": [ { "name": "ASSIGN_OP_NONE", @@ -242182,6 +242181,7 @@ "enums": [ { "name": "YieldMode", + "is_bitfield": false, "values": [ { "name": "YIELD_FRAME", @@ -242278,6 +242278,7 @@ "enums": [ { "name": "CallMode", + "is_bitfield": false, "values": [ { "name": "CALL_MODE_SELF", @@ -242446,6 +242447,7 @@ "enums": [ { "name": "Type", + "is_bitfield": false, "values": [ { "name": "TYPE_VERTEX", @@ -242495,6 +242497,7 @@ }, { "name": "VaryingMode", + "is_bitfield": false, "values": [ { "name": "VARYING_MODE_VERTEX_TO_FRAG_LIGHT", @@ -242512,6 +242515,7 @@ }, { "name": "VaryingType", + "is_bitfield": false, "values": [ { "name": "VARYING_TYPE_FLOAT", @@ -243024,6 +243028,7 @@ "enums": [ { "name": "PortType", + "is_bitfield": false, "values": [ { "name": "PORT_TYPE_SCALAR", @@ -243221,6 +243226,7 @@ "enums": [ { "name": "BillboardType", + "is_bitfield": false, "values": [ { "name": "BILLBOARD_TYPE_DISABLED", @@ -243441,6 +243447,7 @@ "enums": [ { "name": "OpType", + "is_bitfield": false, "values": [ { "name": "OP_TYPE_FLOAT", @@ -243558,6 +243565,7 @@ "enums": [ { "name": "Function", + "is_bitfield": false, "values": [ { "name": "FUNC_GRAYSCALE", @@ -243628,6 +243636,7 @@ "enums": [ { "name": "Operator", + "is_bitfield": false, "values": [ { "name": "OP_SCREEN", @@ -243868,6 +243877,7 @@ "enums": [ { "name": "ComparisonType", + "is_bitfield": false, "values": [ { "name": "CTYPE_SCALAR", @@ -243905,6 +243915,7 @@ }, { "name": "Function", + "is_bitfield": false, "values": [ { "name": "FUNC_EQUAL", @@ -243938,6 +243949,7 @@ }, { "name": "Condition", + "is_bitfield": false, "values": [ { "name": "COND_ALL", @@ -244071,6 +244083,7 @@ "enums": [ { "name": "Source", + "is_bitfield": false, "values": [ { "name": "SOURCE_TEXTURE", @@ -244088,6 +244101,7 @@ }, { "name": "TextureType", + "is_bitfield": false, "values": [ { "name": "TYPE_DATA", @@ -244547,6 +244561,7 @@ "enums": [ { "name": "OpType", + "is_bitfield": false, "values": [ { "name": "OP_TYPE_SCALAR", @@ -244572,6 +244587,7 @@ }, { "name": "Function", + "is_bitfield": false, "values": [ { "name": "FUNC_SUM", @@ -244779,6 +244795,7 @@ "enums": [ { "name": "Function", + "is_bitfield": false, "values": [ { "name": "FUNC_SIN", @@ -244961,6 +244978,7 @@ "enums": [ { "name": "Operator", + "is_bitfield": false, "values": [ { "name": "OP_ADD", @@ -245055,6 +245073,7 @@ "enums": [ { "name": "Hint", + "is_bitfield": false, "values": [ { "name": "HINT_NONE", @@ -245746,6 +245765,7 @@ "enums": [ { "name": "Function", + "is_bitfield": false, "values": [ { "name": "FUNC_ABS", @@ -245816,6 +245836,7 @@ "enums": [ { "name": "Operator", + "is_bitfield": false, "values": [ { "name": "OP_ADD", @@ -245918,6 +245939,7 @@ "enums": [ { "name": "Hint", + "is_bitfield": false, "values": [ { "name": "HINT_NONE", @@ -246152,6 +246174,7 @@ "enums": [ { "name": "Function", + "is_bitfield": false, "values": [ { "name": "FUNC_IS_INF", @@ -246214,6 +246237,7 @@ "enums": [ { "name": "OpType", + "is_bitfield": false, "values": [ { "name": "OP_TYPE_SCALAR", @@ -246296,6 +246320,7 @@ "enums": [ { "name": "OpType", + "is_bitfield": false, "values": [ { "name": "OP_TYPE_SCALAR", @@ -246380,6 +246405,7 @@ "enums": [ { "name": "Mode", + "is_bitfield": false, "values": [ { "name": "MODE_LINEAR", @@ -246460,6 +246486,7 @@ "enums": [ { "name": "EmitFlags", + "is_bitfield": false, "values": [ { "name": "EMIT_FLAG_POSITION", @@ -246732,6 +246759,7 @@ "enums": [ { "name": "OpType", + "is_bitfield": false, "values": [ { "name": "OP_TYPE_SCALAR", @@ -246869,6 +246897,7 @@ "enums": [ { "name": "Source", + "is_bitfield": false, "values": [ { "name": "SOURCE_TEXTURE", @@ -246938,6 +246967,7 @@ "enums": [ { "name": "OpType", + "is_bitfield": false, "values": [ { "name": "OP_TYPE_SCALAR", @@ -247020,6 +247050,7 @@ "enums": [ { "name": "OpType", + "is_bitfield": false, "values": [ { "name": "OP_TYPE_SCALAR", @@ -247102,6 +247133,7 @@ "enums": [ { "name": "OpType", + "is_bitfield": false, "values": [ { "name": "OP_TYPE_FLOAT", @@ -247184,6 +247216,7 @@ "enums": [ { "name": "Source", + "is_bitfield": false, "values": [ { "name": "SOURCE_TEXTURE", @@ -247217,6 +247250,7 @@ }, { "name": "TextureType", + "is_bitfield": false, "values": [ { "name": "TYPE_DATA", @@ -247461,6 +247495,7 @@ "enums": [ { "name": "TextureType", + "is_bitfield": false, "values": [ { "name": "TYPE_DATA", @@ -247486,6 +247521,7 @@ }, { "name": "ColorDefault", + "is_bitfield": false, "values": [ { "name": "COLOR_DEFAULT_WHITE", @@ -247503,6 +247539,7 @@ }, { "name": "TextureFilter", + "is_bitfield": false, "values": [ { "name": "FILTER_DEFAULT", @@ -247540,6 +247577,7 @@ }, { "name": "TextureRepeat", + "is_bitfield": false, "values": [ { "name": "REPEAT_DEFAULT", @@ -247766,6 +247804,7 @@ "enums": [ { "name": "Function", + "is_bitfield": false, "values": [ { "name": "FUNC_INVERSE", @@ -247828,6 +247867,7 @@ "enums": [ { "name": "Operator", + "is_bitfield": false, "values": [ { "name": "OP_AxB", @@ -247993,6 +248033,7 @@ "enums": [ { "name": "Operator", + "is_bitfield": false, "values": [ { "name": "OP_AxB", @@ -248063,6 +248104,7 @@ "enums": [ { "name": "Function", + "is_bitfield": false, "values": [ { "name": "FUNC_PANNING", @@ -248125,6 +248167,7 @@ "enums": [ { "name": "Qualifier", + "is_bitfield": false, "values": [ { "name": "QUAL_NONE", @@ -248716,6 +248759,7 @@ "enums": [ { "name": "OpType", + "is_bitfield": false, "values": [ { "name": "OP_TYPE_VECTOR_2D", @@ -248803,6 +248847,7 @@ "enums": [ { "name": "Function", + "is_bitfield": false, "values": [ { "name": "FUNC_NORMALIZE", @@ -248996,6 +249041,7 @@ "enums": [ { "name": "Operator", + "is_bitfield": false, "values": [ { "name": "OP_ADD", @@ -249105,6 +249151,7 @@ "enums": [ { "name": "Subdiv", + "is_bitfield": false, "values": [ { "name": "SUBDIV_64", @@ -249636,6 +249683,7 @@ "enums": [ { "name": "WriteMode", + "is_bitfield": false, "values": [ { "name": "WRITE_MODE_TEXT", @@ -249649,6 +249697,7 @@ }, { "name": "ChannelState", + "is_bitfield": false, "values": [ { "name": "STATE_CONNECTING", @@ -250192,6 +250241,7 @@ "enums": [ { "name": "ConnectionState", + "is_bitfield": false, "values": [ { "name": "STATE_NEW", @@ -250843,6 +250893,7 @@ "enums": [ { "name": "WriteMode", + "is_bitfield": false, "values": [ { "name": "WRITE_MODE_TEXT", @@ -251679,6 +251730,7 @@ "enums": [ { "name": "Mode", + "is_bitfield": false, "values": [ { "name": "MODE_WINDOWED", @@ -251704,6 +251756,7 @@ }, { "name": "Flags", + "is_bitfield": false, "values": [ { "name": "FLAG_RESIZE_DISABLED", @@ -251737,6 +251790,7 @@ }, { "name": "ContentScaleMode", + "is_bitfield": false, "values": [ { "name": "CONTENT_SCALE_MODE_DISABLED", @@ -251754,6 +251808,7 @@ }, { "name": "ContentScaleAspect", + "is_bitfield": false, "values": [ { "name": "CONTENT_SCALE_ASPECT_IGNORE", @@ -251779,6 +251834,7 @@ }, { "name": "LayoutDirection", + "is_bitfield": false, "values": [ { "name": "LAYOUT_DIRECTION_INHERITED", @@ -253610,6 +253666,7 @@ "enums": [ { "name": "NodeType", + "is_bitfield": false, "values": [ { "name": "NODE_NONE", @@ -254048,6 +254105,7 @@ "enums": [ { "name": "Capabilities", + "is_bitfield": false, "values": [ { "name": "XR_NONE", @@ -254081,6 +254139,7 @@ }, { "name": "TrackingStatus", + "is_bitfield": false, "values": [ { "name": "XR_NORMAL_TRACKING", @@ -254106,6 +254165,7 @@ }, { "name": "PlayAreaMode", + "is_bitfield": false, "values": [ { "name": "XR_PLAY_AREA_UNKNOWN", @@ -255037,6 +255097,7 @@ "enums": [ { "name": "TrackingConfidence", + "is_bitfield": false, "values": [ { "name": "XR_TRACKING_CONFIDENCE_NONE", @@ -255270,6 +255331,7 @@ "enums": [ { "name": "TrackerHand", + "is_bitfield": false, "values": [ { "name": "TRACKER_HAND_UNKNOWN", @@ -255637,6 +255699,7 @@ "enums": [ { "name": "TrackerType", + "is_bitfield": false, "values": [ { "name": "TRACKER_HEAD", @@ -255670,6 +255733,7 @@ }, { "name": "RotationMode", + "is_bitfield": false, "values": [ { "name": "RESET_FULL_ROTATION", diff --git a/godot-headers/godot/gdnative_interface.h b/godot-headers/godot/gdnative_interface.h index ccd6fb0f..7831c8c1 100644 --- a/godot-headers/godot/gdnative_interface.h +++ b/godot-headers/godot/gdnative_interface.h @@ -540,7 +540,7 @@ typedef struct { void (*classdb_register_extension_class)(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name, const char *p_parent_class_name, const GDNativeExtensionClassCreationInfo *p_extension_funcs); void (*classdb_register_extension_class_method)(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name, const GDNativeExtensionClassMethodInfo *p_method_info); - void (*classdb_register_extension_class_integer_constant)(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name, const char *p_enum_name, const char *p_constant_name, GDNativeInt p_constant_value); + void (*classdb_register_extension_class_integer_constant)(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name, const char *p_enum_name, const char *p_constant_name, GDNativeInt p_constant_value, bool p_is_bitfield); void (*classdb_register_extension_class_property)(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name, const GDNativePropertyInfo *p_info, const char *p_setter, const char *p_getter); void (*classdb_register_extension_class_property_group)(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name, const char *p_group_name, const char *p_prefix); void (*classdb_register_extension_class_property_subgroup)(const GDNativeExtensionClassLibraryPtr p_library, const char *p_class_name, const char *p_subgroup_name, const char *p_prefix); diff --git a/include/godot_cpp/core/binder_common.hpp b/include/godot_cpp/core/binder_common.hpp index 927132cf..93ed731f 100644 --- a/include/godot_cpp/core/binder_common.hpp +++ b/include/godot_cpp/core/binder_common.hpp @@ -62,6 +62,27 @@ namespace godot { }; \ } +#define VARIANT_BITFIELD_CAST(m_class, m_enum) \ + namespace godot { \ + MAKE_BITFIELD_TYPE_INFO(m_class, m_enum) \ + template <> \ + struct VariantCaster> { \ + static _FORCE_INLINE_ BitField cast(const Variant &p_variant) { \ + return BitField(p_variant.operator int64_t()); \ + } \ + }; \ + template <> \ + struct PtrToArg> { \ + _FORCE_INLINE_ static BitField convert(const void *p_ptr) { \ + return BitField(*reinterpret_cast(p_ptr)); \ + } \ + typedef int64_t EncodeT; \ + _FORCE_INLINE_ static void encode(BitField p_val, const void *p_ptr) { \ + *(int64_t *)p_ptr = p_val; \ + } \ + }; \ + } + template struct VariantCaster { static _FORCE_INLINE_ T cast(const Variant &p_variant) { diff --git a/include/godot_cpp/core/class_db.hpp b/include/godot_cpp/core/class_db.hpp index 71005f50..96a9bb3b 100644 --- a/include/godot_cpp/core/class_db.hpp +++ b/include/godot_cpp/core/class_db.hpp @@ -116,7 +116,7 @@ public: static void add_property_subgroup(const char *p_class, const char *p_name, const char *p_prefix); static void add_property(const char *p_class, const PropertyInfo &p_pinfo, const char *p_setter, const char *p_getter, int p_index = -1); static void add_signal(const char *p_class, const MethodInfo &p_signal); - static void bind_integer_constant(const char *p_class_name, const char *p_enum_name, const char *p_constant_name, GDNativeInt p_constant_value); + static void bind_integer_constant(const char *p_class_name, const char *p_enum_name, const char *p_constant_name, GDNativeInt p_constant_value, bool p_is_bitfield = false); static void bind_virtual_method(const char *p_class, const char *p_method, GDNativeExtensionClassCallVirtual p_call); static MethodBind *get_method(const char *p_class, const char *p_method); @@ -133,6 +133,9 @@ public: #define BIND_ENUM_CONSTANT(m_constant) \ godot::ClassDB::bind_integer_constant(get_class_static(), godot::__constant_get_enum_name(m_constant, #m_constant), #m_constant, m_constant); +#define BIND_BITFIELD_FLAG(m_constant) \ + godot::ClassDB::bind_integer_constant(get_class_static(), godot::__constant_get_bitfield_name(m_constant, #m_constant), #m_constant, m_constant, true); + #define BIND_VIRTUAL_METHOD(m_class, m_method) \ { \ auto ___call##m_method = [](GDNativeObjectPtr p_instance, const GDNativeTypePtr *p_args, GDNativeTypePtr p_ret) -> void { \ diff --git a/include/godot_cpp/core/type_info.hpp b/include/godot_cpp/core/type_info.hpp index ba847c99..b507e049 100644 --- a/include/godot_cpp/core/type_info.hpp +++ b/include/godot_cpp/core/type_info.hpp @@ -219,6 +219,53 @@ inline const char *__constant_get_enum_name(T param, const char *p_constant) { return GetTypeInfo::get_class_info().class_name; } +template +class BitField { + uint32_t value = 0; + +public: + _FORCE_INLINE_ void set_flag(T p_flag) { value |= p_flag; } + _FORCE_INLINE_ bool has_flag(T p_flag) const { return value & p_flag; } + _FORCE_INLINE_ void clear_flag(T p_flag) { return value &= ~p_flag; } + _FORCE_INLINE_ BitField(uint32_t p_value) { value = p_value; } + _FORCE_INLINE_ operator uint32_t() const { return value; } + _FORCE_INLINE_ operator Variant() const { return value; } +}; + +#define TEMPL_MAKE_BITFIELD_TYPE_INFO(m_class, m_enum, m_impl) \ + template <> \ + struct GetTypeInfo { \ + static const Variant::Type VARIANT_TYPE = Variant::INT; \ + static const GDNativeExtensionClassMethodArgumentMetadata METADATA = GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_NONE; \ + static inline GDNativePropertyInfo get_class_info() { \ + return PropertyInfo(GDNATIVE_VARIANT_TYPE_INT, "", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_CLASS_IS_BITFIELD, \ + #m_class "." #m_enum); \ + } \ + }; \ + template <> \ + struct GetTypeInfo> { \ + static const Variant::Type VARIANT_TYPE = Variant::INT; \ + static const GDNativeExtensionClassMethodArgumentMetadata METADATA = GDNATIVE_EXTENSION_METHOD_ARGUMENT_METADATA_NONE; \ + static inline GDNativePropertyInfo get_class_info() { \ + return PropertyInfo(GDNATIVE_VARIANT_TYPE_INT, "", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_CLASS_IS_BITFIELD, \ + #m_class "." #m_enum); \ + } \ + }; + +#define MAKE_BITFIELD_TYPE_INFO(m_class, m_enum) \ + TEMPL_MAKE_BITFIELD_TYPE_INFO(m_class, m_enum, m_enum) \ + TEMPL_MAKE_BITFIELD_TYPE_INFO(m_class, m_enum, m_enum const) \ + TEMPL_MAKE_BITFIELD_TYPE_INFO(m_class, m_enum, m_enum &) \ + TEMPL_MAKE_BITFIELD_TYPE_INFO(m_class, m_enum, const m_enum &) + +template +inline const char *__constant_get_bitfield_name(T param, const char *p_constant) { + if (GetTypeInfo::VARIANT_TYPE == Variant::NIL) { + ERR_PRINT(("Missing VARIANT_ENUM_CAST for constant's bitfield: " + String(p_constant)).utf8().get_data()); + } + return GetTypeInfo>::get_class_info().class_name; +} + #define CLASS_INFO(m_type) (GetTypeInfo::get_class_info()) } // namespace godot diff --git a/src/core/class_db.cpp b/src/core/class_db.cpp index 44b953a0..98cd4d03 100644 --- a/src/core/class_db.cpp +++ b/src/core/class_db.cpp @@ -249,7 +249,7 @@ void ClassDB::add_signal(const char *p_class, const MethodInfo &p_signal) { internal::gdn_interface->classdb_register_extension_class_signal(internal::library, cl.name, p_signal.name, parameters.data(), parameters.size()); } -void ClassDB::bind_integer_constant(const char *p_class_name, const char *p_enum_name, const char *p_constant_name, GDNativeInt p_constant_value) { +void ClassDB::bind_integer_constant(const char *p_class_name, const char *p_enum_name, const char *p_constant_name, GDNativeInt p_constant_value, bool p_is_bitfield) { std::unordered_map::iterator type_it = classes.find(p_class_name); ERR_FAIL_COND_MSG(type_it == classes.end(), "Class doesn't exist."); @@ -263,7 +263,7 @@ void ClassDB::bind_integer_constant(const char *p_class_name, const char *p_enum type.constant_names.insert(p_constant_name); // Register it with Godot - internal::gdn_interface->classdb_register_extension_class_integer_constant(internal::library, p_class_name, p_enum_name, p_constant_name, p_constant_value); + internal::gdn_interface->classdb_register_extension_class_integer_constant(internal::library, p_class_name, p_enum_name, p_constant_name, p_constant_value, p_is_bitfield); } GDNativeExtensionClassCallVirtual ClassDB::get_virtual_func(void *p_userdata, const char *p_name) { diff --git a/test/demo/project.godot b/test/demo/project.godot index 904beb0d..cd174d2f 100644 --- a/test/demo/project.godot +++ b/test/demo/project.godot @@ -12,8 +12,8 @@ config_version=5 config/name="GDExtension Test Project" run/main_scene="res://main.tscn" -config/icon="res://icon.png" config/features=PackedStringArray("4.0") +config/icon="res://icon.png" [native_extensions]