Lumberyard
User Guide (Version 1.21)

Adding Texture Atlases to a UI Canvas

You can use the UI Editor to add texture atlases to a UI canvas.

To add texture atlas references to a UI canvas

  1. Ensure that no elements are selected in the UI Editor and that the Properties pane displays the properties for UI Canvas.

  2. Under Editor settings, note the Texture atlases property. The Texture atlases property lists the texture atlases that the UI canvas loads.

    
                        The Texture atlases property in the
                            UI Editor.
  3. For Texture atlases, click the plus (+) sign to add one or more texture atlas child elements. One child element is required for each texture atlas to add to the UI canvas.

    
                        Adding a child element to the Texture atlas
                            property of a UI canvas.
  4. Click the Browse (...) button for an element that you added.

    
                        Click Browse.
  5. Choose the texture atlas for the element and then click OK.

    
                        Choosing a texture atlas file.

    The texture atlas that you added appears in the list.

    
                        A texture atlas added to the Texture atlases
                            property of a UI canvas.
  6. To remove an element, click its (X) icon.

    
                        Removing an element from the Texture atlases
                            property of a UI canvas.
  7. To remove all elements from the Texture atlases property, click the Remove all elements () icon.

    
                        Removing all elements from the Texture atlases
                            property of a UI canvas.