Hey UE4 devs, got a quick question about the text render component and its use in a hud.
I’ve been trying to do a basic hud in blueprints and I’ve come to the point where plain color text is not cutting it, so I’ve been trying to have a text render component with my font material showing up on the hud.
Problem is that it doesn’t seem to show up, and I’ve tried two ways: putting it in the components editor or creating it at runtime, but no dice.
Do I have to make a separate blueprint that follows the player pawn with the text? This seems problematic because it will receive lighting from the environment. Any suggestions?
The HUD doesn’t use components (that I’m aware of), what you need is the “Draw Text” node in the graph. Place it coming of the “Event Receive Draw HUD”. Hope that helps.
Well darn :rolleyes: guess I need to do this another way then. Yeah I’ve already done some ui elements with draw text, but for things like text with a gradient or outline, I’d like to use the text rendercomponent. Looks like I have to use slate.