// This file is generated from JsonSchema. Don't modify this source code. using System; using System.Collections.Generic; using UniGLTF; using UniJSON; namespace UniGLTF.Extensions.VRMC_springBone { public class SpringBoneJoint { // Dictionary object with extension-specific objects. public glTFExtension Extensions; // Application-specific data. public glTFExtension Extras; // The node index. public int? Node; // The radius of spring sphere. public float? HitRadius; // The force to return to the initial pose. public float? Stiffness; // Gravitational acceleration. public float? GravityPower; // The direction of gravity. A gravity other than downward direction also works. public float[] GravityDir; // Air resistance. Deceleration force. public float? DragForce; } public class Spring { // Dictionary object with extension-specific objects. public glTFExtension Extensions; // Application-specific data. public glTFExtension Extras; // Name of the Spring public string Name; // Joints of the spring. Except for the first element, a previous joint of the array must be an ancestor of the joint. public List Joints; // Colliders that detect collision with this spring. public int[] Colliders; } public class VRMC_springBone { public const string ExtensionName = "VRMC_springBone"; public static readonly Utf8String ExtensionNameUtf8 = Utf8String.From(ExtensionName); // Dictionary object with extension-specific objects. public glTFExtension Extensions; // Application-specific data. public glTFExtension Extras; // An array of springs. public List Springs; } }