public Exporter(ExporterOptions options) { this.options = options; materials = new Dictionary <string, Material>(); multiMaterials = new Dictionary <string, Material[]>(); geometries = new Dictionary <string, Mesh>(); checkTags = false; }
void OnEnable() { options = new ExporterOptions(); options.dir = string.Empty; options.exportLights = true; options.exportMeshes = true; options.exportCameras = true; options.exportDisabled = true; options.castShadows = false; options.tags = new string[0]; selectTags = false; options.writePNGTextures = false; options.minifyJSON = true; }
void OnEnable() { Debug.Log("Three.JS Exporter started, " + DateTime.Now.ToLongTimeString()); options = new ExporterOptions(); options.dir = string.Empty; options.exportLights = true; options.exportMeshes = true; options.exportCameras = true; options.exportDisabled = true; options.castShadows = false; options.tags = new string[0]; selectTags = false; options.minifyJSON = true; }
void OnEnable() { options = new ExporterOptions(); options.dir = string.Empty; options.exportLights = true; options.exportMeshes = true; options.exportCameras = true; options.exportDisabled = true; options.castShadows = false; options.tags = new string[0]; selectTags = false; options.forceDoubleSidedMaterials = false; options.appendPNGExtensionToTextureURLs = false; options.minifyJSON = true; }