| Package | Description |
|---|---|
| de.javagl.jgltf.model |
Classes for loading and accessing glTF data.
|
| 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 GltfModel |
GltfModels.create(GltfAsset gltfAsset)
|
| Modifier and Type | Method and Description |
|---|---|
GltfAsset |
GltfAssetReader.read(java.nio.file.Path path)
Read the
GltfAsset from the given path |
GltfAsset |
GltfAssetReader.read(java.net.URI uri)
Read the
GltfAsset from the given URI |
GltfAsset |
GltfAssetReader.readWithoutReferences(java.io.InputStream inputStream)
Read the glTF asset from the given input stream.
|
GltfAsset |
GltfAssetReader.readWithoutReferences(java.net.URI uri)
Read the
GltfAsset from the given URI. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
GltfAssets.isBinary(GltfAsset gltfAsset)
Returns whether the given
GltfAsset is binary
asset. |
static boolean |
GltfAssets.isDefault(GltfAsset gltfAsset)
Returns whether the given
GltfAsset is a default
asset. |
static boolean |
GltfAssets.isEmbedded(GltfAsset gltfAsset)
Returns whether the given
GltfAsset is an embedded
asset. |
void |
GltfAssetWriter.write(GltfAsset gltfAsset,
java.io.File file)
Write the the given
GltfAsset to the given file. |
void |
GltfAssetWriter.write(GltfAsset gltfAsset,
java.lang.String fileName)
Write the the given
GltfAsset to a file with the given name. |
void |
GltfAssetWriter.writeBinary(GltfAsset gltfAsset,
java.io.File file)
Write the given
GltfAsset as a binary glTF asset to the given
file |
void |
GltfAssetWriter.writeBinary(GltfAsset gltfAsset,
java.io.OutputStream outputStream)
Write the given
GltfAsset as a binary glTF asset to the
given output stream. |
void |
GltfAssetWriter.writeBinary(GltfAsset gltfAsset,
java.lang.String fileName)
Write the given
GltfAsset as a binary glTF asset to file with
the given name. |
void |
GltfAssetWriter.writeJson(GltfAsset gltfAsset,
java.io.File file)
Write the JSON part of the given
GltfAsset to a file with
the given name. |
void |
GltfAssetWriter.writeJson(GltfAsset gltfAsset,
java.io.OutputStream outputStream)
Write the JSON part of the given
GltfAsset to the given
output stream. |
void |
GltfAssetWriter.writeJson(GltfAsset gltfAsset,
java.lang.String fileName)
Write the JSON part of the given
GltfAsset to a file with
the given name. |
| Modifier and Type | Class and Description |
|---|---|
class |
GltfAssetV1
Implementation of the
GltfAsset interface for glTF 1.0. |
| Modifier and Type | Class and Description |
|---|---|
class |
GltfAssetV2
Implementation of the
GltfAsset interface for glTF 2.0. |
Copyright © 2022. All Rights Reserved.