Basis Properties |
The Basis type exposes the following members.
Name | Description | |
---|---|---|
Column0 |
Column 0 of the basis matrix (the X vector).
| |
Column1 |
Column 1 of the basis matrix (the Y vector).
| |
Column2 |
Column 2 of the basis matrix (the Z vector).
| |
FlipX |
The basis that will flip something along the X axis when used in a transformation.
| |
FlipY |
The basis that will flip something along the Y axis when used in a transformation.
| |
FlipZ |
The basis that will flip something along the Z axis when used in a transformation.
| |
Identity |
The identity basis, with no rotation or scaling applied.
This is used as a replacement for `Basis()` in GDScript.
Do not use `new Basis()` with no arguments in C#, because it sets all values to zero.
| |
ItemInt32 |
Access whole columns in the form of Vector3.
| |
ItemInt32, Int32 |
Access matrix elements in column-major order.
| |
Scale |
The scale of this basis.
| |
x |
The basis matrix's X vector (column 0).
| |
y |
The basis matrix's Y vector (column 1).
| |
z |
The basis matrix's Z vector (column 2).
|