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 efficient and fast JsonUtility/GltfJsonUtilityParser for JSON parsing.
Inherited Members
Namespace: GLTFast
Assembly: solution.dll
Syntax
public class GltfImport : GltfImportBase<Root>, IDisposable, IGltfReadable<Root>, IGltfReadable
Constructors
| Name | Description |
|---|---|
| GltfImport(IDownloadProvider, IDeferAgent, IMaterialGenerator, ICodeLogger) | Constructs a GltfImport instance with injectable customization objects. |
Methods
| Name | Description |
|---|---|
| ParseJson(string) | De-serializes a glTF JSON string and returns the glTF root schema object. |