文档

Unity Engine

Unity Engine

StyleBackgroundRepeat

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

Definition

public struct StyleBackgroundRepeat : IStyleValue<BackgroundRepeat>, IEquatable<StyleBackgroundRepeat>

Constructors

Constructor

Description

StyleBackgroundRepeat(UnityEngine.UIElements.BackgroundRepeat)Creates a new StyleBackgroundRepeat from either a BackgroundRepeat or a StyleKeyword.
StyleBackgroundRepeat(UnityEngine.UIElements.StyleKeyword)Creates a new StyleBackgroundRepeat from either a BackgroundRepeat or a StyleKeyword.

Properties

Property

Description

keywordThe style keyword.
valueThe BackgroundRepeat value.