| 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.io |
Classes for reading and writing glTF data
|
| de.javagl.jgltf.model.io.v2 |
Classes for reading and writing glTF data, for glTF 2.0.
|
| de.javagl.jgltf.model.v1 |
Implementations for the
GltfModel classes,
based on glTF 1.0. |
| de.javagl.jgltf.model.v2 |
Implementations for the
GltfModel classes,
based on glTF 2.0. |
| Modifier and Type | Method and Description |
|---|---|
static GltfModel |
GltfModels.create(GltfAsset gltfAsset)
|
| Modifier and Type | Method and Description |
|---|---|
static float[] |
BoundingBoxes.computeBoundingBoxMinMax(GltfModel gltfModel)
Compute the bounding box of the given
GltfModel. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultGltfModel
Default implementation of a
GltfModel. |
| Modifier and Type | Method and Description |
|---|---|
GltfModel |
GltfModelReader.read(java.nio.file.Path path)
Read the
GltfModel from the given path |
GltfModel |
GltfModelReader.read(java.net.URI uri)
Read the
GltfModel from the given URI |
GltfModel |
GltfModelReader.readWithoutReferences(java.io.InputStream inputStream)
Read the
GltfModel from the given input stream. |
GltfModel |
GltfModelReader.readWithoutReferences(java.net.URI uri)
Read the
GltfModel from the given URI. |
| Modifier and Type | Method and Description |
|---|---|
void |
GltfModelWriter.write(GltfModel gltfModel,
java.io.File file)
Write the given
GltfModel to the given file. |
void |
GltfModelWriter.write(GltfModel gltfModel,
java.lang.String fileName)
Write the given
GltfModel to a file with the given name. |
void |
GltfModelWriter.writeBinary(GltfModel gltfModel,
java.io.File file)
Write the given
GltfModel as a binary glTF asset to the
given file |
void |
GltfModelWriter.writeBinary(GltfModel gltfModel,
java.io.OutputStream outputStream)
Write the given
GltfModel as a binary glTF asset to the
given output stream. |
void |
GltfModelWriter.writeEmbedded(GltfModel gltfModel,
java.io.File file)
Write the given
GltfModel as an embedded glTF asset to the
given file |
void |
GltfModelWriter.writeEmbedded(GltfModel gltfModel,
java.io.OutputStream outputStream)
Write the given
GltfModel as an embedded glTF asset to the
given output stream. |
| Modifier and Type | Method and Description |
|---|---|
static GltfAssetV2 |
GltfAssetsV2.createBinary(GltfModel gltfModel)
Create a new binary
GltfAssetV2 from the given
GltfModel |
static GltfAssetV2 |
GltfAssetsV2.createDefault(GltfModel gltfModel)
Create a new default
GltfAssetV2 from the given
GltfModel |
static GltfAssetV2 |
GltfAssetsV2.createEmbedded(GltfModel gltfModel)
Create a new embedded
GltfAssetV2 from the given
GltfModel |
void |
GltfModelWriterV2.write(GltfModel gltfModel,
java.io.File file)
Write the given
GltfModel to the given file. |
void |
GltfModelWriterV2.writeBinary(GltfModel gltfModel,
java.io.OutputStream outputStream)
Write the given
GltfModel as a binary glTF asset to the
given output stream. |
void |
GltfModelWriterV2.writeEmbedded(GltfModel gltfModel,
java.io.OutputStream outputStream)
Write the given
GltfModel as an embedded glTF asset to the
given output stream. |
| Modifier and Type | Class and Description |
|---|---|
class |
GltfModelV1
|
| Modifier and Type | Method and Description |
|---|---|
static GlTF |
GltfCreatorV1.create(GltfModel gltfModel)
|
| Modifier and Type | Method and Description |
|---|---|
static GlTF |
GltfCreatorV2.create(GltfModel gltfModel)
|
Copyright © 2022. All Rights Reserved.