Byron York writes today that Trump was prohibited from a jury trial by law. Letitia James structured the indictment so that no jury was possible.
Judge Engoron referenced this law in his 92 page judgment.
FYI
Later, Engoron said it wouldn't have mattered anyway as James structured the case as you said.
The other point still stands that Engoron moved straight to summary judgement, so Trump was denied a trial of fact to cross-examine witnesses and present exculpatory evidence, not that any of it would have mattered to this judge.
-PJ