When using the default value in a "get text size" node, the height and width return 0.0.
Note: potentially returning null value as no hard value is presented to font.
James: Should use same fallback as other funcs that take a font
1. Open Editor (any project)
2. Create new HUD blueprint
3. Create a draw text node, plug the execution pin into an "event begin play" node
4. Create "get text size" node
5. plug width and height into x, y on draw text node
6. Create two print strings, plug width/height from get text size node into the two print strings (one for width, one for height)
7. In game mode (or create new game mode), set hud to new hud blueprint
8. compile all blueprints, save, and press play in editor
I am not able to find world outliner how to enable it?
How can i modify the param name in EQS node
What method is used to fill polygonal regions when drawing spline mesh at run time?
How to achieve HLSL Multiple Render Target in Material blueprints?
How to delete some elements correctly when deleting an array loop?
How to assign a value to a member of UMG's UMaterialInterface pointer type in C++?
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay |
---|---|
Affects Versions | 4.4, 4.6.1, 4.7 |
Target Fix | 4.8 |
Fix Commit | 2487622 |
---|
Created | Jan 21, 2015 |
---|---|
Resolved | Mar 23, 2015 |
Updated | Apr 27, 2018 |