Vector3ToDiagonalMatrix Method |
Returns a diagonal matrix with the vector as main diagonal.
This is equivalent to a Basis with no rotation or shearing and
this vector's components set as the scale.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public Basis ToDiagonalMatrix()
Return Value
Type:
BasisA Basis with the vector as its main diagonal.
See Also