protected override void SerializeMembers(GLTFJsonFormatter f)
 {
     f.Key("humanBones"); f.GLTFValue(humanBones);
     f.KeyValue(() => armStretch);
     f.KeyValue(() => legStretch);
     f.KeyValue(() => upperArmTwist);
     f.KeyValue(() => lowerArmTwist);
     f.KeyValue(() => upperLegTwist);
     f.KeyValue(() => lowerLegTwist);
     f.KeyValue(() => feetSpacing);
     f.KeyValue(() => hasTranslationDoF);
 }
Exemplo n.º 2
0
 protected override void SerializeMembers(GLTFJsonFormatter f)
 {
     f.KeyValue(() => exporterVersion);
     f.Key("meta"); f.GLTFValue(meta);
     f.Key("humanoid"); f.GLTFValue(humanoid);
     f.Key("firstPerson"); f.GLTFValue(firstPerson);
     f.Key("blendShapeMaster"); f.GLTFValue(blendShapeMaster);
     f.Key("secondaryAnimation"); f.GLTFValue(secondaryAnimation);
     f.Key("materialProperties"); f.GLTFValue(materialProperties);
 }
Exemplo n.º 3
0
 protected override void SerializeMembers(GLTFJsonFormatter f)
 {
     f.Key("blendShapeGroups"); f.GLTFValue(blendShapeGroups);
 }
Exemplo n.º 4
0
 protected override void SerializeMembers(GLTFJsonFormatter f)
 {
     f.Key("boneGroups"); f.GLTFValue(boneGroups);
     f.Key("colliderGroups"); f.GLTFValue(colliderGroups);
 }
Exemplo n.º 5
0
 protected override void SerializeMembers(GLTFJsonFormatter f)
 {
     f.KeyValue(() => node);
     f.Key("colliders"); f.GLTFValue(colliders);
 }