Skip to main content

Function: setTextGeometryFactory()

setTextGeometryFactory(factory): void

Defined in: src/mobjects/three-d/Text3D.ts:155

Inject a geometry factory, replacing the lazy-loaded Three.js TextGeometry. Pass null to restore the default. Tests use this to avoid any font parsing.

Parameters​

factory​

TextGeometryFactory

Returns​

void