13 public string Url =
"";
28 FileStream gltfStream = null;
31 var fullPath = Path.Combine(Application.streamingAssetsPath, Url);
32 gltfStream = File.OpenRead(fullPath);
53 yield
return loader.
Load(-1, Multithreaded);
54 if (gltfStream != null)
IEnumerator Load(int sceneIndex=-1, bool isMultithreaded=false)
Loads via a web call the gltf file and then constructs a scene
Shader GLTFStandardSpecular
Component to load a GLTF scene with
virtual void SetShaderForMaterialType(MaterialType type, Shader shader)
Configures shaders in the shader cache for a given material type