"description":"This is the list of cubes associated with this bone.",
"items":{
"additionalProperties":false,
"type":"object",
"description":"A single cube",
"properties":{
"inflate":{
"type":"number",
"description":"Grow this box by this additive amount in all directions (in model space units), this field overrides the bone's inflate field for this cube only."
},
"mirror":{
"type":"boolean",
"description":"Mirrors this cube about the unrotated x axis (effectively flipping the east / west faces), overriding the bone's 'mirror' setting for this cube."
"description":"If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14.",
"description":"If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14."
},
{
"type":"number",
"title":"Y",
"description":"If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14."
},
{
"type":"number",
"title":"Z",
"description":"If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14."
"description":"This is an alternate per-face uv mapping which specifies each face of the cube. Omitting a face will cause that face to not get drawn.",
"description":"This is a list of locators associated with this bone. A locator is a point in model space that tracks a particular bone as the bone animates (by maintaining it's relationship to the bone through the animation).",
"type":"object",
"additionalProperties":{
"oneOf":[
{
"type":"object",
"required":["offset","rotation"],
"properties":{
"offset":{
"type":"array",
"minItems":3,
"maxItems":3,
"description":"Position of the locator in model space.",
"description":"This is a list of locators associated with this bone. A locator is a point in model space that tracks a particular bone as the bone animates (by maintaining it's relationship to the bone through the animation).",
"description":"***EXPERIMENTAL*** A triangle or quad mesh object. Can be used in conjunction with cubes and texture geometry.",
"required":["polys"],
"properties":{
"normalized_uvs":{
"type":"boolean",
"description":"If true, UVs are assumed to be [0-1]. If false, UVs are assumed to be [0-texture_width] and [0-texture_height] respectively."
},
"normals":{
"type":"array",
"description":"Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items":{
"type":"array",
"minItems":3,
"maxItems":3,
"description":"Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items":{
"type":"number",
"description":"Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections."
}
}
},
"polys":{
"oneOf":[
{
"type":"string",
"description":"If not specifying vertex indices, arrays of data must be a list of tris or quads, set by making this property either \"tri_list\" or \"quad_list\"",
"enum":["tri_list","quad_list"]
},
{
"type":"array",
"description":"Poly element indices, as an array of polygons, each an array of either three or four vertices, each an array of indices into positions, normals, and UVs (in that order).",
"items":{
"type":"array",
"minItems":3,
"maxItems":4,
"description":"Poly element indices, as an array of polygons, each an array of either three or four vertices, each an array of indices into positions, normals, and UVs (in that order).",
"description":"Vertex positions for the mesh. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the normals and UVs sections."
}
}
},
"uvs":{
"type":"array",
"description":"Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"items":{
"type":"array",
"description":"Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"minItems":2,
"maxItems":2,
"items":{
"type":"number",
"description":"Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections."