示例#1
0
        public void Write(AssetWriter writer)
        {
            Vertices.Write(writer);
            UV.Write(writer);
            if (HasBindPoses(writer.Version))
            {
                BindPoses.Write(writer);
            }

            Normals.Write(writer);
            Tangents.Write(writer);
            Weights.Write(writer);
            NormalSigns.Write(writer);
            TangentSigns.Write(writer);
            if (HasFloatColors(writer.Version))
            {
                FloatColors.Write(writer);
            }

            BoneIndices.Write(writer);
            Triangles.Write(writer);
            if (HasColors(writer.Version))
            {
                Colors.Write(writer);
            }
            if (HasUVInfo(writer.Version))
            {
                writer.Write(UVInfo);
            }
        }
 public void Write(AssetsWriter writer)
 {
     Verticies.Write(writer);
     UV.Write(writer);
     Normals.Write(writer);
     Tangents.Write(writer);
     Weights.Write(writer);
     NormalSigns.Write(writer);
     TangentSigns.Write(writer);
     FloatColors.Write(writer);
     BoneIndicies.Write(writer);
     Triangles.Write(writer);
     writer.Write(UVInfo);
 }