Structure
DataTraitCollection
A collection of environment traits for an asset variant.
struct DataTraitCollection
Discussion
Traits describe properties of a rendering environment, such as a user-interface style (light or dark mode) and display-scale (1x, 2x, or 3x). A trait collection is a combination of traits and describes the rendering environment in which an asset variant is best suited for, e.g., an environment that uses the dark mode user-interface style and a display-scale of 3x.
Topics
Initializers
Instance Properties
Instance Methods
Type Properties