⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

Font.FromFamily

static Font FromFamily(string fontFamily)

Loads font from a specified list of font family names

   
string fontFamily List of font family names separated by comma(,) similar to a list of names css allows.
RETURNS: Font A font from the given font family names. If none of them match a usable font, this falls back to StereoKit’s builtin font, so this will always be a valid asset.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!