Font selector
This commit is contained in:
@@ -8,15 +8,37 @@
|
||||
{
|
||||
"id": "roboto",
|
||||
"path": "fonts/Roboto-Regular.ttf"
|
||||
},
|
||||
{
|
||||
"id": "analogMono",
|
||||
"path": "fonts/AnalogMono.ttf"
|
||||
}
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"id": "font",
|
||||
"label": "Font",
|
||||
"type": "enum",
|
||||
"default": "roboto",
|
||||
"options": [
|
||||
{
|
||||
"value": "roboto",
|
||||
"label": "Roboto"
|
||||
},
|
||||
{
|
||||
"value": "analogMono",
|
||||
"label": "Analog Mono"
|
||||
}
|
||||
],
|
||||
"description": "Font atlas used by the text overlay."
|
||||
},
|
||||
{
|
||||
"id": "titleText",
|
||||
"label": "Text",
|
||||
"type": "text",
|
||||
"default": "VIDEO SHADER",
|
||||
"font": "roboto",
|
||||
"fontParameter": "font",
|
||||
"maxLength": 64,
|
||||
"description": "Text string rendered into the SDF text texture."
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user