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:
parent
b9e022302a
commit
f9b488508c
79 changed files with 1037 additions and 89 deletions
|
|
@ -519,6 +519,10 @@ struct GDScriptUtilityFunctionsDefinitions {
|
|||
Vector<Color> d = *p_args[0];
|
||||
*r_ret = d.size();
|
||||
} break;
|
||||
case Variant::PACKED_VECTOR4_ARRAY: {
|
||||
Vector<Vector4> d = *p_args[0];
|
||||
*r_ret = d.size();
|
||||
} break;
|
||||
default: {
|
||||
r_error.error = Callable::CallError::CALL_ERROR_INVALID_ARGUMENT;
|
||||
r_error.argument = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue