Version: 2022.2
LanguageEnglish
  • C#

DynamicAtlasSettings

class in UnityEngine.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Contains the settings used by the dynamic atlas system.

Static Properties

defaultFilters Default filters for a dynamic atlas.
defaults Specifies default values used to initialize the structure.

Properties

activeFilters Defines the filters that the dynamic atlas system uses to exclude textures from the texture atlas.
customFilter When a delegate is assigned, the dynamic atlas system calls it to determine whether or not a texture can be added to the atlas.
maxAtlasSize Specifies the maximum size (width/height) of the atlas texture, in pixels. This value must be a power of two, and must be greater than or equal to minAtlasSize.
maxSubTextureSize Specifies the maximum size (width/height) of a texture that can be added to the atlas. When activeFilters contains DynamicAtlasFilters.Size, textures larger than this size are excluded from the atlas. Otherwise, this value is not used.
minAtlasSize Specifies the minimum size (width/height) of the atlas texture, in pixels. This value must be a power of two, and must be greater than 0 and less than or equal to maxAtlasSize.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961