ドキュメント

Unity Engine

Unity Engine

TryGetGlyphIndex(uint, out uint)

Try to get the glyph index for the character at the given Unicode value.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

TryGetGlyphIndex(uint, uint)

public static bool TryGetGlyphIndex(uint unicode, out uint glyphIndex)

Parameters

unicode

The unicode value of the character for which to lookup the glyph index.

glyphIndex

The index of the glyph for the given unicode character or the .notdef glyph (index 0) if no glyph is available for the given Unicode value.

Returns

Type

Description

boolReturns true if the given unicode has a glyph index.