文档

Unity Engine

Unity Engine

StyleBackgroundSize

Represents a style value that can be either a BackgroundSize or a StyleKeyword.
阅读时间1 分钟最后更新于 1 个月前

Definition

public struct StyleBackgroundSize : IStyleValue<BackgroundSize>, IEquatable<StyleBackgroundSize>

Constructors

Constructor

Description

StyleBackgroundSize(UnityEngine.UIElements.BackgroundSize)Creates a new StyleBackgroundSize from either a BackgroundSize or a StyleKeyword.
StyleBackgroundSize(UnityEngine.UIElements.StyleKeyword)Creates a new StyleBackgroundSize from either a BackgroundSize or a StyleKeyword.

Properties

Property

Description

keywordThe style keyword.
valueThe BackgroundSize value.