Importing resources (Smart Importer)
UsingImport contents into each scene in the solution using the Smart Importer, importwhich content for the individual scenes of the Solution. It utilizesuses AI services to analyze Photoshop files andto detect, suggest, and create controls for the Scene Composer Solution.solution. TheThis userstep hasdescribes the optionoperation of assigning appropriate controls to chooseimages whichon controla isresource intendedusing forthe whichSmart image.Importer.
Gauge Control
ClickFromImportthe>menu bar, select "Import" and then "Smart Importer > From LocalFile…File...".
from- A file selection dialog will appear.
- If you have not saved the
menusolutionbar.yet, a dialog will appear prompting you to save the file first.
\cgi_studio_content\2D\PSD


- For
thismoretutorial,informationselectonCar_Cluster.psdthe Smart Importer dialog box, click here.
Expand
A"Cluster" previewin the Layer tree of the PhotoshopSmart imageImporter is displayed along with a Layer Tree (Orange frame in the image below) which contains the layers in the .psd file shown in “tree” structure format. When an item in the tree is clicked, the right-side view beside it will show the suggested controls (Red frame in the image below) based on the image. The controls are sorted by the AI’s detection probability. Controls are reusable components in Scene Composer that are configurable to achieve a certain functionality in the solution.

Starting on the next section, a guideline on how to apply Controls to each item in the .psd file is introduced.
Gauge Controls
Apply Gauge control to the gauge-looking images on right/left side of the image.

1. Click the triangular icon beside Cluster for expanding the Cluster layer tree. (Orange frame in the image above)
2. Click Gauge left in the tree.
- A control list
(Red frame in the image above) is displayedappears on the rightside.side of the dialog, listing the available controls. TheseThe listed controls are categorizedintoas "AIdetectedDetectedControlsControls" andother"AvailableControls.Controls".
3.number Clickdisplayed Apply button on Gauge fromto the right of each control list.
If you select a


Press the [ Apply ] button for the Gauge control listed under "AI Detected Controls".
YouThecanGaugecustomizecontrol is assigned to "Gauge Left" on the layer tree ("Gauge Left" text color changes to blue).
Set the following settings in [ Appearance ] and [ Basic Properties ] of "Gauge Left".
| Gauge |
||
| Target |
Setting Value | |
Scale kmh
Gauge Background
BackgroundImage Pivot Point
BackgroundImage
BackgroundImage
Centered
name
InputMax
RotationMax
SpeedGauge
240
225
ScaleScala rpmkmh
Gauge Background
BackgroundImage Pivot Point
BackgroundImage
BackgroundImage
Centered
BackgroundImage Center Basic Properties
nameName
InputMaxImputMax
RotationMax
RPMGaugeSpeedGauge
8000240
225
5. Apply settings as seen below for the Text item under Gauge left and Gauge right.
| Gauge |
||
| Target |
Setting | |
Name
SpeedValue

Status Indicators (top)
Apply Tell Tale control to

1. Click the triangular icon beside StatusTop below the Cluster layer tree.
2. Click the triangular icon beside Telltales in the tree.
3. Apply Tell Tale (Red frame in the image above) control to OpenDoors, Engine, Airbag and Brake. below.
Status Indicators (bottom)
Apply Progress Bar and Text controls to the status indicator on the bottom of the screen (Orange frame in the image below).

1. Click the triangular icon beside StatusBottom below the Cluster layer tree.
2. Apply the settings below for 78.321km.
3. Click the triangular icon beside Petrol in the tree.
4. Apply the settings below for PetrolControl.
Layer mapping
Scala kmh
Gauge Background
BackgroundImage
BackgroundImage
BackgroundImage central Basic Properties
Name
ImputMax
RPMGauge
8000
Name
RPMValue
5. Click the triangular icon beside Temp in the tree.
6. Apply the same settings as No.4 to TempControl that is shown below Temp layer tree.
MiddleDuplicate Sectionand Displayset up scenes
LastTransitions stepbetween isscenes are made using State Machine Editor function described below. In this section, duplicate the "Car_Cluster" to transformwhich the middlecontrols parthave ofbeen applied up to the display.previous The goal is to create separate scenes for each scenario to display the Car Status,section and Incoming Call.
1. Right-click on Car_Cluster under Scenes in the Import Settings.
2. In the context menu, select “Clone Scene…”.

3. In the Clone Scene dialog box, name the cloned scene as Car_Status.

4. Click the newly created Car_Status scene to display its Cluster tree.

5. Uncheck the checkbox of Car under Middle.
6. Then, mark the checkbox of Car_Status.

7. Repeat steps 1 to 6 above for Incoming Calls:
Finally, after everything is set, click the OK buttonside of the Smart Importer dialog box.box, [ Import Settings ] tab.

Enter "Car_Status" as the name of the scene to be duplicated and press [ OK ] button.
With the "Car_Status" scene selected, expand "Middle" from the Layer Tree.
Uncheck "Car" and check "Car Status".

Repeat operations 1 through 4 above, this time adding an "Incoming Call" scene.
The resource preparation work is completed. Click the [ OK ] button in the Smart Importer dialog box to perform the import.