| Package | Description |
|---|---|
| de.javagl.jgltf.model |
Classes for loading and accessing glTF data.
|
| de.javagl.jgltf.model.impl |
Default implementations of the glTF model interfaces.
|
| de.javagl.jgltf.model.v1 |
Implementations for the
GltfModel classes,
based on glTF 1.0. |
| de.javagl.jgltf.model.v1.gl |
Classes related to GL-based rendering, implemented for glTF 1.0
In most cases, these classes should not directly be used by clients. |
| de.javagl.jgltf.model.v2 |
Implementations for the
GltfModel classes,
based on glTF 2.0. |
| Modifier and Type | Method and Description |
|---|---|
MaterialModel |
MeshPrimitiveModel.getMaterialModel()
Returns the
MaterialModel that should be used for rendering
this mesh primitive |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<MaterialModel> |
GltfModel.getMaterialModels()
Returns an unmodifiable view on the list of
MaterialModel
instances that have been created for the glTF. |
| Modifier and Type | Method and Description |
|---|---|
MaterialModel |
DefaultMeshPrimitiveModel.getMaterialModel() |
MaterialModel |
DefaultGltfModel.getMaterialModel(int index)
Return the
MaterialModel at the given index |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<MaterialModel> |
DefaultGltfModel.getMaterialModels() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultGltfModel.addMaterialModel(MaterialModel materialModel)
Add the given
MaterialModel to this model |
void |
DefaultGltfModel.removeMaterialModel(MaterialModel materialModel)
Remove the given
MaterialModel from this model |
void |
DefaultMeshPrimitiveModel.setMaterialModel(MaterialModel materialModel)
Set the
MaterialModel |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultGltfModel.addMaterialModels(java.util.Collection<? extends MaterialModel> materialModels)
Add the given
MaterialModel instances to this model |
| Modifier and Type | Class and Description |
|---|---|
class |
MaterialModelV1
Implementation of a
MaterialModel for glTF 1.0. |
| Modifier and Type | Method and Description |
|---|---|
static MaterialModel |
DefaultModels.getDefaultMaterialModel()
Return the default
MaterialModel |
| Modifier and Type | Class and Description |
|---|---|
class |
MaterialModelV2
Implementation of a
MaterialModel for glTF 2.0. |
Copyright © 2022. All Rights Reserved.