Add Games File
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"title": "Collider",
|
||||
"type": "object",
|
||||
"description": "collider definition for SpringBone",
|
||||
"allOf": [ { "$ref": "glTFProperty.schema.json" } ],
|
||||
"properties": {
|
||||
"node": {
|
||||
"allOf": [ { "$ref": "glTFid.schema.json" } ],
|
||||
"description": "The node index."
|
||||
},
|
||||
"shape": {
|
||||
"allOf": [ { "$ref": "VRMC_springBone.shape.schema.json" } ],
|
||||
"description": ""
|
||||
},
|
||||
"extensions": { },
|
||||
"extras": { }
|
||||
},
|
||||
"required": [
|
||||
"node",
|
||||
"shape"
|
||||
]
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"title": "ColliderGroup",
|
||||
"type": "object",
|
||||
"description": "collider group definition for SpringBone",
|
||||
"allOf": [ { "$ref": "glTFProperty.schema.json" } ],
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the ColliderGroup"
|
||||
},
|
||||
"colliders": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "glTFid.schema.json"
|
||||
},
|
||||
"description": "An array of colliders.",
|
||||
"minItems": 1
|
||||
},
|
||||
"extensions": { },
|
||||
"extras": { }
|
||||
},
|
||||
"required": [
|
||||
"colliders"
|
||||
]
|
||||
}
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"title": "SpringBoneJoint",
|
||||
"type": "object",
|
||||
"description": "A bone joint of VRMCSpringBone.",
|
||||
"allOf": [ { "$ref": "glTFProperty.schema.json" } ],
|
||||
"properties": {
|
||||
"node": {
|
||||
"allOf": [ { "$ref": "glTFid.schema.json" } ],
|
||||
"description": "The node index."
|
||||
},
|
||||
"hitRadius": {
|
||||
"type": "number",
|
||||
"description": "The radius of spring sphere.",
|
||||
"default": 0.0,
|
||||
"minimum": 0.0
|
||||
},
|
||||
"stiffness": {
|
||||
"type": "number",
|
||||
"description": "The force to return to the initial pose.",
|
||||
"default": 1.0,
|
||||
"minimum": 0.0
|
||||
},
|
||||
"gravityPower": {
|
||||
"type": "number",
|
||||
"description": "Gravitational acceleration.",
|
||||
"default": 0.0,
|
||||
"minimum": 0.0
|
||||
},
|
||||
"gravityDir": {
|
||||
"type": "array",
|
||||
"description": "The direction of gravity. A gravity other than downward direction also works.",
|
||||
"items": {
|
||||
"type": "number"
|
||||
},
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"default": [
|
||||
0.0,
|
||||
-1.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
"dragForce": {
|
||||
"type": "number",
|
||||
"description": "Air resistance. Deceleration force.",
|
||||
"default": 0.5,
|
||||
"minimum": 0.0,
|
||||
"maximum": 1.0
|
||||
},
|
||||
"extensions": { },
|
||||
"extras": { }
|
||||
},
|
||||
"required": [
|
||||
"node"
|
||||
]
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"title": "VRMCSpringBone",
|
||||
"type": "object",
|
||||
"description": "SpringBone makes objects such as costumes and hair swaying",
|
||||
"allOf": [ { "$ref": "glTFProperty.schema.json" } ],
|
||||
"properties": {
|
||||
"specVersion": {
|
||||
"type": "string",
|
||||
"description": "Specification version of VRMC_springBone"
|
||||
},
|
||||
"colliders": {
|
||||
"type": "array",
|
||||
"description": "An array of colliders.",
|
||||
"items": {
|
||||
"$ref": "VRMC_springBone.collider.schema.json"
|
||||
},
|
||||
"minItems": 1
|
||||
},
|
||||
"colliderGroups": {
|
||||
"type": "array",
|
||||
"description": "An array of colliderGroups.",
|
||||
"items": {
|
||||
"$ref": "VRMC_springBone.colliderGroup.schema.json"
|
||||
},
|
||||
"minItems": 1
|
||||
},
|
||||
"springs": {
|
||||
"type": "array",
|
||||
"description": "An array of springs.",
|
||||
"items": {
|
||||
"$ref": "VRMC_springBone.spring.schema.json"
|
||||
},
|
||||
"minItems": 1
|
||||
},
|
||||
"extensions": { },
|
||||
"extras": { }
|
||||
},
|
||||
"required": [ "specVersion" ]
|
||||
}
|
||||
+68
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"title": "ColliderShape",
|
||||
"type": "object",
|
||||
"description": "Shape of collider. Have one of sphere and capsule",
|
||||
"allOf": [ { "$ref": "glTFProperty.schema.json" } ],
|
||||
"properties": {
|
||||
"sphere": {
|
||||
"type": "object",
|
||||
"title": "ColliderShapeSphere",
|
||||
"properties": {
|
||||
"offset": {
|
||||
"type": "array",
|
||||
"description": "The sphere center. vector3",
|
||||
"items": {
|
||||
"type": "number"
|
||||
},
|
||||
"default": [0.0, 0.0, 0.0],
|
||||
"minItems": 3,
|
||||
"maxItems": 3
|
||||
},
|
||||
"radius": {
|
||||
"type": "number",
|
||||
"description": "The sphere radius",
|
||||
"default": 0.0,
|
||||
"minimum": 0.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"capsule": {
|
||||
"type": "object",
|
||||
"title": "ColliderShapeCapsule",
|
||||
"properties": {
|
||||
"offset": {
|
||||
"type": "array",
|
||||
"description": "The capsule head. vector3",
|
||||
"items": {
|
||||
"type": "number"
|
||||
},
|
||||
"default": [0.0, 0.0, 0.0],
|
||||
"minItems": 3,
|
||||
"maxItems": 3
|
||||
},
|
||||
"radius": {
|
||||
"type": "number",
|
||||
"description": "The capsule radius",
|
||||
"default": 0.0,
|
||||
"minimum": 0.0
|
||||
},
|
||||
"tail": {
|
||||
"type": "array",
|
||||
"description": "The capsule tail. vector3",
|
||||
"items": {
|
||||
"type": "number"
|
||||
},
|
||||
"default": [0.0, 0.0, 0.0],
|
||||
"minItems": 3,
|
||||
"maxItems": 3
|
||||
}
|
||||
}
|
||||
},
|
||||
"extensions": { },
|
||||
"extras": { }
|
||||
},
|
||||
"oneOf": [
|
||||
{ "required": [ "sphere" ] },
|
||||
{ "required": [ "capsule" ] }
|
||||
]
|
||||
}
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"title": "Spring",
|
||||
"type": "object",
|
||||
"description": "A bone group of VRMCSpringBone.",
|
||||
"allOf": [ { "$ref": "glTFProperty.schema.json" } ],
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the Spring"
|
||||
},
|
||||
"joints": {
|
||||
"type": "array",
|
||||
"description": "Joints of the spring. Except for the first element, a previous joint of the array must be an ancestor of the joint.",
|
||||
"items": {
|
||||
"$ref": "VRMC_springBone.joint.schema.json"
|
||||
},
|
||||
"minItems": 1
|
||||
},
|
||||
"colliderGroups": {
|
||||
"type": "array",
|
||||
"description": "Indices of ColliderGroups that detect collision with this spring.",
|
||||
"items": {
|
||||
"$ref": "glTFid.schema.json",
|
||||
"description": "Index in colliderGroups."
|
||||
},
|
||||
"minItems": 1
|
||||
},
|
||||
"center": {
|
||||
"allOf": [ { "$ref": "glTFid.schema.json" } ],
|
||||
"description": "An index of node which is used as a root of center space."
|
||||
},
|
||||
"extensions": { },
|
||||
"extras": { }
|
||||
},
|
||||
"required": [
|
||||
"joints"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user