HomeEngine API Reference - v2.20.6
    Preparing search index...

    Class Font

    Represents the resource of a font asset.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    intensity: number

    The font intensity.

    textures: Texture[]

    The font textures.

    Methods

    • Frees the GPU textures owned by the font and removes them from the resource loader cache. Called automatically when the owning font asset is unloaded (see Asset#unload).

      Returns void