Updated JsonSchema

This commit is contained in:
ousttrue 2018-10-11 08:58:44 +09:00
parent 3219488cfc
commit 950d018ee8
4 changed files with 11 additions and 11 deletions

View File

@ -3,15 +3,15 @@
"type": "object",
"properties": {
"firstPersonBone": {
"description": "Switch to Head bone when model is rendered in first-person view.",
"description": "Specify a bone whose rendering mode should be switched in first-person view. Usually Head is specified.",
"type": "integer"
},
"firstPersonBoneOffset": {
"description": "The target headset position in first-person view. Assuming the head bone is offset from the headset.",
"description": "The target position of the VR headset in first-person view. It is assumed that an offset from the head bone to the VR headset is added.",
"type": "array"
},
"meshAnnotations": {
"description": "Switch on \/ off mesh for display in first-person view, third-person view, or the others.",
"description": "Switch display \/ undisplay for each mesh in first-person view or the others.",
"type": "array",
"items": {
"$ref": "vrm.firstperson.meshannotation.schema.json"

View File

@ -4,7 +4,7 @@
"type": "object",
"properties": {
"exporterVersion": {
"description": "Version of exporter that vrm created. UniVRM-0.42",
"description": "Version of exporter that vrm created. UniVRM-0.44",
"type": "string"
},
"meta": {

View File

@ -3,7 +3,7 @@
"type": "object",
"properties": {
"node": {
"description": "Where the collision detection is set up.",
"description": "The node of the collider group for setting up collision detections.",
"type": "integer"
},
"colliders": {
@ -12,11 +12,11 @@
"type": "object",
"properties": {
"offset": {
"description": "The local coordinate from the collision detection node.",
"description": "The local coordinate from the node of the collider group.",
"type": "array"
},
"radius": {
"description": "The radius of the sphere (specified body part) used for collision detection with swaying objects.",
"description": "The radius of the collider.",
"type": "number"
}
}

View File

@ -15,7 +15,7 @@
"type": "number"
},
"gravityDir": {
"description": "The direction of gravity. Gravity can be enabled by (0, -1, 0) and setting (1, 0, 0) will act like wind.",
"description": "The direction of gravity. Set (0, -1, 0) for simulating the gravity. Set (1, 0, 0) for simulating the wind.",
"type": "array"
},
"dragForce": {
@ -23,11 +23,11 @@
"type": "number"
},
"center": {
"description": "The reference point of a swaying object can be set at any location except the origin. When implementing UI moving with warp, the parent node to be moved with warp can be specified if you dont want to make the object moving by warp movement.",
"description": "The reference point of a swaying object can be set at any location except the origin. When implementing UI moving with warp, the parent node to move with warp can be specified if you don't want to make the object swaying with warp movement.",
"type": "integer"
},
"hitRadius": {
"description": "The radius of the sphere (swaying object) used for collision detection with colliders (specified body parts).",
"description": "The radius of the sphere used for the collision detection with colliders.",
"type": "number"
},
"bones": {
@ -38,7 +38,7 @@
}
},
"colliderGroups": {
"description": "Specify the index of the collision detection group for the swaying object.",
"description": "Specify the index of the collider group for collisions with swaying objects.",
"type": "array",
"items": {
"type": "integer"