ModelLoader
Consumes a blob of glTF 2.0 content (either JSON or GLB) and produces a Model object, which is a bundle of Filament textures, vertex buffers, index buffers, etc.
A Model is composed of 1 or more ModelInstance objects which contain entities and components.
Constructors
Functions
Adds a new instance to the asset.
Creates a primary Model with one or more ModelInstances from the contents of a GLB or GLTF file.
Creates a Model with one or more ModelInstances from the contents of a GLB or GLTF file.
Creates a Model from the contents of a GLB or GLTF asset file.
Creates a Model from the contents of a GLB or GLTF Buffer.
Creates a Model from the contents of a GLB or GLTF raw file.
Creates a Model from the contents of a GLB or GLTF raw file and get its default instance.
Creates a Model from the contents of a GLB or GLTF Buffer.
Creates a Model from the contents of a GLB or GLTF asset file and get its default instance.
Loads a primary Model with one or more ModelInstances from the contents of a GLB or GLTF file.
Loads a primary Model with one or more ModelInstances from the contents of a GLB or GLTF file.
Loads a Model from the contents of a GLB or GLTF file and get its default instance.
Loads a Model from the contents of a GLB or GLTF file within a self owned coroutine scope