TryGetGlyphWithIndexValue(uint, GlyphLoadFlags, out Glyph)
Try loading the glyph for the given index value and if available populate the glyph.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.TextCore.LowLevel
- Assembly: UnityEngine.TextCoreFontEngineModule
TryGetGlyphWithIndexValue(uint, GlyphLoadFlags, Glyph)
public static bool TryGetGlyphWithIndexValue(uint glyphIndex, GlyphLoadFlags flags, out Glyph glyph)
Parameters
The index of the glyph that should be loaded.
The glyph loading flag that should be used to load the glyph.
The glyph using the provided index or the .notdef glyph (index 0) if no glyph was found at that index.
Returns
Type | Description |
|---|---|
| bool | Returns true if a glyph exists at the given index. Otherwise returns false. |