Table of contents
2. Display moving text in the scene
3. Display on the control blueprint
Effect
step
1. Create pictures with text
Open PS and create a new document with a width of 600 and a height of 50
add text
keep
2. Display moving text in the scene
1. Open the UE editor and import the image made by PS
2. Create a new material, named here "M_Advertise"
Open "M_Advertise", set the blending mode to "Masked" and the shading model to "Unlit"
Add the following nodes to the material graph
3. Create material instances through materials
Open the material instance and adjust the parameter values
Place a plane into the scene and replace the plane's material with the newly created material instance
If you don't want the shadow of the text, you can uncheck "Dynamic Shadow"
You can also cancel "Cast Shadows"
The effect at this time is as follows:
3. Display on the control blueprint
Set the material field in the material to the user interface
Then set the displayed image in the image control in the control blueprint to the material above
Finally, display the control blueprint on the viewport
The effect is as follows:
Reference video: