Added documentation to terrain textures

This commit is contained in:
Daan Verstraten
2022-03-12 10:14:16 +01:00
parent 1e7e1dc46a
commit 6e5e862600

View File

@@ -25,7 +25,7 @@
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" }, "path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" },
"tint_color": { "tint_color": {
"title": "Tint Color", "title": "Tint Color",
"description": "UNDOCUMENTED", "description": "The tint color to be applied to the texture",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"format": "color-hex", "format": "color-hex",
"examples": ["#FFFFFF"], "examples": ["#FFFFFF"],
@@ -34,17 +34,17 @@
"variations": { "variations": {
"type": "array", "type": "array",
"title": "Variantions", "title": "Variantions",
"description": "UNDOCUMENTED", "description": "The possible variations to use for this texture",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"items": { "items": {
"type": "object", "type": "object",
"title": "Variantion", "title": "Variantion",
"description": "UNDOCUMENTED", "description": "One of the variantions, specified along with a possible weight",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"required": ["path"], "required": ["path"],
"properties": { "properties": {
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" }, "path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" },
"weight": { "type": "integer", "title": "Weight", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } "weight": { "type": "integer", "title": "Weight", "description": "The weight of the texture", "$comment": "UNDOCUMENTED" }
} }
} }
} }