Skip to content

Commit

Permalink
Document PackedVector4Array
Browse files Browse the repository at this point in the history
This type was added in Godot 4.3.
  • Loading branch information
Calinou committed Sep 2, 2024
1 parent bfeb5ee commit 4726e13
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions _extensions/gdscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ def innerstring_rules(ttype):
"PackedVector2iArray",
"PackedVector3Array",
"PackedVector3iArray",
"PackedVector4Array",
"PackedColorArray",
"null",
"void",
Expand Down
1 change: 1 addition & 0 deletions tutorials/scripting/c_sharp/c_sharp_collections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ GDScript C#
``PackedStringArray`` ``string[]``
``PackedVector2Array`` ``Vector2[]``
``PackedVector3Array`` ``Vector3[]``
``PackedVector4Array`` ``Vector4[]``
``PackedColorArray`` ``Color[]``
====================== ==============================================================

Expand Down
1 change: 1 addition & 0 deletions tutorials/scripting/c_sharp/c_sharp_variant.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ Variant.Type C# Type
``PackedStringArray`` ``string[]``
``PackedVector2Array`` ``Godot.Vector2[]``
``PackedVector3Array`` ``Godot.Vector3[]``
``PackedVector4Array`` ``Godot.Vector4[]``
``PackedColorArray`` ``Godot.Color[]``
======================= ===========================================================

Expand Down
1 change: 1 addition & 0 deletions tutorials/scripting/gdscript/gdscript_basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -895,6 +895,7 @@ arrays. They are therefore only recommended to use for large data sets:
- :ref:`PackedStringArray <class_PackedStringArray>`: An array of strings.
- :ref:`PackedVector2Array <class_PackedVector2Array>`: An array of :ref:`Vector2 <class_Vector2>` values.
- :ref:`PackedVector3Array <class_PackedVector3Array>`: An array of :ref:`Vector3 <class_Vector3>` values.
- :ref:`PackedVector4Array <class_PackedVector4Array>`: An array of :ref:`Vector4 <class_Vector4>` values.
- :ref:`PackedColorArray <class_PackedColorArray>`: An array of :ref:`Color <class_Color>` values.

:ref:`Dictionary <class_Dictionary>`
Expand Down

0 comments on commit 4726e13

Please sign in to comment.