Because
fundamentally your angle of glide/descent is a function of lift/drag ratio. All you have to do is fly at
Vmd for your aircraft, which means flying at the
correct angle of attack. Then, of course extending flap or airbrake
(configuration) will also have an effect