| Package | Description |
|---|---|
| de.javagl.jgltf.model.io |
Classes for reading and writing glTF data
|
| de.javagl.jgltf.model.io.v1 |
Classes for reading and writing glTF data, for glTF 1.0.
|
| de.javagl.jgltf.model.io.v2 |
Classes for reading and writing glTF data, for glTF 2.0.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.function.Consumer<JsonError> |
JsonErrorConsumers.createLogging()
Create a consumer for
JsonError instances that only prints
warning log messages for the errors. |
static java.util.function.Consumer<JsonError> |
JacksonUtils.loggingJsonErrorConsumer()
Returns a consumer for
JsonErrors that prints logging
messages for the errors. |
| Modifier and Type | Method and Description |
|---|---|
static void |
JacksonUtils.configure(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
java.util.function.Consumer<? super JsonError> jsonErrorConsumer)
Perform a default configuration of the given object mapper for
parsing glTF data
|
static com.fasterxml.jackson.databind.ObjectMapper |
JacksonUtils.createObjectMapper(java.util.function.Consumer<? super JsonError> jsonErrorConsumer)
Create a default Jackson object mapper for this class
|
void |
GltfModelReader.setJsonErrorConsumer(java.util.function.Consumer<? super JsonError> jsonErrorConsumer)
Set the given consumer to receive
JsonErrors that may
occur when a glTF is read |
void |
GltfAssetReader.setJsonErrorConsumer(java.util.function.Consumer<? super JsonError> jsonErrorConsumer)
Set the given consumer to receive
JsonErrors that may
occur when a glTF is read |
| Modifier and Type | Method and Description |
|---|---|
void |
GltfReaderV1.setJsonErrorConsumer(java.util.function.Consumer<? super JsonError> jsonErrorConsumer)
Set the given consumer to receive
JsonErrors that may
occur when the JSON part of the glTF is read |
| Modifier and Type | Method and Description |
|---|---|
void |
GltfReaderV2.setJsonErrorConsumer(java.util.function.Consumer<? super JsonError> jsonErrorConsumer)
Set the given consumer to receive
JsonErrors that may
occur when the JSON part of the glTF is read |
Copyright © 2022. All Rights Reserved.