Describes how to pass Commands from the Control Panel to the App and see the changes upon initialization.

Prerequisites

For this document, you need :

  1. Access to the Control Panel ;

  2. A user Account.

Instructions

Use our E3DSFeaturesTemplate Project provided below as a sample to learn how to pass Parameters/Commands from the Control Panel to your App and then see the changes every time you run it.

Apply the same Concept to your App.

Step 1. Prepare the setup

1. Create a new Config

Go to : Step 2 : Create a Config > Add a new Config> Enter Config name > Add

In this example we will name the Config ‘CmdLineDemo’.

More info on how to Create a new Config could be found here.

2. Download our E3DSFeaturesTemplate Project on your Computer

Download our E3DSFeaturestemplate UE Project, refer to this Link to find it.

3. Upload the E3DSFeaturesTemplate UE App on the Control Panel

Your Control Panel should now have the E3DSFeaturesTemplate App and a new Config for testing.

image-20240328-142551.png

Step 2. Send Commands to your App from the Control Panel

Go to : Control Panel > Step2: Config Selection > Edit > Developer Option > Parameters to Pass to App.

1. Add ‘-green’ in the text box. Click Save

DO NOT add the local Pixel Streaming commands in this parameters field.

Such as: -PixelStreamingIP=localhost -PixelStreamingPort=8888 they are added Automatically by our system.

2. Open the E3DSFeaturesTemplate App and run to the 12th booth

Test the command by running the game.

UE4 has received your Command on runtime and has changed the sphere’s color to green.

Up until here you have learned how to Pass commands/Parameters to your App from the Control Panel and how to see the changes in the App upon initialization.

To pass more parameters, follow the steps below :

1. Enter ‘-blue -pink -white' in the text field and click save

Enter 3 other commands in the field of Parameters to Pass to App for further testing.

2. Open the E3DSFeaturesTemplate App and run to the 12th bay

Run the game to see the changes made after inputting the commands from the Control Panel.

UE has received the commands during runtime and has changed the colors.

The sphere color changed to blue. The cone to pink and the cube to white.

3. Enter ‘-blue -red -green’ in the text field

To further test the feature, enter these commands -blue -red -green in the field and click save.

4. Open the E3DSFeaturesTemplate App and run to the 12th bay

Run the game to see the changes of colors.

UE has received your commands during runtime.

The color of the sphere changed to blue, the cone changed to green and the cube to red.

Pro-tip:

Check the UE Blueprints in our sample project to see how these commands are being received by UE.


Was this article helpful? Comment Below. Let us know your feedback. 

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 E3DS Community Forum today.