기술 자료

Unity Engine

Unity Engine

StyleBackgroundSize

Represents a style value that can be either a BackgroundSize or a StyleKeyword.
읽는 시간 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.