Text3D
The Text3D component renders extruded 3D text using Three.js TextGeometry. This is ideal for:
- Creating 3D titles and labels
- Building decorative text elements
- Displaying animated text in scenes
- Adding visual emphasis to annotations
Basic Usage
A minimal example that creates 3D text:
Key Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
font | str | - | URL to typeface.json font file or JSON object with font data |
smooth | float | - | Merges vertices with tolerance and calls computeVertexNormals for smoother appearance |
lineHeight | float | 0 | Line height in threejs units |
letterSpacing | float | 1 | Letter spacing factor |
Learn More
For detailed examples of using Text3D, see:
- 3D Text Tutorial - Complete text rendering guide