コード例 #1
0
 public SerializeHumanoidFace(SerializeHumanoidFace serializeHumanoidFace)
 {
     for (int i = 0; i < serializeHumanoidFace.Smeshes.Count; i++)
     {
         Smeshes.Add(serializeHumanoidFace.Smeshes[i]);
         Array.Copy(serializeHumanoidFace.Smeshes[i].blendShapes, Smeshes[i].blendShapes,
                    serializeHumanoidFace.Smeshes[i].blendShapes.Length);
     }
     FrameCount = serializeHumanoidFace.FrameCount;
     Time       = serializeHumanoidFace.Time;
 }
コード例 #2
0
 public int BlendShapeNum()
 {
     return(Smeshes.Count == 0 ? 0 : Smeshes.Sum(t => t.blendShapes.Length));
 }