public Exporter() { Gltf = new Types.Gltf(); Cache = new ResourcesCache <string>(); BufferBuilder = new BufferBuilder(); Nodes = new NodeExporter(this); Meshes = new MeshExporter(this); Materials = new MaterialExporter(this); Textures = new TextureExporter(this); Images = new ImageExporter(this); // Asset Gltf.Asset = new Types.Asset { Version = "2.0", // glTF 2.0 }; }
public abstract IndexedResource <Material> Export(MaterialExporter exporter, Material mat);