Reference · Documents and pages · lib.rs
set_font_locator Function
Once at start-up. Without it such text shows as gaps.
func setFontLocator(locator: FontLocator)public static void SetFontLocator(FontLocator locator)pub fn set_font_locator(locator: Arc<dyn FontLocator>)Parameters
| Name | Type | Swift / C# |
|---|---|---|
locator | Arc<dyn FontLocator> | locator |
Returns
Nothing.
Errors
Does not throw.
Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.