Skip to content

Commit 23178e8

Browse files
committed
Add support for PackedVector4Array
1 parent 54fe2f9 commit 23178e8

File tree

6 files changed

+481
-27
lines changed

6 files changed

+481
-27
lines changed

binding_generator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,8 @@ def generate_builtin_class_header(builtin_api, size, used_classes, fully_used_cl
545545
result.append("#include <godot_cpp/variant/vector2.hpp>")
546546
if class_name == "PackedVector3Array":
547547
result.append("#include <godot_cpp/variant/vector3.hpp>")
548+
if class_name == "PackedVector4Array":
549+
result.append("#include <godot_cpp/variant/vector4.hpp>")
548550

549551
if is_packed_array(class_name):
550552
result.append("#include <godot_cpp/core/error_macros.hpp>")
@@ -2445,6 +2447,7 @@ def is_packed_array(type_name):
24452447
"PackedStringArray",
24462448
"PackedVector2Array",
24472449
"PackedVector3Array",
2450+
"PackedVector4Array",
24482451
]
24492452

24502453

0 commit comments

Comments
 (0)