private Mesh CreateEmptyMesh() { var tmp = new Mesh(); var compPosition = new MeshPosition3Component(); var compNormal = new MeshNormalComponent(); var compUV = new MeshUVComponent(); tmp.AddComponent(compPosition); tmp.AddComponent(compNormal); tmp.AddComponent(compUV); return(tmp); }