def to_diagonal_matrix(self): from godot.basis import Basis gd_obj = lib.godot_vector3_to_diagonal_matrix(self._gd_ptr) return Basis.build_from_gdobj(gd_obj)
def basis(self): raw = lib.godot_transform_get_basis(self._gd_ptr) return Basis.build_from_gdobj(raw)
def outer(self, b): from godot.basis import Basis self._check_param_type('b', b, Vector3) gd_obj = lib.godot_vector3_outer(self._gd_ptr, b._gd_ptr) return Basis.build_from_gdobj(gd_obj)
def __init__(self, basis=Basis(), origin=Vector3()): self._check_param_type("basis", basis, Basis) self._check_param_type("origin", origin, Vector3) self._gd_ptr = godot_transform_alloc() lib.godot_transform_new(self._gd_ptr, basis._gd_ptr, origin._gd_ptr)