Sync API with upstream commit 9f5c18c

9f5c18cb12
This commit is contained in:
Bastiaan Olij
2022-01-27 09:54:02 +11:00
parent 3978d90e89
commit 7306075c40

View File

@@ -28961,6 +28961,13 @@
}
],
"properties": [
{
"type": "int",
"name": "mix_mode",
"setter": "set_mix_mode",
"getter": "get_mix_mode",
"index": -1
},
{
"type": "float",
"name": "fadein_time",
@@ -43269,6 +43276,19 @@
"type": "Vector2"
}
},
{
"name": "resize",
"is_const": false,
"is_vararg": false,
"is_virtual": false,
"hash": 134188166,
"arguments": [
{
"name": "new_size",
"type": "Vector2"
}
]
},
{
"name": "grow_mask",
"is_const": false,
@@ -43287,6 +43307,16 @@
}
]
},
{
"name": "convert_to_image",
"is_const": true,
"is_vararg": false,
"is_virtual": false,
"hash": 135338183,
"return_value": {
"type": "Image"
}
},
{
"name": "opaque_to_polygons",
"is_const": true,
@@ -54167,7 +54197,7 @@
"value": 0
},
{
"name": "MOTION_MODE_FREE",
"name": "MOTION_MODE_FLOATING",
"value": 1
}
]
@@ -54467,7 +54497,7 @@
]
},
{
"name": "get_free_mode_min_slide_angle",
"name": "get_wall_min_slide_angle",
"is_const": true,
"is_vararg": false,
"is_virtual": false,
@@ -54478,7 +54508,7 @@
}
},
{
"name": "set_free_mode_min_slide_angle",
"name": "set_wall_min_slide_angle",
"is_const": false,
"is_vararg": false,
"is_virtual": false,
@@ -54775,9 +54805,9 @@
},
{
"type": "float",
"name": "free_mode_min_slide_angle",
"setter": "set_free_mode_min_slide_angle",
"getter": "get_free_mode_min_slide_angle",
"name": "wall_min_slide_angle",
"setter": "set_wall_min_slide_angle",
"getter": "get_wall_min_slide_angle",
"index": -1
},
{
@@ -54860,7 +54890,7 @@
"value": 0
},
{
"name": "MOTION_MODE_FREE",
"name": "MOTION_MODE_FLOATING",
"value": 1
}
]
@@ -78104,6 +78134,54 @@
"meta": "float"
}
},
{
"name": "set_glow_map_strength",
"is_const": false,
"is_vararg": false,
"is_virtual": false,
"hash": 134188166,
"arguments": [
{
"name": "strength",
"type": "float",
"meta": "float"
}
]
},
{
"name": "get_glow_map_strength",
"is_const": true,
"is_vararg": false,
"is_virtual": false,
"hash": 135338183,
"return_value": {
"type": "float",
"meta": "float"
}
},
{
"name": "set_glow_map",
"is_const": false,
"is_vararg": false,
"is_virtual": false,
"hash": 134188166,
"arguments": [
{
"name": "mode",
"type": "Texture"
}
]
},
{
"name": "get_glow_map",
"is_const": true,
"is_vararg": false,
"is_virtual": false,
"hash": 135338183,
"return_value": {
"type": "Texture"
}
},
{
"name": "set_fog_enabled",
"is_const": false,
@@ -79198,6 +79276,20 @@
"getter": "get_glow_hdr_luminance_cap",
"index": -1
},
{
"type": "float",
"name": "glow_map_strength",
"setter": "set_glow_map_strength",
"getter": "get_glow_map_strength",
"index": -1
},
{
"type": "Texture2D",
"name": "glow_map",
"setter": "set_glow_map",
"getter": "get_glow_map",
"index": -1
},
{
"type": "bool",
"name": "fog_enabled",
@@ -86959,6 +87051,31 @@
"inherits": "Node2D",
"api_type": "core",
"enums": [
{
"name": "EmitFlags",
"values": [
{
"name": "EMIT_FLAG_POSITION",
"value": 1
},
{
"name": "EMIT_FLAG_ROTATION_SCALE",
"value": 2
},
{
"name": "EMIT_FLAG_VELOCITY",
"value": 4
},
{
"name": "EMIT_FLAG_COLOR",
"value": 8
},
{
"name": "EMIT_FLAG_CUSTOM",
"value": 16
}
]
},
{
"name": "DrawOrder",
"values": [
@@ -87379,6 +87496,59 @@
"is_virtual": false,
"hash": 134152229
},
{
"name": "set_sub_emitter",
"is_const": false,
"is_vararg": false,
"is_virtual": false,
"hash": 134188166,
"arguments": [
{
"name": "path",
"type": "NodePath"
}
]
},
{
"name": "get_sub_emitter",
"is_const": true,
"is_vararg": false,
"is_virtual": false,
"hash": 135338183,
"return_value": {
"type": "NodePath"
}
},
{
"name": "emit_particle",
"is_const": false,
"is_vararg": false,
"is_virtual": false,
"hash": 134331914,
"arguments": [
{
"name": "xform",
"type": "Transform2D"
},
{
"name": "velocity",
"type": "Vector2"
},
{
"name": "color",
"type": "Color"
},
{
"name": "custom",
"type": "Color"
},
{
"name": "flags",
"type": "int",
"meta": "uint32"
}
]
},
{
"name": "set_trail_enabled",
"is_const": false,
@@ -87493,6 +87663,13 @@
"getter": "get_amount",
"index": -1
},
{
"type": "NodePath",
"name": "sub_emitter",
"setter": "set_sub_emitter",
"getter": "get_sub_emitter",
"index": -1
},
{
"type": "float",
"name": "lifetime",
@@ -157835,7 +158012,7 @@
"is_const": false,
"is_vararg": false,
"is_virtual": false,
"hash": 134547536,
"hash": 134619410,
"arguments": [
{
"name": "env",
@@ -157887,6 +158064,15 @@
"name": "hdr_luminance_cap",
"type": "float",
"meta": "float"
},
{
"name": "glow_map_strength",
"type": "float",
"meta": "float"
},
{
"name": "glow_map",
"type": "RID"
}
]
},
@@ -184040,6 +184226,54 @@
"meta": "int32"
}
},
{
"name": "set_placeholder",
"is_const": false,
"is_vararg": false,
"is_virtual": false,
"hash": 134188166,
"arguments": [
{
"name": "text",
"type": "String"
}
]
},
{
"name": "get_placeholder",
"is_const": true,
"is_vararg": false,
"is_virtual": false,
"hash": 135338183,
"return_value": {
"type": "String"
}
},
{
"name": "set_placeholder_alpha",
"is_const": false,
"is_vararg": false,
"is_virtual": false,
"hash": 134188166,
"arguments": [
{
"name": "alpha",
"type": "float",
"meta": "float"
}
]
},
{
"name": "get_placeholder_alpha",
"is_const": true,
"is_vararg": false,
"is_virtual": false,
"hash": 135338183,
"return_value": {
"type": "float",
"meta": "float"
}
},
{
"name": "set_line",
"is_const": false,
@@ -186317,6 +186551,20 @@
"getter": "get_text",
"index": -1
},
{
"type": "String",
"name": "placeholder_text",
"setter": "set_placeholder",
"getter": "get_placeholder",
"index": -1
},
{
"type": "float",
"name": "placeholder_alpha",
"setter": "set_placeholder_alpha",
"getter": "get_placeholder_alpha",
"index": -1
},
{
"type": "int",
"name": "text_direction",
@@ -226650,7 +226898,34 @@
]
},
{
"name": "_commit_views",
"name": "_process",
"is_const": false,
"is_vararg": false,
"is_virtual": true
},
{
"name": "_pre_render",
"is_const": false,
"is_vararg": false,
"is_virtual": true
},
{
"name": "_pre_draw_viewport",
"is_const": false,
"is_vararg": false,
"is_virtual": true,
"return_value": {
"type": "bool"
},
"arguments": [
{
"name": "render_target",
"type": "RID"
}
]
},
{
"name": "_post_draw_viewport",
"is_const": false,
"is_vararg": false,
"is_virtual": true,
@@ -226666,7 +226941,7 @@
]
},
{
"name": "_process",
"name": "_end_frame",
"is_const": false,
"is_vararg": false,
"is_virtual": true
@@ -227877,39 +228152,6 @@
"type": "XRInterface"
}
]
},
{
"name": "get_last_process_usec",
"is_const": false,
"is_vararg": false,
"is_virtual": false,
"hash": 135338150,
"return_value": {
"type": "int",
"meta": "uint64"
}
},
{
"name": "get_last_commit_usec",
"is_const": false,
"is_vararg": false,
"is_virtual": false,
"hash": 135338150,
"return_value": {
"type": "int",
"meta": "uint64"
}
},
{
"name": "get_last_frame_usec",
"is_const": false,
"is_vararg": false,
"is_virtual": false,
"hash": 135338150,
"return_value": {
"type": "int",
"meta": "uint64"
}
}
],
"signals": [