You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Add PackedVector4Array Variant type
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
committed by
Rémi Verschelde
parent
b9e022302a
commit
f9b488508c
@@ -66,6 +66,7 @@ namespace Godot.SourceGenerators
|
||||
MarshalType.StringArray => VariantType.PackedStringArray,
|
||||
MarshalType.Vector2Array => VariantType.PackedVector2Array,
|
||||
MarshalType.Vector3Array => VariantType.PackedVector3Array,
|
||||
MarshalType.Vector4Array => VariantType.PackedVector4Array,
|
||||
MarshalType.ColorArray => VariantType.PackedColorArray,
|
||||
MarshalType.GodotObjectOrDerivedArray => VariantType.Array,
|
||||
MarshalType.SystemArrayOfStringName => VariantType.Array,
|
||||
@@ -190,6 +191,8 @@ namespace Godot.SourceGenerators
|
||||
return MarshalType.Vector2Array;
|
||||
case { Name: "Vector3" }:
|
||||
return MarshalType.Vector3Array;
|
||||
case { Name: "Vector4" }:
|
||||
return MarshalType.Vector4Array;
|
||||
case { Name: "Color" }:
|
||||
return MarshalType.ColorArray;
|
||||
case { Name: "StringName" }:
|
||||
|
||||
Reference in New Issue
Block a user