makeMesh
function makeMesh(text): TextMesh;
Function: makeMesh()
function makeMesh(text): TextMesh;Defined in: packages/renderer/src/Text.ts:198
Build a mesh that draws glyphs from the shared resources.
Parameters
| Parameter | Type |
|---|---|
text | Text |
Returns
Remarks
The toolkit mesh is created lazily on the first TextMesh.setLayout
— its constructor requires a layout, and a text entity has none until its
first layout resolves. Appearance setters are inert until
TextMesh.commit runs; the entity renderer registers commits with
ctx.waitFor, so a frame is never drawn with half-built text.
No z-lift: text over a coplanar backdrop wins by paint order (Sync's
syncLayers), like any other layer.