Interface: TextMeshEcsComponent
Defined in: text/components/text-mesh-component.ts:36
The shaped, GPU-ready output of a TextEcsComponent: one quad per visible
(non-whitespace, in-charset) glyph, plus the shaped block's own bounds.
System-owned: written only by createTextShapingEcsSystem, attached
lazily the first time it shapes an entity's TextEcsComponent. Never
construct or mutate this directly.
Properties
bounds
readonlybounds:object
Defined in: text/components/text-mesh-component.ts:44
The shaped block's own bounds, in world units, for layout callers (e.g. a future UI content-size fitter).
height
height:
number
width
width:
number
effectsRenderable
readonlyeffectsRenderable:Renderable
Defined in: text/components/text-mesh-component.ts:57
The FontAtlas-backed Renderable these glyphs' outline/shadow draws
with.
fillRenderable
readonlyfillRenderable:Renderable
Defined in: text/components/text-mesh-component.ts:51
The FontAtlas-backed Renderable these glyphs' fill draws with. See
createTextRenderable's doc comment for why fill and effects are two
separate, ordered Renderables rather than one.
glyphs
readonlyglyphs: readonlyGlyphQuad[]
Defined in: text/components/text-mesh-component.ts:38
One entry per visible glyph.