ドキュメント

Unity Engine

Unity Engine

StyleScale

Style value that can be either a Scale or a StyleKeyword.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public struct StyleScale : IStyleValue<Scale>, IEquatable<StyleScale>

Constructors

Constructor

Description

StyleScale(UnityEngine.UIElements.Scale)Creates a new StyleScale from a Scale.
StyleScale(UnityEngine.UIElements.StyleKeyword)Creates a new StyleScale from a StyleKeyword.
StyleScale(UnityEngine.Vector2)Creates a new StyleScale from a Vector2.

Properties

Property

Description

keywordThe style keyword.
valueThe Scale value.