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

FontEngine.SetFaceSize

Declaration

public static TextCore.LowLevel.FontEngineError SetFaceSize(int pointSize);

Parameters

pointSize The point size used to scale the font face.

Returns

FontEngineError A value of zero (0) if the font face was successfully scaled to the given point size.

Description

Set the size of the currently loaded font face.