mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-23 11:26:15 -05:00
25 lines
556 B
C#
25 lines
556 B
C#
using System;
|
|
using UniJSON;
|
|
|
|
namespace UniGLTF
|
|
{
|
|
[Serializable]
|
|
public class glTFSkin
|
|
{
|
|
[JsonSchema(Minimum = 0, ExplicitIgnorableValue = -1)]
|
|
public int inverseBindMatrices = -1;
|
|
|
|
[JsonSchema(Required = true, MinItems = 1)]
|
|
[ItemJsonSchema(Minimum = 0)]
|
|
public int[] joints;
|
|
|
|
[JsonSchema(Minimum = 0, ExplicitIgnorableValue = -1)]
|
|
public int skeleton = -1;
|
|
|
|
// empty schemas
|
|
public object extensions;
|
|
public object extras;
|
|
public string name;
|
|
}
|
|
}
|