Component:StaticFont

From Resonite Wiki
This page contains changes which are not marked for translation.
Component image 
Static Font component as seen in the Scene Inspector

The StaticFont component is used to store data on a font set like Avali Scratch, Times New Roman, Hieroglyphs, Arial, and Monospaced fonts (monospaced fonts help people with dyslexia).

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
URL Uri The location of where to load the font from
Padding Int How many pixels of padding should be used between letters in the font
PixelRange Int
GlyphEmSize Int
MipMaps Bool Whether to display lower res versions of the font when it is further away to save on performance
MipMapFiltering Filtering
LODBias Float Whether to see lower res versions at smaller distances to save performance

Usage

This component is auto generated when importing new font files. Simply find a font file (.TTF or similar) and drop it into the Resonite game window or import through the file browser in the dash. The game will then generate this component on a font object, with the URL field filled with a valid font resource.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See Also