LocalizedFontDescription.ResourceFiles Property (Microsoft.Xna.Framework.Content.Pipeline.Graphics)

Add a new property to our font description, which will allow us to include a ResourceFiles element in the .spritefont XML. We use the ContentSerializer attribute to mark this as optional, so existing .spritefont files that do not include this ResourceFiles element can be imported as well.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public List<string> ResourceFiles { get; }

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Property Value

Type: List<System.String>
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop