Skip to main content

Text

Render screen-space UI text by attaching a Screen to one entity and a text Element to a child entity. Both come from @playcanvas/react/components, and the font is an MSDF asset created with font-tools and loaded with useFont.

The demo renders Source Sans 3 (SIL Open Font License).