Version: 2019.2

FontEngineError

enumeration

Switch to Manual

Description

Error code returned by the various FontEngine functions.

Variables

SuccessError code returned when the function was successfully executed.
Invalid_File_PathError code returned by the LoadFontFace function when the file path to the source font file appears invalid.
Invalid_File_FormatError code returned by the LoadFontFace function when the source font file is of an unknown or invalid format.
Invalid_File_StructureError code returned by the LoadFontFace function when the source font file appears invalid or improperly formatted.
Invalid_Glyph_IndexError code returned by the LoadGlyph function when referencing an invalid or out of range glyph index value.
Invalid_Character_CodeError code returned by the LoadGlyph function when referencing an invalid Unicode character value.
Invalid_Pixel_SizeError code returned by the LoadGlyph or SetFaceSize functions using an invalid pointSize value.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961