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)

Parameters

NameTypeSwift / C#
locatorArc<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.