Text Size in pixels showed on static text UMG widget (not HUD!).
I'm trying to get text size in specific font and font size draw onto "A simple static text widget" inside UMG which is not inside HUD, but used as actor component's widget class.
So "Get text size" (HUD) - need hud, which I don't have. "Wrapped Text Size" and "Clipped Text Size" - need canvas, which I don't have. "Get Text Local Size", "Get Text World Size" - need "text render component" which I don't use.
Google unfortunatelly show very few answers (unreal text size) :-(
So how to check what is the size of the rendered wrapped text thru Text UMG component in specific font and font size ? Maybe C++ solution?
asked Nov 20 '15 at 12:23 PM in Blueprint Scripting
I dont know how to measure text in UMG but from code you can get text size using font measure service, like this:
the only problem here will be how do you get the actual font so you can put in
answered Nov 25 '15 at 09:53 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here