BackgroundSizeType
Defines the size of the background.
読み終わるまでの所要時間 1 分最終更新 5日前
Definition
- Type: Enum
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public enum BackgroundSizeType
Fields
Value | Description |
|---|---|
| Contain | Resize the background image to make sure the image is fully visible. |
| Cover | Resize the background image to cover the entire container, even if it has to stretch the image or cut a little bit off one of the edges. |
| Length | Determines if the size of the background image comes from the BackgroundSize.x and BackgroundSize.y length values. |