This documentation is for a prerelease version of O3DE. Click here to switch to the latest release, or select a version from the dropdown.

Version:

Atom Tools Common Features

The tools included with Atom are built upon a common foundation. They share the same core concepts, features, workflows, and user experience.

Basic Tool

Document system

All of the Atom tools use a multi-document, multi-view system. This allows all of the tools to follow the same patterns, so they share the same features, UI, and basic interactions. You’ll have a familiar experience across the tools, regardless of the type of data you edit.

A document is the representation of a file or other data that you can create, open, and edit from within a tool. At a minimum, all document types support actions to open, save, undo, redo, and provide a list of properties that you can edit in an inspector,

A view is usually a window or other UI that allows you to visualize, inspect, or interact with a document.

Each tool is designed specifically for a set of document types:

  • Material Editor currently only supports one document type for editing “.material” and viewing “.materialtype” files
  • Material Canvas supports multiple document types for “.materialgraph”, “.materialgraphnode”, and “.shader” files.
  • Shader Management Console supports one document type for “.shadervariantlist” files.

You can open and edit multiple documents at the same time.

  • Access each document using a tab at the top of the central window.
  • Each document tab displays the file name of the document.
  • Right-click on a tab to open a context menu with document-centric actions.
  • Select a tab to activate the corresponding document, display any associated views, and update other windows, like the inspector, with content from the document.

Single instance

By default, the tools are set up to only allow a single instance to run at a time. If you attempt to relaunch a tool that is already running, it instead focuses on the existing instance. If a tool is running and you attempt to open an associated file type from the O3DE Editor or file browser, then it opens in the same tool in a new tab.

Python scripting

All tools built on this foundation have common APIs for scripting, automation, and extension with Python. While there are differences from the main O3DE Editor environment and scripting API, you should have access to all other scripting features from your project and enabled Gems.

  • The document system is fully scriptable.
  • Several utility functions used in C++ are also available in Python.
  • Use PyQt for controlling and extending the UI.
  • Run scripts from the file menu, Asset Browser context menu, or passed in as command line arguments.

Main window

The main window is the hub and owns all of the user interface for a tool.

Title bar

The title bar at the top of the main window displays the name of the application and the active RHI, rendering back end (DX12 or Vulkan).

Layouts

The position, size, and state of the main window and any child windows save and restore each time you open the tool. You can save, restore, and manage custom layouts from the view menu.

Docked Windows

The main window contains several child windows for different features that you can dock, float, stack, or rearrange into custom layouts.

All of the tools come with a common set of basic panels but you can add more panels based on the needs of each tool.

Inspector

The Inspector displays context-sensitive, editable properties for the active document.

Asset Browser

Use the Asset Browser panel to explore and manage assets in the active project and Gems. Set up filters, select, create, rename, move, delete, and perform other operations on assets. The Asset Browser automatically selects the file corresponding to the most recently opened or activated document. This only happens if the filters are set up to display the document type. Drag assets from the Asset Browser into asset properties in the Inspector and other windows supporting the dropped file types.

Logging

Use the Logging window to review all of the trace, warning, and error messages reported since the tool was launched.

Python Terminal

Use the Python terminal to invoke script commands directly from within the tool. It will also display the output, warnings, and errors from any Python code executed during the session. There are other buttons to display available script commands and buses.

The main menu bar in every tool contains a common set of options but can be customized by each tool.

File menu

The file menu contains all of the common actions to create, open, close, and save documents. There are also actions to run Python scripts.

Menu itemHotkeyFunction
New…Ctrl+NOpens a dialog to create a new document. If the tool supports multiple document types, this first displays a sub menu that lists them.
Open…Ctrl+OOpens a dialog to open an existing document. If the tool supports multiple document types, this first displays a sub menu listing them.
SaveCtrl+SSaves the active document.
Save As…Saves the active document to the specified folder and file name.
Save As Child…Saves a new child document of the current document. Only Material Canvas and Material Editor has this action.
Save AllSaves the edits in all open documents.
CloseCtrl+F4Closes the active document.
Close AllCloses all of the open documents.
Close OthersCloses all of the documents except the active one.
Run Python…Opens a dialog to select and run a Python script.
ExitCloses the application.

Edit menu

The edit menu has common actions to undo and redo changes on the active document. Other tools may have additional actions depending on the document types they support.

Menu itemHotkeyFunction
UndoCtrl+ZUndo the most recent action.
RedoCtrl+YRedo the most recent action that was undone.

View menu

The view menu includes actions to switch between documents. Other tools may have additional actions depending on the document types they support.

Menu itemHotkeyFunction
Previous TabCtrl+Shift+TabSwitches to the previously opened tab.
Next TabCtrl+TabSwitches to the next opened tab.

Tools menu

The tools menu includes actions to toggle visibility of dockable panels and open the settings dialog. Other tools may have additional actions depending on the document types they support.

Menu itemHotkeyFunction
Asset BrowserToggles the Asset Browser window.
InspectorToggles the Inspector window.
LoggingToggles the Logging window.
Python TerminalToggles the Python Terminal window.

Help Menu

The help menu includes actions to open the help and about dialogs.

Menu itemHotkeyFunction
Help…Opens the help dialog with information about how to use the tool.
About…Opens the about dialog with information about the tool.

Settings

Customize and configure tools through the settings registry . The settings dialog in each tool provides access to several common and application-specific settings. Values for all modified settings save between sessions.

Settings Dialog