기술 자료

Unity Engine

Unity Engine

StyleBackgroundPosition

Represents a style value that can be either a BackgroundPosition or a StyleKeyword.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public struct StyleBackgroundPosition : IStyleValue<BackgroundPosition>, IEquatable<StyleBackgroundPosition>

Constructors

Constructor

Description

StyleBackgroundPosition(UnityEngine.UIElements.BackgroundPosition)Creates a new StyleBackgroundPosition from either a BackgroundPosition or a StyleKeyword.
StyleBackgroundPosition(UnityEngine.UIElements.StyleKeyword)Creates a new StyleBackgroundPosition from either a BackgroundPosition or a StyleKeyword.

Properties

Property

Description

keywordThe style keyword.
valueThe BackgroundPosition value.