Skip to main content

fur_v3_0.json

fur.json { "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "color_rgb": { "type": "object", "properties"...

Updated over 3 weeks ago

fur.json

{
	"$schema": "http://json-schema.org/draft-04/schema#",
	"definitions": {
		"color_rgb": {
			"type": "object",
			"properties": {
				"r": {
					"type": "number",
					"minimum": 0,
					"maximum": 1
				},
				"g": {
					"type": "number",
					"minimum": 0,
					"maximum": 1
				},
				"b": {
					"type": "number",
					"minimum": 0,
					"maximum": 1
				}
			},
			"required": ["r", "g", "b"]
		}
	},
	"type": "object",
	"properties": {
		"preset_name": {
			"description": "If provided, initial fur properties are set. You may still configure individual fur properties."
			"type": "string"
		},
		"properties": {
			"type": "object",
			"properties": {
				"length": {
					"type": "number",
					"minimum": 0.1,
					"maximum": 100
				},
				"thickness": {
					"type": "number",
					"minimum": 0.01,
					"maximum": 10
				},
				"gravity": {
					"type": "number",
					"minimum": -10,
					"maximum": 10
				},
				"bend": {
					"type": "number",
					"minimum": 0.1,
					"maximum": 100
				},
				"taper": {
					"type": "number",
					"minimum": 0,
					"maximum": 1
				},
				"density": {
					"type": "number",
					"minimum": 1,
					"maximum": 1000
				}
			}
		}
	},
	"curl": {
		"type": "object",
		"properties": {
			"radius": {
				"type": "number",
				"minimum": 0,
				"maximum": 50
			},
			"angle": {
				"type": "number",
				"minimum": 0,
				"maximum": 6.283185307178
			}
		}
	},
	"variation": {
		"type": "object",
		"properties": {
			"length": {
				"type": "number",
				"minimum": 0,
				"maximum": 1
			},
			"thickness": {
				"type": "number",
				"minimum": 0,
				"maximum": 1
			},
			"gravity": {
				"type": "number",
				"minimum": 0,
				"maximum": 1
			},
			"curl_radius": {
				"type": "number",
				"minimum": 0,
				"maximum": 1
			},
			"direction": {
				"type": "number",
				"minimum": 0,
				"maximum": 100
			}
		}
	},
	"specular": {
		"type": "object",
		"properties": {
			"color": {
				"$ref": "#/definitions/color_rgb"
			},
			"amount": {
				"type": "number",
				"minimum": 1,
				"maximum": 100
			},
			"spread": {
				"type": "number",
				"minimum": 0,
				"maximum": 1
			}
		}
	}
}
Did this answer your question?