Class GltfImport
Loads a glTF's content, converts it to Unity resources and is able to feed it to an IInstantiator for instantiation. Uses the powerful Newtonsoft JSON and flexible Root schema class for JSON de-serialization.
Inherited Members
Namespace: GLTFast.Newtonsoft
Assembly: solution.dll
Syntax
public class GltfImport : GltfImportBase<Root>, IDisposable, IGltfReadable<Root>, IGltfReadable
Constructors
Name | Description |
---|---|
GltfImport(IDownloadProvider, IDeferAgent, IMaterialGenerator, ICodeLogger) |
Methods
Name | Description |
---|---|
ParseJson(string) | De-serializes a glTF JSON string and returns the glTF root schema object. |