Setting `pt_per_unit` in GLMakie for animation

With the recent update to GLMakie, I know we can set set pt_per_unit while saving figure created by GLMakie. What about animation? I make my animation with something like the following:

t_idx = Observable(1)

fig = Figure()
# some codes for plotting
surface!(ax, x, y, @lift(data[$t_idx]))
# some codes for plotting

if true
    record(fig, savename, timestamps; framerate=framerate, compression=1) do t
        t_idx[] = t
    end
end

Are there any options for pt_per_unit while saving the animation?

For GLMakie it should be px_per_unit!

but where do I enter this option? When saving a normal figure, we can just have save(filename, fig; px_per_unit=10), but what about animation?

To record!