Learn how to make your UE App able to receive inputs from mobile devices.
In order to achieve your mobile configuration, it will require modifications to both your Control Panel Config and Unreal Engine (UE) Project.
1. Modifications on the Control Panel Config
Enable this feature to receive Touch commands on Mobile devices Fake Mouse with Touches
2. Modifications on the Unreal Engine (UE) Project
Instructions
Unreal Project Setup
This Guide shows how to setup project for Mobile and Desktop Devices both while using Eagle Pixel Streaming.
Creating Cursor UMG
Create Widget Blurprint
Add to the Canvas with small size as a cursor (example 20×20)
Set the image Alpha to Zero.
This will act as invisible Cursor and it will be hidden behind the Browser Cursor during Pixel Streaming.
5. Go to
Project Settings ->Engine->User Interface. Set the created Cursor Widget under Software cursors.
6. Go to
Project Settings ->Plugins->PixelStreaming . Set Pisel Streamer Default Cursor Class Name to DefaultCursor
7. In Level Blueprint (or as per project), set the Show Mouse Cursor in Player Controller to TRUE.
Touch Interface Setup (Optional)
This section is optional and only required if you would like to enable joystick controls within your application for mobile devices
Create TouchInterface (or Copy from the Engine).
In TouchInterface, set
Actice Opacity = 0.8
Inactive Opacity = 0
This will hide the Interface while used on PC and make visible on Mobile devices.
Go to
ProjectSettings->Engine->Inputs. Set the created Interface under Default Touch Interface.
Set Always Show Touch Interface to True (Checked).
Setting Inputs
Go to Project Settings-> Inputs, set as shown in following image.
Everything done!
Proceed to packaging and deployment on Eagle Control Panel.
You an get the source code of the stuff showed in tutorial from this doc:
https://eagle3dstreaming.atlassian.net/l/cp/7BNEDDxT
Need help? Contact Support
If you still need help, contact support to get your issue resolved quickly.
Submit a new request at E3DS support portal or send an Email at support@eagle3dstreaming.com.
Seek advice. Connect with others. Share your experiences. Join our lively Community Forum today.
0 Comments