Blueprint overview
Last updated
Last updated
Unreal Engine Setup
Set up Pixel Streaming in your own projectUsing the Arcware Pixel Streaming Template ProjectCommon Unreal Engine QuestionsArcware Features
Screenshot FunctionalityCopyright 2024 - Arcware GmbH
In the player controller of the project the following blueprints are used:
Checking if the descriptor contains the FieldName "CreateScreenshot" => here the command comes from the button at the frontend.
To prevent spamming a "DoOnce" node is used. The C++ function "TakeScreenshot" is called and saves the screenshot locally. A delay is added to give enough time to create and save the screenshot server side.
"TakeScreenshot" takes the screenshot(ScreenshotRequest), saves it with an UUID4 name and sets the full screenshot path for later accessibility.
Send the saved file to the frontendt via pixelstreaming. A delay is added to ensure the action is completed before continuing.
Deleting the image at the backend (after sending it) to prevent amassing data.
Send a message to the frontend that this event was triggered and completed. This resets the "DoOnce" node.