Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

CharacterInfo

Description

Info how to render a character from the font texture. See /Font.characterInfo/.

Variables

flippedIs the character flipped?
indexUnicode value of the character.
sizeThe size of the character or 0 if it is the default font size.
styleThe style of the character.
uvUV coordinates for the character in the texture.
vertScreen coordinates for the character in generated text meshes.
widthHow for to advance between the beginning of this charcater and the next.