C# Class UnityEngine.TextGenerationSettings

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Свойство Type Description
alignByGeometry bool
color Color
font Font
fontSize int
fontStyle FontStyle
generateOutOfBounds bool
generationExtents Vector2
horizontalOverflow HorizontalWrapMode
lineSpacing float
pivot Vector2
resizeTextForBestFit bool
resizeTextMaxSize int
resizeTextMinSize int
richText bool
scaleFactor float
textAnchor TextAnchor
updateBounds bool
verticalOverflow VerticalWrapMode

Méthodes publiques

Méthode Description
Equals ( TextGenerationSettings other ) : bool

Private Methods

Méthode Description
CompareColors ( Color left, Color right ) : bool
CompareVector2 ( Vector2 left, Vector2 right ) : bool

Method Details

Equals() public méthode

public Equals ( TextGenerationSettings other ) : bool
other TextGenerationSettings
Résultat bool

Property Details

alignByGeometry public_oe property

Use the extents of glyph geometry to perform horizontal alignment rather than glyph metrics.

public bool alignByGeometry
Résultat bool

color public_oe property

The base color for the text generation.

public Color color
Résultat Color

font public_oe property

Font to use for generation.

public Font,UnityEngine font
Résultat Font

fontSize public_oe property

Font size.

public int fontSize
Résultat int

fontStyle public_oe property

Font style.

public FontStyle fontStyle
Résultat FontStyle

generateOutOfBounds public_oe property

Continue to generate characters even if the text runs out of bounds.

public bool generateOutOfBounds
Résultat bool

generationExtents public_oe property

Extents that the generator will attempt to fit the text in.

public Vector2 generationExtents
Résultat Vector2

horizontalOverflow public_oe property

What happens to text when it reaches the horizontal generation bounds.

public HorizontalWrapMode horizontalOverflow
Résultat HorizontalWrapMode

lineSpacing public_oe property

The line spacing multiplier.

public float lineSpacing
Résultat float

pivot public_oe property

Generated vertices are offset by the pivot.

public Vector2 pivot
Résultat Vector2

resizeTextForBestFit public_oe property

Should the text be resized to fit the configured bounds?

public bool resizeTextForBestFit
Résultat bool

resizeTextMaxSize public_oe property

Maximum size for resized text.

public int resizeTextMaxSize
Résultat int

resizeTextMinSize public_oe property

Minimum size for resized text.

public int resizeTextMinSize
Résultat int

richText public_oe property

Allow rich text markup in generation.

public bool richText
Résultat bool

scaleFactor public_oe property

A scale factor for the text. This is useful if the Text is on a Canvas and the canvas is scaled.

public float scaleFactor
Résultat float

textAnchor public_oe property

How is the generated text anchored.

public TextAnchor textAnchor
Résultat TextAnchor

updateBounds public_oe property

Should the text generator update the bounds from the generated text.

public bool updateBounds
Résultat bool

verticalOverflow public_oe property

What happens to text when it reaches the bottom generation bounds.

public VerticalWrapMode verticalOverflow
Résultat VerticalWrapMode