headers: Sync with upstream commit 0ff874291 (4.0-beta7)

pull/897/head
Rémi Verschelde 2022-12-01 18:17:11 +01:00
parent 4c5cfe3876
commit f1d501f977
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 391 additions and 258 deletions

View File

@ -3,9 +3,9 @@
"version_major": 4, "version_major": 4,
"version_minor": 0, "version_minor": 0,
"version_patch": 0, "version_patch": 0,
"version_status": "beta6", "version_status": "beta7",
"version_build": "official", "version_build": "official",
"version_full_name": "Godot Engine v4.0.beta6.official" "version_full_name": "Godot Engine v4.0.beta7.official"
}, },
"builtin_class_sizes": [ "builtin_class_sizes": [
{ {
@ -4542,6 +4542,57 @@
} }
] ]
}, },
{
"name": "snapped",
"return_type": "Variant",
"category": "math",
"is_vararg": false,
"hash": 459914704,
"arguments": [
{
"name": "x",
"type": "Variant"
},
{
"name": "step",
"type": "Variant"
}
]
},
{
"name": "snappedf",
"return_type": "float",
"category": "math",
"is_vararg": false,
"hash": 92296394,
"arguments": [
{
"name": "x",
"type": "float"
},
{
"name": "step",
"type": "float"
}
]
},
{
"name": "snappedi",
"return_type": "int",
"category": "math",
"is_vararg": false,
"hash": 3570758393,
"arguments": [
{
"name": "x",
"type": "float"
},
{
"name": "step",
"type": "int"
}
]
},
{ {
"name": "pow", "name": "pow",
"return_type": "float", "return_type": "float",
@ -4684,23 +4735,6 @@
} }
] ]
}, },
{
"name": "snapped",
"return_type": "float",
"category": "math",
"is_vararg": false,
"hash": 92296394,
"arguments": [
{
"name": "x",
"type": "float"
},
{
"name": "step",
"type": "float"
}
]
},
{ {
"name": "lerp", "name": "lerp",
"return_type": "Variant", "return_type": "Variant",
@ -4912,6 +4946,35 @@
} }
] ]
}, },
{
"name": "bezier_derivative",
"return_type": "float",
"category": "math",
"is_vararg": false,
"hash": 1090965791,
"arguments": [
{
"name": "start",
"type": "float"
},
{
"name": "control_1",
"type": "float"
},
{
"name": "control_2",
"type": "float"
},
{
"name": "end",
"type": "float"
},
{
"name": "t",
"type": "float"
}
]
},
{ {
"name": "lerp_angle", "name": "lerp_angle",
"return_type": "float", "return_type": "float",
@ -9133,6 +9196,32 @@
} }
] ]
}, },
{
"name": "bezier_derivative",
"return_type": "Vector2",
"is_vararg": false,
"is_const": true,
"is_static": false,
"hash": 193522989,
"arguments": [
{
"name": "control_1",
"type": "Vector2"
},
{
"name": "control_2",
"type": "Vector2"
},
{
"name": "end",
"type": "Vector2"
},
{
"name": "t",
"type": "float"
}
]
},
{ {
"name": "max_axis_index", "name": "max_axis_index",
"return_type": "int", "return_type": "int",
@ -9647,6 +9736,20 @@
"type": "Vector2i" "type": "Vector2i"
} }
] ]
},
{
"name": "snapped",
"return_type": "Vector2i",
"is_vararg": false,
"is_const": true,
"is_static": false,
"hash": 1735278196,
"arguments": [
{
"name": "step",
"type": "Vector2i"
}
]
} }
], ],
"constructors": [ "constructors": [
@ -10858,6 +10961,32 @@
} }
] ]
}, },
{
"name": "bezier_derivative",
"return_type": "Vector3",
"is_vararg": false,
"is_const": true,
"is_static": false,
"hash": 2597922253,
"arguments": [
{
"name": "control_1",
"type": "Vector3"
},
{
"name": "control_2",
"type": "Vector3"
},
{
"name": "end",
"type": "Vector3"
},
{
"name": "t",
"type": "float"
}
]
},
{ {
"name": "move_toward", "name": "move_toward",
"return_type": "Vector3", "return_type": "Vector3",
@ -11377,6 +11506,20 @@
"type": "Vector3i" "type": "Vector3i"
} }
] ]
},
{
"name": "snapped",
"return_type": "Vector3i",
"is_vararg": false,
"is_const": true,
"is_static": false,
"hash": 1989319750,
"arguments": [
{
"name": "step",
"type": "Vector3i"
}
]
} }
], ],
"constructors": [ "constructors": [
@ -12661,6 +12804,20 @@
"type": "Vector4i" "type": "Vector4i"
} }
] ]
},
{
"name": "snapped",
"return_type": "Vector4i",
"is_vararg": false,
"is_const": true,
"is_static": false,
"hash": 1181693102,
"arguments": [
{
"name": "step",
"type": "Vector4i"
}
]
} }
], ],
"constructors": [ "constructors": [
@ -17683,20 +17840,6 @@
} }
] ]
}, },
{
"name": "find_last",
"return_type": "int",
"is_vararg": false,
"is_const": true,
"is_static": false,
"hash": 1481661226,
"arguments": [
{
"name": "value",
"type": "Variant"
}
]
},
{ {
"name": "count", "name": "count",
"return_type": "int", "return_type": "int",
@ -25354,34 +25497,6 @@
} }
] ]
}, },
{
"name": "value_track_get_key_indices",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 139121918,
"return_value": {
"type": "PackedInt32Array"
},
"arguments": [
{
"name": "track_idx",
"type": "int",
"meta": "int32"
},
{
"name": "time_sec",
"type": "float",
"meta": "double"
},
{
"name": "delta",
"type": "float",
"meta": "double"
}
]
},
{ {
"name": "value_track_interpolate", "name": "value_track_interpolate",
"is_const": true, "is_const": true,
@ -25405,34 +25520,6 @@
} }
] ]
}, },
{
"name": "method_track_get_key_indices",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 139121918,
"return_value": {
"type": "PackedInt32Array"
},
"arguments": [
{
"name": "track_idx",
"type": "int",
"meta": "int32"
},
{
"name": "time_sec",
"type": "float",
"meta": "double"
},
{
"name": "delta",
"type": "float",
"meta": "double"
}
]
},
{ {
"name": "method_track_get_name", "name": "method_track_get_name",
"is_const": true, "is_const": true,
@ -26358,7 +26445,7 @@
"type": "bool" "type": "bool"
}, },
{ {
"name": "seek_root", "name": "is_external_seeking",
"type": "bool" "type": "bool"
} }
] ]
@ -26529,7 +26616,7 @@
"type": "bool" "type": "bool"
}, },
{ {
"name": "seek_root", "name": "is_external_seeking",
"type": "bool" "type": "bool"
}, },
{ {
@ -26575,7 +26662,7 @@
"type": "bool" "type": "bool"
}, },
{ {
"name": "seek_root", "name": "is_external_seeking",
"type": "bool" "type": "bool"
}, },
{ {
@ -26622,7 +26709,7 @@
"type": "bool" "type": "bool"
}, },
{ {
"name": "seek_root", "name": "is_external_seeking",
"type": "bool" "type": "bool"
}, },
{ {
@ -30217,14 +30304,36 @@
} }
}, },
{ {
"name": "get_root_motion_transform", "name": "get_root_motion_position",
"is_const": true, "is_const": true,
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 3229777777, "hash": 3360562783,
"return_value": { "return_value": {
"type": "Transform3D" "type": "Vector3"
}
},
{
"name": "get_root_motion_rotation",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1222331677,
"return_value": {
"type": "Quaternion"
}
},
{
"name": "get_root_motion_scale",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3360562783,
"return_value": {
"type": "Vector3"
} }
}, },
{ {
@ -53234,6 +53343,83 @@
"type": "Color" "type": "Color"
} }
}, },
{
"name": "set_z_index",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1286410249,
"arguments": [
{
"name": "z_index",
"type": "int",
"meta": "int32"
}
]
},
{
"name": "get_z_index",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3905245786,
"return_value": {
"type": "int",
"meta": "int32"
}
},
{
"name": "set_z_as_relative",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 2586408642,
"arguments": [
{
"name": "enable",
"type": "bool"
}
]
},
{
"name": "is_z_relative",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 36873697,
"return_value": {
"type": "bool"
}
},
{
"name": "set_y_sort_enabled",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 2586408642,
"arguments": [
{
"name": "enabled",
"type": "bool"
}
]
},
{
"name": "is_y_sort_enabled",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 36873697,
"return_value": {
"type": "bool"
}
},
{ {
"name": "set_draw_behind_parent", "name": "set_draw_behind_parent",
"is_const": false, "is_const": false,
@ -54738,6 +54924,27 @@
"getter": "get_visibility_layer", "getter": "get_visibility_layer",
"index": -1 "index": -1
}, },
{
"type": "int",
"name": "z_index",
"setter": "set_z_index",
"getter": "get_z_index",
"index": -1
},
{
"type": "bool",
"name": "z_as_relative",
"setter": "set_z_as_relative",
"getter": "is_z_relative",
"index": -1
},
{
"type": "bool",
"name": "y_sort_enabled",
"setter": "set_y_sort_enabled",
"getter": "is_y_sort_enabled",
"index": -1
},
{ {
"type": "int", "type": "int",
"name": "texture_filter", "name": "texture_filter",
@ -68474,6 +68681,31 @@
"default_value": "4" "default_value": "4"
} }
] ]
},
{
"name": "tessellate_even_length",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3915530683,
"return_value": {
"type": "PackedVector3Array"
},
"arguments": [
{
"name": "max_stages",
"type": "int",
"meta": "int32",
"default_value": "5"
},
{
"name": "tolerance_length",
"type": "float",
"meta": "float",
"default_value": "0.2"
}
]
} }
], ],
"properties": [ "properties": [
@ -80702,10 +80934,6 @@
{ {
"name": "options", "name": "options",
"type": "Dictionary" "type": "Dictionary"
},
{
"name": "bake_fps",
"type": "int"
} }
] ]
}, },
@ -93068,7 +93296,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 151088826, "hash": 1862991421,
"return_value": { "return_value": {
"type": "enum::Error" "type": "enum::Error"
}, },
@ -93087,12 +93315,6 @@
"meta": "uint32", "meta": "uint32",
"default_value": "0" "default_value": "0"
}, },
{
"name": "bake_fps",
"type": "int",
"meta": "int32",
"default_value": "30"
},
{ {
"name": "base_path", "name": "base_path",
"type": "String", "type": "String",
@ -93106,7 +93328,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 3407700015, "hash": 2818062664,
"return_value": { "return_value": {
"type": "enum::Error" "type": "enum::Error"
}, },
@ -93128,12 +93350,6 @@
"type": "int", "type": "int",
"meta": "uint32", "meta": "uint32",
"default_value": "0" "default_value": "0"
},
{
"name": "bake_fps",
"type": "int",
"meta": "int32",
"default_value": "30"
} }
] ]
}, },
@ -93143,7 +93359,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 2536678188, "hash": 374125375,
"return_value": { "return_value": {
"type": "enum::Error" "type": "enum::Error"
}, },
@ -93161,12 +93377,6 @@
"type": "int", "type": "int",
"meta": "uint32", "meta": "uint32",
"default_value": "0" "default_value": "0"
},
{
"name": "bake_fps",
"type": "int",
"meta": "int32",
"default_value": "30"
} }
] ]
}, },
@ -93176,7 +93386,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 1603623551, "hash": 3417515375,
"return_value": { "return_value": {
"type": "Node" "type": "Node"
}, },
@ -93187,9 +93397,14 @@
}, },
{ {
"name": "bake_fps", "name": "bake_fps",
"type": "int", "type": "float",
"meta": "int32", "meta": "float",
"default_value": "30" "default_value": "30"
},
{
"name": "trimming",
"type": "bool",
"default_value": "false"
} }
] ]
}, },
@ -93249,6 +93464,20 @@
"default_value": "false" "default_value": "false"
} }
] ]
},
{
"name": "unregister_gltf_document_extension",
"is_const": false,
"is_vararg": false,
"is_static": true,
"is_virtual": false,
"hash": 2684415758,
"arguments": [
{
"name": "extension",
"type": "GLTFDocumentExtension"
}
]
} }
] ]
}, },
@ -95353,7 +95582,7 @@
"is_virtual": false, "is_virtual": false,
"hash": 2915620761, "hash": 2915620761,
"return_value": { "return_value": {
"type": "typedarray::BaseMaterial3D" "type": "typedarray::Material"
} }
}, },
{ {
@ -95366,7 +95595,7 @@
"arguments": [ "arguments": [
{ {
"name": "materials", "name": "materials",
"type": "typedarray::BaseMaterial3D" "type": "typedarray::Material"
} }
] ]
}, },
@ -122149,9 +122378,9 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 3214262478, "hash": 4160111210,
"return_value": { "return_value": {
"type": "Shape3D" "type": "ConcavePolygonShape3D"
} }
}, },
{ {
@ -122160,9 +122389,9 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 1330343779, "hash": 2529984628,
"return_value": { "return_value": {
"type": "Shape3D" "type": "ConvexPolygonShape3D"
}, },
"arguments": [ "arguments": [
{ {
@ -133968,6 +134197,14 @@
} }
] ]
}, },
{
"name": "print_orphan_nodes",
"is_const": false,
"is_vararg": false,
"is_static": true,
"is_virtual": false,
"hash": 3218959716
},
{ {
"name": "add_sibling", "name": "add_sibling",
"is_const": false, "is_const": false,
@ -134344,7 +134581,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 2147067491, "hash": 498846349,
"return_value": { "return_value": {
"type": "NodePath" "type": "NodePath"
}, },
@ -134352,6 +134589,11 @@
{ {
"name": "node", "name": "node",
"type": "Node" "type": "Node"
},
{
"name": "use_unique_path",
"type": "bool",
"default_value": "false"
} }
] ]
}, },
@ -134796,14 +135038,6 @@
"type": "bool" "type": "bool"
} }
}, },
{
"name": "print_orphan_nodes",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3218959716
},
{ {
"name": "set_display_folded", "name": "set_display_folded",
"is_const": false, "is_const": false,
@ -135695,83 +135929,6 @@
} }
] ]
}, },
{
"name": "set_z_index",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1286410249,
"arguments": [
{
"name": "z_index",
"type": "int",
"meta": "int32"
}
]
},
{
"name": "get_z_index",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 3905245786,
"return_value": {
"type": "int",
"meta": "int32"
}
},
{
"name": "set_z_as_relative",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 2586408642,
"arguments": [
{
"name": "enable",
"type": "bool"
}
]
},
{
"name": "is_z_relative",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 36873697,
"return_value": {
"type": "bool"
}
},
{
"name": "set_y_sort_enabled",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 2586408642,
"arguments": [
{
"name": "enabled",
"type": "bool"
}
]
},
{
"name": "is_y_sort_enabled",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 36873697,
"return_value": {
"type": "bool"
}
},
{ {
"name": "get_relative_transform_to_parent", "name": "get_relative_transform_to_parent",
"is_const": true, "is_const": true,
@ -135860,27 +136017,6 @@
"setter": "set_global_transform", "setter": "set_global_transform",
"getter": "get_global_transform", "getter": "get_global_transform",
"index": -1 "index": -1
},
{
"type": "int",
"name": "z_index",
"setter": "set_z_index",
"getter": "get_z_index",
"index": -1
},
{
"type": "bool",
"name": "z_as_relative",
"setter": "set_z_as_relative",
"getter": "is_z_relative",
"index": -1
},
{
"type": "bool",
"name": "y_sort_enabled",
"setter": "set_y_sort_enabled",
"getter": "is_y_sort_enabled",
"index": -1
} }
] ]
}, },
@ -150560,7 +150696,7 @@
"arguments": [ "arguments": [
{ {
"name": "exclude", "name": "exclude",
"type": "Array" "type": "typedarray::RID"
} }
] ]
}, },
@ -150572,7 +150708,7 @@
"is_virtual": false, "is_virtual": false,
"hash": 3995934104, "hash": 3995934104,
"return_value": { "return_value": {
"type": "Array" "type": "typedarray::RID"
} }
}, },
{ {
@ -163139,7 +163275,7 @@
"arguments": [ "arguments": [
{ {
"name": "exclude", "name": "exclude",
"type": "Array" "type": "typedarray::RID"
} }
] ]
}, },
@ -163151,7 +163287,7 @@
"is_virtual": false, "is_virtual": false,
"hash": 3995934104, "hash": 3995934104,
"return_value": { "return_value": {
"type": "Array" "type": "typedarray::RID"
} }
}, },
{ {
@ -163413,7 +163549,7 @@
"is_virtual": false, "is_virtual": false,
"hash": 3995934104, "hash": 3995934104,
"return_value": { "return_value": {
"type": "Array" "type": "typedarray::int"
} }
}, },
{ {
@ -163426,7 +163562,7 @@
"arguments": [ "arguments": [
{ {
"name": "exclude_list", "name": "exclude_list",
"type": "Array" "type": "typedarray::int"
} }
] ]
}, },
@ -163652,7 +163788,7 @@
"is_virtual": false, "is_virtual": false,
"hash": 3995934104, "hash": 3995934104,
"return_value": { "return_value": {
"type": "Array" "type": "typedarray::RID"
} }
}, },
{ {
@ -163665,7 +163801,7 @@
"arguments": [ "arguments": [
{ {
"name": "exclude_list", "name": "exclude_list",
"type": "Array" "type": "typedarray::RID"
} }
] ]
}, },
@ -163677,7 +163813,7 @@
"is_virtual": false, "is_virtual": false,
"hash": 3995934104, "hash": 3995934104,
"return_value": { "return_value": {
"type": "Array" "type": "typedarray::int"
} }
}, },
{ {
@ -163690,7 +163826,7 @@
"arguments": [ "arguments": [
{ {
"name": "exclude_list", "name": "exclude_list",
"type": "Array" "type": "typedarray::int"
} }
] ]
}, },
@ -171806,12 +171942,11 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 1286410249, "hash": 245642367,
"arguments": [ "arguments": [
{ {
"name": "p_member", "name": "p_member",
"type": "int", "type": "bitfield::RenderingDevice.TextureUsageBits"
"meta": "uint32"
} }
] ]
}, },
@ -171821,10 +171956,9 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 3905245786, "hash": 1313398998,
"return_value": { "return_value": {
"type": "int", "type": "bitfield::RenderingDevice.TextureUsageBits"
"meta": "uint32"
} }
}, },
{ {
@ -176315,7 +176449,7 @@
}, },
{ {
"name": "TextureUsageBits", "name": "TextureUsageBits",
"is_bitfield": false, "is_bitfield": true,
"values": [ "values": [
{ {
"name": "TEXTURE_USAGE_SAMPLING_BIT", "name": "TEXTURE_USAGE_SAMPLING_BIT",
@ -177435,7 +177569,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 1616490902, "hash": 2592520478,
"return_value": { "return_value": {
"type": "bool" "type": "bool"
}, },
@ -177446,8 +177580,7 @@
}, },
{ {
"name": "usage_flags", "name": "usage_flags",
"type": "int", "type": "bitfield::RenderingDevice.TextureUsageBits"
"meta": "uint32"
} }
] ]
}, },
@ -190833,7 +190966,7 @@
"index": -1 "index": -1
}, },
{ {
"type": "StringName", "type": "String",
"name": "resource_name", "name": "resource_name",
"setter": "set_name", "setter": "set_name",
"getter": "get_name", "getter": "get_name",