mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Overhaul the top sections of the class reference (Core classes)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user