| 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.v2 |
Implementations for the
GltfModel classes,
based on glTF 2.0. |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<TextureModel> |
GltfModel.getTextureModels()
Returns an unmodifiable view on the list of
TextureModel
instances that have been created for the glTF. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultTextureModel
Implementation of a
TextureModel |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<TextureModel> |
DefaultGltfModel.getTextureModels() |
| Modifier and Type | Method and Description |
|---|---|
TextureModel |
MaterialModelV2.getBaseColorTexture()
Returns the base color texture
|
TextureModel |
MaterialModelV2.getEmissiveTexture()
Returns the emissive texture
|
TextureModel |
MaterialModelV2.getMetallicRoughnessTexture()
Returns the metallic-roughness-texture
|
TextureModel |
MaterialModelV2.getNormalTexture()
Returns the normal texture
|
TextureModel |
MaterialModelV2.getOcclusionTexture()
Returns the occlusion texture
|
| Modifier and Type | Method and Description |
|---|---|
void |
MaterialModelV2.setBaseColorTexture(TextureModel baseColorTexture)
Set the base color texture
|
void |
MaterialModelV2.setEmissiveTexture(TextureModel emissiveTexture)
Set the emissive texture
|
void |
MaterialModelV2.setMetallicRoughnessTexture(TextureModel metallicRoughnessTexture)
Set the metallic-roughness-texture
|
void |
MaterialModelV2.setNormalTexture(TextureModel normalTexture)
Set the normal texture
|
void |
MaterialModelV2.setOcclusionTexture(TextureModel occlusionTexture)
Set the occlusion texture
|
Copyright © 2022. All Rights Reserved.