-
Notifications
You must be signed in to change notification settings - Fork 1
Text
Josh Stovall edited this page Dec 3, 2020
·
1 revision
Create 3D text.
var options = {
text: 'hello world',
size: 15,
thick: 20,
color: '#FF0000'
}
new XR.Text(options);
See the live demo.
Name | Type | Default | Options | Description |
---|---|---|---|---|
text |
string |
text to show | ||
thickness |
float |
1 |
font thickness | |
color |
color |
white |
color of text | |
font |
json file |
font style to use | ||
segments |
int |
mesh segments | ||
size |
float |
1 |
size of text | |
bevel |
bool |
true |
rounded edges |