Image
The Image control displays a non-interactive image to the user. You can use this for purposes such as decorations or icons, and you can change the image from a script to reflect changes in other controls. The control is similar to the Raw Image control, but offers more options for animating the image and accurately filling the control rectangle. However, the Image control requires its Texture to be a Sprite, while the Raw Image can accept any Texture.

Properties

| Property: | Function: |
|---|---|
| Source Image | The Texture that represents the image to display (which must be imported as a Sprite). |
| Color | The color to apply to the image. |
| Material | The Material to use for rendering the image. |
| Raycast Target | Enable Raycast Target if you want Unity to consider the image a target for raycasting. |
| Raycast Padding | Space added to the RectTransform for raycasting. |
| Maskable | Enable Maskable to allow Masks to hide this object. |
| Image Type | Controls how to display the image. For detailed information on each Image Type, refer to UIVisualComponents. |
You must import the image to display as a Sprite to work with the Image control.