The generateVisualContent is only for generating extra geometry. It doesn’t have any effect on the default geometry of the Visual Element or its children.
I think the best approach for this would be to render the UI to a texture and project it onto a Plane with camera settings giving the perspective that you need.
Until we have better Sample / Documentation page I will refer you to this specific post: