Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StyleBackgroundSize

Represents a style value that can be either a BackgroundSize or a StyleKeyword.
Read time 1 minuteLast updated 6 days ago

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.