Advanced Cluster Part 1
This section of the Best Practice describes how to configure the render target for this solution. It shows how to imported images via [Import Resources]. Some of these images will be used in controls later. In order for them to correctly fit e.g. into a Gauge control they need to have their pivot point adjusted. Finally, a Custom Gauge control will be created based on Scene Composer's built-in Gauge control.
Create Solution and Setup Render Target
A new empty solution will be created and the render target configuration is performed.
- Create a new solution using the Empty Solution template and save it as shown in Creating a new Solution.
- A new solution is created and saved.
- A new solution is created and saved.
- In the Solution Explorer panel on the top left select "Scene3D" (under "Solution - Scenes") and delete it either using the <Del> key or via the context menu [Delete] as described in Delete a Scene.
- A [Delete Items] dialog will popup.
- A [Delete Items] dialog will popup.
- Please resolve all dependencies with [Delete Usage Item] (which is the default) and click [OK].
- Scene3D will be deleted.
- Scene3D will be deleted.
- Activate the Render Targets panel on the top right and select [Display (0)]. In the Properties panel below change the display's X and Y Resolution.
- The horizontal and vertical resolution of the display is defined.
- The aspect ratio of the display will be calculated automatically.
Target Item Setting Value X Resolution 1680 Y Resolution 720

- In the Render Targets panel select Scene2D\Camera (0). In the Properties panel check the checkbox to Enable Swapping.
Import Images and Configure Pivot Hints
The images needed for this solution will be imported. They will later be used to build up the gauge control. For correct positioning and alignment inside the control, the Pivot Hints for these images need to be configured. Additionally, the Custom_Gauge control will be created.



