Skip to main content

CommonGetFontName

Memoized getter function. Returns a font string specifying the player's preferred font stack. This is memoized as it is called on every frame in many cases.

Callable

  • CommonGetFontName(): string


  • Returns string

    • A font string specifying the player's preferred font stack. For example: "Courier New", "Courier", monospace

Index

Methods

Methods

clearCache

  • clearCache(): void
  • Clears the cache of the memoized function


    Returns void

Page Options