Version: 5.3 (switch to 5.4b)
IdiomaEnglish
  • C#
  • JS

Idioma de script

Selecciona tu lenguaje de programación favorito. Todos los fragmentos de código serán mostrados en este lenguaje.

CharacterInfo

struct in UnityEngine

Sugiere un cambio

¡Éxito!

Gracias por ayudarnos a mejorar la calidad de la documentación de Unity. A pesar de que no podemos aceptar todas las sugerencias, leemos cada cambio propuesto por nuestros usuarios y actualizaremos los que sean aplicables.

Cerrar

No se puedo enviar

Por alguna razón su cambio sugerido no pudo ser enviado. Por favor <a>intente nuevamente</a> en unos minutos. Gracias por tomarse un tiempo para ayudarnos a mejorar la calidad de la documentación de Unity.

Cerrar

Cancelar

Cambiar al Manual

Descripción

Specification for how to render a character from the font texture. See Font.characterInfo.

See Also: Example at Font.RequestCharactersInTexture.

Variables

advanceThe horizontal distance from the origin of this character to the origin of the next character.
bearingThe horizontal distance from the origin of this glyph to the begining of the glyph image.
glyphHeightThe height of the glyph image.
glyphWidthThe width of the glyph image.
indexValor Unicode del carácter.
maxXThe maximum extend of the glyph image in the x-axis.
maxYThe maximum extend of the glyph image in the y-axis.
minXThe minium extend of the glyph image in the x-axis.
minYThe minimum extend of the glyph image in the y-axis.
sizeThe size of the character or 0 if it is the default font size.
styleThe style of the character.
uvBottomLeftThe uv coordinate matching the bottom left of the glyph image in the font texture.
uvBottomRightThe uv coordinate matching the bottom right of the glyph image in the font texture.
uvTopLeftThe uv coordinate matching the top left of the glyph image in the font texture.
uvTopRightThe uv coordinate matching the top right of the glyph image in the font texture.