using System;
using System.Collections.Generic;
using System.Linq;
using UniGLTF;
using Unity.Collections;
using VrmLib;
namespace UniVRM10
{
///
/// VrmLib.MeshGroup => GLTF
///
public static class MeshWriter
{
///
/// https://github.com/vrm-c/UniVRM/issues/800
///
/// SubMesh 単位に分割する。
/// SubMesh を Gltf の Primitive に対応させる。
///
///
///
///
///
///
static IEnumerable ExportMeshDivided(this VrmLib.Mesh mesh, List