ドキュメント

Unity Engine

Unity Engine

FontAutoSize

Automatic font sizing settings for the Advanced Text Generator.
読み終わるまでの所要時間 1 分最終更新 20日前

Definition

public struct FontAutoSize

Fields

Value

Description

enabledShrink or grow the font size between FontAutoSize.minSize and FontAutoSize.maxSize so the text fits the extents.
maxSizeMaximum font size, in pixels.
minSizeMinimum font size, in pixels.

Constructors

Constructor

Description

FontAutoSize(System.Boolean,System.Single,System.Single)Creates automatic sizing settings.

Static Properties

Property

Description

DefaultAutomatic sizing disabled, with a size range of 0 to 100 pixels.