Выберите подходящий для вас язык программирования. Все примеры кода будут представлены на выбранном языке.
struct in UnityEngine
Благодарим вас за то, что вы помогаете нам улучшить качество документации по Unity. Однако, мы не можем принять любой перевод. Мы проверяем каждый предложенный вами вариант перевода и принимаем его только если он соответствует оригиналу.
ЗакрытьПо определённым причинам предложенный вами перевод не может быть принят. Пожалуйста <a>попробуйте снова</a> через пару минут. И выражаем вам свою благодарность за то, что вы уделяете время, чтобы улучшить документацию по Unity.
ЗакрытьИнформация о том, как сделать символ из текстуры шрифта. См. Font.characterInfo
.
See Also: Example at Font.RequestCharactersInTexture.
advance | The horizontal distance from the origin of this character to the origin of the next character. |
bearing | The horizontal distance from the origin of this glyph to the begining of the glyph image. |
glyphHeight | The height of the glyph image. |
glyphWidth | Стиль символа. |
index | Юникод значение символа. |
maxX | The maximum extend of the glyph image in the x-axis. |
maxY | The maximum extend of the glyph image in the y-axis. |
minX | The minium extend of the glyph image in the x-axis. |
minY | The minimum extend of the glyph image in the y-axis. |
size | Размер символа или значение 0, если это размер шрифта по умолчанию. |
style | Стиль символа. |
uvBottomLeft | The uv coordinate matching the bottom left of the glyph image in the font texture. |
uvBottomRight | The uv coordinate matching the bottom right of the glyph image in the font texture. |
uvTopLeft | The uv coordinate matching the top left of the glyph image in the font texture. |
uvTopRight | The uv coordinate matching the top right of the glyph image in the font texture. |