Describes how to pass Commands from the Control Panel to the App and see the changes upon initialization.
Prerequisites
Info |
---|
For this document, you need :
|
Instructions
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
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
Info |
---|
Go to : Step 2 : Create a Config > Add a new Config> Enter Config name > Add |
...
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
Access the Old Control panel from here.
See this document on how to upload Apps.
Your Control Panel should now have the E3DSFeaturesTemplate App and a new Config for testing.
Step 2. Send Commands to your App from the Control Panel
Info |
---|
Go to : Control Panel > Step2: Config Selection > Edit > Developer Option > Parameters to Pass to App. |
1. Add ‘-green’ in the text box. Click Save
Note |
---|
DO NOT add the local Pixel Streaming commands in this parameters field. Such as: |
2. Open the E3DSFeaturesTemplate App and run to the 12th booth
Test the command by running the game.
...
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
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.
Info |
---|
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
Info |
---|
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.
...
Info |
---|
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.
...