Modified descriptions

This commit is contained in:
PoChang-Su 2018-10-05 16:08:54 +09:00
parent da2a9cd243
commit edeec9797e
2 changed files with 12 additions and 12 deletions

View File

@ -72,13 +72,13 @@ namespace VRM
[JsonSchema(Title = "vrm.firstperson")]
public class glTF_VRM_Firstperson : UniGLTF.JsonSerializableBase
{
[JsonSchema(Description = "Switch to Head bone when model is rendered in first-person view.")]
[JsonSchema(Description = "Specify a bone whose rendering mode should be switched in first-person view. Usually Head is specified.")]
public int firstPersonBone = -1;
[JsonSchema(Description = "The target headset position in first-person view. Assuming the head bone is offset from the headset.")]
[JsonSchema(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.")]
public Vector3 firstPersonBoneOffset;
[JsonSchema(Description = "Switch on / off mesh for display in first-person view, third-person view, or the others.")]
[JsonSchema(Description = "Switch display / undisplay for each mesh in first-person view or the others.")]
public List<glTF_VRM_MeshAnnotation> meshAnnotations = new List<glTF_VRM_MeshAnnotation>();
// lookat

View File

@ -10,10 +10,10 @@ namespace VRM
[Serializable]
public class glTF_VRM_SecondaryAnimationCollider : JsonSerializableBase
{
[JsonSchema(Description = "The local coordinate from the collision detection node.")]
[JsonSchema(Description = "The local coordinate from the node of the collider group.")]
public Vector3 offset;
[JsonSchema(Description = "The radius of the sphere (specified body part) used for collision detection with swaying objects.")]
[JsonSchema(Description = "The radius of the collider.")]
public float radius;
protected override void SerializeMembers(GLTFJsonFormatter f)
@ -25,10 +25,10 @@ namespace VRM
[Serializable]
[JsonSchema(Title = "vrm.secondaryanimation.collidergroup", Description = "Set sphere balls (specified body parts) to collide with swaying objects.")]
[JsonSchema(Title = "vrm.secondaryanimation.collidergroup", Description = @"Set sphere balls for colliders used for collision detections with swaying objects.")]
public class glTF_VRM_SecondaryAnimationColliderGroup : JsonSerializableBase
{
[JsonSchema(Description = "Where the collision detection is set up.")]
[JsonSchema(Description = "The node of the collider group for setting up collision detections.")]
public int node;
public List<glTF_VRM_SecondaryAnimationCollider> colliders = new List<glTF_VRM_SecondaryAnimationCollider>();
@ -54,22 +54,22 @@ namespace VRM
[JsonSchema(Description = "The strength of gravity.")]
public float gravityPower;
[JsonSchema(Description = "The direction of gravity. Gravity can be enabled by (0, -1, 0) and setting (1, 0, 0) will act like wind.")]
[JsonSchema(Description = "The direction of gravity. Set (0, -1, 0) for simulating the gravity. Set (1, 0, 0) for simulating the wind.")]
public Vector3 gravityDir;
[JsonSchema(Description = "The resistance (deceleration) of automatic animation.")]
public float dragForce;
[JsonSchema(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.")]
[JsonSchema(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.")]
public int center;
[JsonSchema(Description = "The radius of the sphere (swaying object) used for collision detection with colliders (specified body parts).")]
[JsonSchema(Description = "The radius of the sphere used for the collision detection with colliders.")]
public float hitRadius;
[JsonSchema(Description = "Specify the node index of the root bone of the swaying object.")]
public int[] bones = new int[] { };
[JsonSchema(Description = "Specify the index of the collision detection group for the swaying object.")]
[JsonSchema(Description = "Specify the index of the collider group for collisions with swaying objects.")]
public int[] colliderGroups = new int[] { };
protected override void SerializeMembers(GLTFJsonFormatter f)
@ -87,7 +87,7 @@ namespace VRM
}
[Serializable]
[JsonSchema(Title = "vrm.secondaryanimation", Description = "Automatic animation setting for string-shaped objects such as tail and hair.")]
[JsonSchema(Title = "vrm.secondaryanimation", Description = "The setting of automatic animation of string-like objects such as tails and hairs.")]
public class glTF_VRM_SecondaryAnimation : JsonSerializableBase
{
public List<glTF_VRM_SecondaryAnimationGroup> boneGroups = new List<glTF_VRM_SecondaryAnimationGroup>();