classref: Sync with current master branch (dc5f1b7)

This commit is contained in:
Godot Organization
2024-12-14 03:23:22 +00:00
parent 19f5643c46
commit cb88777732
72 changed files with 2958 additions and 411 deletions
+6 -6
View File
@@ -809,7 +809,7 @@ Multiplies each component of the **Vector4** by the components of the given **Ve
::
print(Vector4(10, 20, 30, 40) * Vector4(3, 4, 5, 6)) # Prints "(30, 80, 150, 240)"
print(Vector4(10, 20, 30, 40) * Vector4(3, 4, 5, 6)) # Prints (30.0, 80.0, 150.0, 240.0)
.. rst-class:: classref-item-separator
@@ -825,7 +825,7 @@ Multiplies each component of the **Vector4** by the given :ref:`float<class_floa
::
print(Vector4(10, 20, 30, 40) * 2) # Prints "(20, 40, 60, 80)"
print(Vector4(10, 20, 30, 40) * 2) # Prints (20.0, 40.0, 60.0, 80.0)
.. rst-class:: classref-item-separator
@@ -853,7 +853,7 @@ Adds each component of the **Vector4** by the components of the given **Vector4*
::
print(Vector4(10, 20, 30, 40) + Vector4(3, 4, 5, 6)) # Prints "(13, 24, 35, 46)"
print(Vector4(10, 20, 30, 40) + Vector4(3, 4, 5, 6)) # Prints (13.0, 24.0, 35.0, 46.0)
.. rst-class:: classref-item-separator
@@ -869,7 +869,7 @@ Subtracts each component of the **Vector4** by the components of the given **Vec
::
print(Vector4(10, 20, 30, 40) - Vector4(3, 4, 5, 6)) # Prints "(7, 16, 25, 34)"
print(Vector4(10, 20, 30, 40) - Vector4(3, 4, 5, 6)) # Prints (7.0, 16.0, 25.0, 34.0)
.. rst-class:: classref-item-separator
@@ -885,7 +885,7 @@ Divides each component of the **Vector4** by the components of the given **Vecto
::
print(Vector4(10, 20, 30, 40) / Vector4(2, 5, 3, 4)) # Prints "(5, 4, 10, 10)"
print(Vector4(10, 20, 30, 40) / Vector4(2, 5, 3, 4)) # Prints (5.0, 4.0, 10.0, 10.0)
.. rst-class:: classref-item-separator
@@ -901,7 +901,7 @@ Divides each component of the **Vector4** by the given :ref:`float<class_float>`
::
print(Vector4(10, 20, 30, 40) / 2 # Prints "(5, 10, 15, 20)"
print(Vector4(10, 20, 30, 40) / 2 # Prints (5.0, 10.0, 15.0, 20.0)
.. rst-class:: classref-item-separator