This object creates a 3D object of text as a single object.
text — The text that needs to be shown.
parameters — Object that can contains the following parameters.
- font — THREE.Font.
- size — Float. Size of the text.
- height — Float. Thickness to extrude text. Default is 50.
- curveSegments — Integer. Number of points on the curves. Default is 12.
- bevelEnabled — Boolean. Turn on bevel. Default is False.
- bevelThickness — Float. How deep into text bevel goes. Default is 10.
- bevelSize — Float. How far from text outline is bevel. Default is 8.
Font |
Weight |
Style |
File Path |
helvetiker |
normal |
normal |
/examples/fonts/helvetiker_regular.typeface.json |
helvetiker |
bold |
normal |
/examples/fonts/helvetiker_bold.typeface.json |
optimer |
normal |
normal |
/examples/fonts/optimer_regular.typeface.json |
optimer |
bold |
normal |
/examples/fonts/optimer_bold.typeface.json |
gentilis |
normal |
normal |
/examples/fonts/gentilis_regular.typeface.json |
gentilis |
bold |
normal |
/examples/fonts/gentilis_bold.typeface.json |
droid sans |
normal |
normal |
/examples/fonts/droid/droid_sans_regular.typeface.json |
droid sans |
bold |
normal |
/examples/fonts/droid/droid_sans_bold.typeface.json |
droid serif |
normal |
normal |
/examples/fonts/droid/droid_serif_regular.typeface.json |
droid serif |
bold |
normal |
/examples/fonts/droid/droid_serif_bold.typeface.json |