Ejemplo n.º 1
0
 private static void SetMeshList(AnimationModelContent model, SerializableModel modelContent)
 {
     foreach (SerializableMesh meshContent in modelContent.meshList)
     {
         AnimationMesh mesh = CreateMesh(meshContent);
         model.AddMesh(mesh);
     }
 }
Ejemplo n.º 2
0
 private static void SetSkeleton(AnimationModelContent model, SerializableModel modelContent)
 {
     AnimationSkeleton skeleton = CreateSkeleton(modelContent.skeleton);
     model.SetSkeleton(skeleton);
 }
Ejemplo n.º 3
0
 private static void SetAnimationList(AnimationModelContent model, SerializableModel modelContent)
 {
     foreach (SerializableAnimation animationContent in modelContent.animationList)
     {
         Animation animation = CreateAnimation(animationContent);
         model.AddAnimation(animation);
     }
 }