summaryrefslogtreecommitdiffstats
path: root/doc/classes/Vector4i.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Vector4i.xml')
-rw-r--r--doc/classes/Vector4i.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/classes/Vector4i.xml b/doc/classes/Vector4i.xml
index c2e03016bf..e6aa9ed720 100644
--- a/doc/classes/Vector4i.xml
+++ b/doc/classes/Vector4i.xml
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="Vector4i" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
- Vector used for 4D math using integer coordinates.
+ A 4D vector using integer coordinates.
</brief_description>
<description>
- 4-element structure that can be used to represent 4D grid coordinates or sets of integers.
+ A 4-element structure that can be used to represent 4D grid coordinates or any other quadruplet of integers.
It uses integer coordinates and is therefore preferable to [Vector4] when exact precision is required. Note that the values are limited to 32 bits, and unlike [Vector4] this cannot be configured with an engine build option. Use [int] or [PackedInt64Array] if 64-bit values are needed.
+ [b]Note:[/b] In a boolean context, a Vector4i will evaluate to [code]false[/code] if it's equal to [code]Vector4i(0, 0, 0, 0)[/code]. Otherwise, a Vector3i will always evaluate to [code]true[/code].
</description>
<tutorials>
</tutorials>