Version: 2017.2
Text
Raw Image

Image

The Image control displays a non-interactive image to the user. This can be used for decoration, icons, etc, and the image can also be changed 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 filing the control rectangle. However, the Image control requires its texture to be a Sprite, while the Raw Image can accept any texture.

Управление изображением
Управление изображением

Настройки

Свойство: Функция:
Source Image Текстура, которая представляет собой изображение на дисплее (должна быть импортирована вSprite).
Color The color to apply to the image.
Material Material Материал для от-рисовки изображения.
Raycast Target Should this be considered a target for raycasting?
Preserve Aspect Ensure image remains existing dimension.
Set Native Size Button to set the dimensions of the image box to the original pixel size of the texture.

Детали

The image to display must be imported as a Sprite to work with the Image control.

Text
Raw Image
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961