Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
Vector3¶
A 3D vector using floating point coordinates.
Description¶
A 3-element structure that can be used to represent 3D coordinates or any other triplet of numeric values.
It uses floating-point coordinates. By default, these floating-point values use 32-bit precision, unlike float which is always 64-bit. If double precision is needed, compile the engine with the option precision=double
.
See Vector3i for its integer counterpart.
Note: In a boolean context, a Vector3 will evaluate to false
if it's equal to Vector3(0, 0, 0)
. Otherwise, a Vector3 will always evaluate to true
.
Tutorials¶
Properties¶
|
||
|
||
|
Constructors¶
Vector3 ( ) |
|
Methods¶
Operators¶
operator != ( Vector3 right ) |
|
operator * ( Basis right ) |
|
operator * ( < |