Version: 2020.1
언어: 한국어

FontEngineError

enumeration

매뉴얼로 전환

설명

Error code returned by the various FontEngine functions.

변수

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_FileError code indicating an invalid font file.
Invalid_TableError code indicating failure to load one of the tables of the font file.
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.
Invalid_LibraryError code indicating failure to initialize the font engine library.
Invalid_FaceError code indicating an invalid font face.
Invalid_Library_or_FaceError code indicating failure to initialize the font engine library and / or successfully load a font face.
Atlas_Generation_CancelledError code returned when the FontEngine glyph packing or rendering process has been cancelled.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961