More code for the glTF exporter.