Constructor GltfImport
GltfImport(IDownloadProvider, IDeferAgent, IMaterialGenerator, ICodeLogger)
Constructs a GltfImport instance with injectable customization objects.
Declaration
public GltfImport(IDownloadProvider downloadProvider = null, IDeferAgent deferAgent = null, IMaterialGenerator materialGenerator = null, ICodeLogger logger = null)
Parameters
Type | Name | Description |
---|---|---|
IDownloadProvider | downloadProvider | Provides file access or download customization |
IDeferAgent | deferAgent | Provides custom update loop behavior for better frame rate control |
IMaterialGenerator | materialGenerator | Provides custom glTF to Unity material conversion |
ICodeLogger | logger | Provides custom message logging |