How can I rotate my rendering server object in GDExtension

Godot Version

4.2

Question

I’m trying to use a renderingserver in GDExtension to create an object but I’m having issues rotating it, I’m aware that there is “Transform.rotated()”

but I’m struggling to use it as it asks for the Axis which is not a method exposed to the GDExtension, this is what I’ve currently got

Transform3D trans = Transform3D(Basis(1, 0, 0, 0, 1, 0, 0, 0, 1), Vector3(0,0,5));
trans.rotated(Vector3(0,1,0),0.785398f);