FontDescriptionImporter Class (Microsoft.Xna.Framework.Content.Pipeline)

Provides methods for reading .spritefont files for use in the Content Pipeline.
System.Object
   Microsoft.Xna.Framework.Content.Pipeline.ContentImporter<T>
      Microsoft.Xna.Framework.Content.Pipeline.FontDescriptionImporter

Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
[ContentImporterAttribute(".spritefont", DisplayName = "Sprite Font Importer - MonoGame", DefaultProcessor = "FontDescriptionProcessor")]
public class FontDescriptionImporter : ContentImporter<T>

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The FontDescriptionImporter type exposes the following members.

  Platforms Name Description
FontDescriptionImporter Initializes a new instance of FontDescriptionImporter. 
Top
  Platforms Name Description
Import Called by the XNA Framework when importing a .spritefont file to be used as a game asset. This is the method called by the XNA Framework when an asset is to be imported into an object that can be recognized by the Content Pipeline. (Overrides ContentImporter<T>.Import().)
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop