Version: 2023.1

WSAImageScale

enumeration

切换到手册

描述

Options for the set of sizing values to apply to the Universal Windows Platform logo and icon images. These options specify variations for different screen sizes and resolutions.

A Universal Windows Platform application must specify icon and logo images as part of the package before you can submit it to the Microsoft Store. Since these images are bitmaps, they do not scale well on different display types. Because of this, applications should include different versions of these images at different scales and sizes so the icon/logo always displays correctly. Unity exposes two sets of sizing values to use: Scaling values: Indicates that an image asset is scaled by a certain factor from the base image size. Target size: Indicates that the application icon is for a specific pixel size. This is only applicable for the Square44x44Logo type. Target size assets are for surfaces that don't use the scaling plateau system: Start jump list (desktop). Start in the lower corner of the tile (desktop). Shortcuts (desktop). Control Panel (desktop). For information on Universal Windows Platform application icons and logos, see Microsoft's documentation.
Important: Unity writes image types to the package manifest when it builds Universal Windows Platform for the first time. Building into an existing Universal Windows Platform build folder does not update the package manifest and does not apply any changes.

变量

_100Uses a scale factor of 100%.
_125Uses a scale factor of 125%.
_150Uses a scale factor of 150%.
_200Uses a scale factor of 200%.
_400Uses a scale factor of 400%.
Target16Targets a size of 16x16 pixels.
Target24Targets a size of 24x24 pixels.
Target32Targets a size of 32x32 pixels.
Target48Targets a size of 48x48 pixels.
Target256Targets a size of 256x256 pixels.