Выберите подходящий для вас язык программирования. Все примеры кода будут представлены на выбранном языке.
struct in UnityEngine
Благодарим вас за то, что вы помогаете нам улучшить качество документации по Unity. Однако, мы не можем принять любой перевод. Мы проверяем каждый предложенный вами вариант перевода и принимаем его только если он соответствует оригиналу.
ЗакрытьПо определённым причинам предложенный вами перевод не может быть принят. Пожалуйста <a>попробуйте снова</a> через пару минут. И выражаем вам свою благодарность за то, что вы уделяете время, чтобы улучшить документацию по Unity.
ЗакрытьA struct that stores the settings for TextGeneration.
alignByGeometry | Use the extents of glyph geometry to perform horizontal alignment rather than glyph metrics. |
color | The base color for the text generation. |
font | Font to use for generation. |
fontSize | Font size. |
fontStyle | Font style. |
generateOutOfBounds | Continue to generate characters even if the text runs out of bounds. |
generationExtents | Extents that the generator will attempt to fit the text in. |
horizontalOverflow | What happens to text when it reaches the horizontal generation bounds. |
lineSpacing | Множитель межстрочного интервала. |
pivot | Generated vertices are offset by the pivot. |
resizeTextForBestFit | Should the text be resized to fit the configured bounds? |
resizeTextMaxSize | Maximum size for resized text. |
resizeTextMinSize | Minimum size for resized text. |
richText | Allow rich text markup in generation. |
scaleFactor | A scale factor for the text. This is useful if the Text is on a Canvas and the canvas is scaled. |
textAnchor | How is the generated text anchored. |
updateBounds | Should the text generator update the bounds from the generated text. |
verticalOverflow | What happens to text when it reaches the bottom generation bounds. |