Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

FontDefinition.FromSDFFont

Declaration

public static UIElements.FontDefinition FromSDFFont(TextCore.Text.FontAsset f);

Parameters

f The SDF font to use to display text.

Returns

FontDefinition A new FontDefinition object.

Description

Create a FontDefinition from FontAsset.