struct in UnityEngine
Specification for how to render a character from the font texture. See Font.characterInfo.
字体纹理如何渲染字符的规格。参考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 | The width of the glyph image. 字形图像的宽度。 |
index | Unicode value of the character. 字符的Unicode值。 |
maxX | The maximum extend of the glyph image in the x-axis. 字形图像在X轴上的最大延伸。 |
maxY | The maximum extend of the glyph image in the y-axis. 自形图像在y轴上的最大延伸。 |
minX | The minium extend of the glyph image in the x-axis. 字形图像在X轴上的最小延伸。 |
minY | The minimum extend of the glyph image in the y-axis. 字形图像在Y轴上的最小值。 |
size | The size of the character or 0 if it is the default font size. 该字符的大小,默认字体大小为0。 |
style | The style of the character. 字符的样式。 |
uvBottomLeft | The uv coordinate matching the bottom left of the glyph image in the font texture. UV坐标匹配的字体纹理的字形图像的左下角。 |
uvBottomRight | The uv coordinate matching the bottom right of the glyph image in the font texture. UV坐标匹配的字体纹理的字形图像的右下角。 |
uvTopLeft | The uv coordinate matching the top left of the glyph image in the font texture. UV坐标匹配的字体纹理的字形图像的左上角。 |
uvTopRight | The uv coordinate matching the top right of the glyph image in the font texture. UV坐标匹配的字体纹理的字形图像的右上角。 |