Placing the Hide Loading Screen node after the Load Stream Level node ensures that the level is fully loaded before the user can see it. Set the Level Name parameter to a different map in your project.Ĭonnect the output of the Load Stream Level node to the input of the Hide Loading Screen node. Set the Delay node's Duration parameter to 3.0 seconds to make the loading screen show for at least three seconds when you launch the app.Ĭonnect the output from the Delay node to the input of the Load Stream Level node. The delay node will be used to set a specific time duration for the loading screen. The loading screen should appear in front of you, but this position can be different depending on your headset.Ĭonnect the output of the Set Loading Screen node to the input of the Show Loading Screen node.Ĭonnect the output of the Show Loading Screen node to the input of the Delay node. Set the Offset 3D vector for the loading screen to (1.0, 0.0, 0.5). Set the Scale 2D vector to (1.0, 1.0)-a nonzero value-to see the texture. In the Event Graph, add the following nodes:Ĭonnect the output from the Event BeginPlay node to the input of the Set Loading Screen node. Follow these general steps to add a loading screen to your project: In the following example, a map is loaded using Level Streaming as the map transition. Sometimes it's necessary to add a small delay with the Delay node after Show Loading Screen to ensure the loading screen becomes visible before the next operation. When you want the screen to no longer be displayed, call the Hide Loading Screen node. Once the loading screen has been set, call the Show Loading Screen node to display it in the headset. Change the Offset vector to specify where the texture should appear relative to the position of the HMD. On the Set Loading Screen node, you can add the texture that you want to use for the loading screen as a Texture Asset. The loading screen needs to be defined before you can show it in the HMD. At the end of this How-To, you will be familiar with the Blueprint nodes for loading screens and know how to add them to your project. Config file: you can change anything in the loading screen from the config file.For immersive apps in head-mounted displays (HMDs), you can use a texture as a loading screen to help with transitions between levels.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |