Script interface for font assets.
You can use this class to dynamically switch fonts on Text Meshes.
See Also: TextMesh.
ascent | El tamaño por defecto de la fuente. |
characterInfo | Access an array of all characters contained in the font texture. |
dynamic | Is the font a dynamic font. |
fontSize | El tamaño por defecto de la fuente. |
lineHeight | El tamaño por defecto de la fuente. |
material | The material used for the font display. |
Font | Crear una nueva fuente. |
GetCharacterInfo | Get rendering info for a specific character. |
HasCharacter | ¿Contiene esta fuente un carácter específico? |
RequestCharactersInTexture | Request characters to be added to the font texture (dynamic fonts only). |
CreateDynamicFontFromOSFont | Creates a Font object which lets you render a font installed on the user machine. |
GetMaxVertsForString | Returns the maximum number of verts that the text generator may return for a given string. |
GetOSInstalledFontNames | Get names of fonts installed on the machine. |
GetPathsToOSFonts | Gets the file paths of the fonts that are installed on the operating system. |
textureRebuilt | Set a function to be called when the dynamic font texture is rebuilt. |