Skip to main content

Manage Imports

Manage Imports

The Scene Composer’sComposer Solution Explorer providesenables the possibilityusers to manage and organize theall solution’sfiles files.associated with a solution. Imported resources arecan organizedbe inarranged into folders accordingbased toon theuser user'srequirements, needs.and Thisthis folder structure is linked to the locallydirectory structure stored solutionlocally folderon structure.the system.

For moreadditional informationdetails on solutionmanaging managementsolutions using folders, pleaserefer also seeto here.

You can modify theThe folder structure of imported resources in the Solution Explorer panel. In addition to Solution Explorer, someorganization of imported resources can be modified directly within the Solution Explorer panel. In addition, some imported assets may also be made visibleappear in the "Imports"Imports panel.

 

Original imageImage fileFile retentionRetention

When an image file is imported usingvia  the menu File menu [> Import > Import Resources, ],Scene Composer retains both the original image file is retained along withand the associated bitmap information file (*.bin), file)which is used ininternally Sceneby Composer.the application.

The originalOriginal image filefiles isare not retained ifwhen theimporting fileformats formatsuch isas FBX, glTF and so on,FBX or ifglTF, thenor filewhen isresources are imported using the Smart Importer.

Original imageImage fileFile nameName

The name of an imported image is constructed as follows: 

    the image information name + the original image file canextension be found

    The name of the original image file is displayed in the [ Original Image ] section of the Properties panel offor the imported resource.

    The

    If the resource file name is modified in the  Solution Explorer, the corresponding original image file name is "theautomatically imageupdated informationas name" + "the original image file extension".

    When the resource file name is renamed in Solution Explorer, the original image file name is also renamed.well.

    drawing-4-1726708047.pngdrawing-4-1726708047.png
    Original Image File Location

    The Solution Explorer displays only the bitmap information file. The original image files are stored in the local Solution folderfile (the same location as the folder displayed in Solution Explorer)*.

    drawing-4-1726708917.png

    Select a resource file in Solution Explorer and use [ Open In File System ] from the context menu to view its local location in Windows Explorer.

    drawing-4-1726707944.png
    Moving original image files

    When you move an imported resource in Solution Explorer,bin), the original image file is retained in the local Solution folder. This folder mirrors the directory structure shown in the Solution Explorer.

    Here is how to easily view the local file system location of a resource:

      In Solution Explorer, select the resource. Right-click the selected resource.
        The context menu is opened as shown in the figure below.
        drawing-4-1726707944.png
        In the context menu, select Open In File System.
          Windows Explorer is opened, displaying the folder that contains both the bitmap information files and their corresponding original image files (see figure below).
          drawing-4-1726708917.png


          Moving Original Image Files

          When an imported resource is moved alongfrom one folder to the other within the Solution Explorer, its original image file is moved together with the corresponding locally stored bitmap information file.

          Imports Panel

          The ImportImports panel can be shown or hidden by selecting "View > Libraries > Imports"Imports from the menu bar. This panel displays imported resources in a hierarchical manner.structure. TheyResources listed in this panel can be placedadded onto the scene editor by drag-and-dropdragging operations.and dropping them directly into the Scene Editor.

          drawing-5-1717167173.pngdrawing-5-1717167173.png

          Properties of Imported resourcesResources

          When you select an imported resource eitheris selected in either Solution Explorer or Importthe Imports panel, its properties are showndisplayed in the Properties panel. By default, this panel is located in the bottom right area of the interface and provides detailed Information about the currently selected resource is displayed in Properties panel.resource.

          drawing-5-1717167248.pngdrawing-5-1717167248.png

          Clone, Delete and Rename Items

          Imported resources can be cloned, renamed or deleted inwithin the Solution Explorer panel. Right-To perform these actions, right-click anthe desired imported item in the Solution Explorer and chooseselect the desiredappropriate option from the context menu.

          You can also right-click on a folder containingthat contains imported files to perform bulk deletedeletion them.of its contents.

          For furthermore informationinformation, refer to Solution Explorerthe Context Menu section of the Solution Explorer documentation.

          Delete Unused Imports

          If therea aresolution contains unused imports or unused import parts, itthey iscan possiblebe removed to clean up the solutionproject by using the "Delete Unused Imports..." option. This optioncommand is available infrom the following locations:

          • Import menu
          • Solution Explorer
          • Imports Panelpanel
          drawing-4-1727160497.pngdrawing-4-1727160497.png

          The "Delete Unused Imports"Imports dialog willdisplays a list of all imports contained in the solution. It allows you to review and remove any imports fromthat aare solution.
          no longer referenced or required.

          Items that are in use within the solution - and therefore cannot be deleted - are shown greyed out. You can toggle the visibility of these used (undeletable) imports using the Filter button located in the upper-right corner of the dialog.

          drawing-5-1717168584.png

          To delete unused imports, select the checkboxes next to the unused imports you want to remove, then click Delete.

          Import items that can be identified and deleted as unused imports include: 

            Images Raw resources Fonts Fragment shaders  Vertex shaders 3D model files Scripts

            Import items that can be displayed and deleted as unused imports are images, raw resources, fonts, fragment shaders, vertex shaders, 3D model files, and scripts.


            The filter button allows to hide/show the unused (= undeletable) imports. Tick the checkboxes for unused imports to delete them with the Delete button.

            drawing-5-1717168584.png

            If an import folder contains otheradditional folders or files,files whichthat are not imported,part thisof the imported resources, the folder won'titself will not be deleted. Only the unused imported files within that folder are unused.removed.

            Export Imported Images

            If necessary, it is possible to export anyneeded, imported image from solution to a .png file. This operationimages can be doneexported throughfrom the solution as .png file. This option is available from the the context menu whichwhen right-clicking an imported image. The export operation also supports multiple selection, allowing you to export several image resources at once.

            An imported image can be exported even if it is locked.

            This export operation is available whenin rightseveral clickareas onof anythe image.application:
            This
            operation can also be performed after selecting multiple image resources.
            drawing-5-1717168526.png

              Solution Explorer Imports panel Canvas Node Canvas sprite Billboard

              To export an imported image as a .png file:

                Select the imported image you want to export. Right-click on the selected image.
                  The context menu is opened (see figure below).
                  drawing-5-1717168526.png
                  In the context menu choose Export Image To...
                    The Windows Save As dialog appears. Select a destination folder and enter a file name, then click Save.
                      The image is exported and saved in .png format.

                      The image can be exported even though it is locked.

                      This export operation can be done in different contexts ofCurrently, the application:
                        From Solution Explorer From Imports From Canvas Node From Canvas sprite From Billboard

                        Currently the original image file is exported,exported - not the processed asset one.version.

                         

                        Edit an importedImported scriptScript resourceResource

                        YouScripts can importbe anyimported typevia ofthe script bymenu using theImport [> Import Resources... ] menu. Imported scriptsscript files are initially read-only,only, but they can be changedconverted to an editable format.
                        Selectformat if changes are required.

                        To make an imported scripts editable:

                          In the targetSolution Explorer, select the script inresource. SolutionRight-click Explorerthe script and choose [ Change to Editable ] from the context menu.
                          drawing-5-1717168517.png
                          drawing-5-1717168517.png

                          Please refer to Scripting forFor instructions on how to operatework with script resources.resources, please refer to the Scripting documentation.