public static GltfData CreateFromGltfDataForTest(glTF gltf, ArraySegment <byte> bytes) { return(new GltfData( string.Empty, string.Empty, gltf, new List <GlbChunk> { new GlbChunk(), // json GlbChunk.CreateBin(bytes), },
public static Glb Create(string json, ArraySegment <byte> bin) { return(new Glb(GlbChunk.CreateJson(json), GlbChunk.CreateBin(bin))); }