struct

Godot::Basis

Inherits Struct < Value < Object

A 3x3 matrix used for 3D rotation and scale.

Constants

IDENTITY = Basis.new

Constructors

from_axis_angle(axis : Vector3, angle : Number) : Basis
Source
looking_at(target : Vector3, up : Vector3 = Vector3::UP) : Basis
Source
new(x : Vector3 = Vector3.new(1.0_f32, 0.0_f32, 0.0_f32), y : Vector3 = Vector3.new(0.0_f32, 1.0_f32, 0.0_f32), z : Vector3 = Vector3.new(0.0_f32, 0.0_f32, 1.0_f32))
Source
new(pointer : Pointer(Void))
Source

Instance methods

*(other : Basis) : Basis
Source
determinant
Source
get_scale
Source
inverse
Source
rotated(axis : Vector3, angle : Number) : Basis
Source
transposed
Source