Пример #1
0
 public RhinoMaterialGltfConverter(glTFExportOptions options, bool binary, gltfSchemaDummy dummy, List <byte> binaryBuffer, RenderMaterial renderMaterial, LinearWorkflow workflow)
 {
     this.options        = options;
     this.binary         = binary;
     this.dummy          = dummy;
     this.binaryBuffer   = binaryBuffer;
     this.rhinoMaterial  = renderMaterial.SimulatedMaterial(RenderTexture.TextureGeneration.Allow);
     this.renderMaterial = renderMaterial;
     this.workflow       = workflow;
 }