Skip to main content

Interface: TextRequiredOptions

Defined in: text/components/text-component.ts:18

Fields of TextEcsComponent with no sensible default; callers must always provide these.

Extended by​

Properties​

fontAtlas​

fontAtlas: FontAtlas

Defined in: text/components/text-component.ts:23

The loaded font atlas glyphs are drawn from.


size​

size: number

Defined in: text/components/text-component.ts:26

Font size, in world units - the rendered em height.


text​

text: string

Defined in: text/components/text-component.ts:20

The string to render.