Godot's Basis: a 3x3 matrix, stored flat so one value is one object.
Fields are named by column, as in GDScript: column x is (xx, xy, xz), y is (yx, yy, yz), z is (zx, zy, zz). The engine stores rows, so row 0 is (xx, yx, zx). Euler order values follow Godot's EulerOrder (0 XYZ, 1 XZY, 2 YXZ, 3 YZX, 4 ZXY, 5 ZYX).
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Element at row r, column c.
Element at row r, column c.
Attributes
The rotation as a quaternion; assumes this basis is a pure rotation.
The rotation as a quaternion; assumes this basis is a pure rotation.
Attributes
The rotation part, with any scale and reflection removed.
The rotation part, with any scale and reflection removed.
Attributes
Rotate around a normalized axis (left-multiplies the rotation).
Rotate around a normalized axis (left-multiplies the rotation).
Attributes
Scale rows: the global-space scale.
Scale rows: the global-space scale.
Attributes
Scale columns: the local-space scale.
Scale columns: the local-space scale.
Attributes
Inherited methods
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
- Product
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product