| 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.v2 |
Implementations for the
GltfModel classes,
based on glTF 2.0. |
| Modifier and Type | Method and Description |
|---|---|
AccessorModel |
MeshPrimitiveModel.getIndices()
Return an
AccessorModel for the indices, or null
if this primitive describes non-indexed geometry |
AccessorModel |
AnimationModel.Sampler.getInput()
Returns the
AccessorModel that contains the input (time
key frame) data |
AccessorModel |
SkinModel.getInverseBindMatrices()
Returns the
AccessorModel that provides the data for the
inverse bind matrices, one for each joint |
AccessorModel |
AnimationModel.Sampler.getOutput()
Returns the
AccessorModel that contains the output (value
key frame) data |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AccessorModel> |
GltfModel.getAccessorModels()
Returns an unmodifiable view on the list of
AccessorModel
instances that have been created for the glTF. |
java.util.Map<java.lang.String,AccessorModel> |
MeshPrimitiveModel.getAttributes()
Returns an unmodifiable view on the mapping from attribute names to
the
AccessorModel instances for the attribute data |
java.util.List<java.util.Map<java.lang.String,AccessorModel>> |
MeshPrimitiveModel.getTargets()
Returns an unmodifiable view on the list of morph targets.
|
| Modifier and Type | Method and Description |
|---|---|
static AccessorData |
AccessorDatas.create(AccessorModel accessorModel)
Create the
AccessorData for the given AccessorModel |
static AccessorData |
AccessorDatas.create(AccessorModel accessorModel,
java.nio.ByteBuffer byteBuffer)
Create the
AccessorData for the given AccessorModel
that refers to the data from the given buffer. |
static AccessorFloatData |
AccessorDatas.createFloat(AccessorModel accessorModel)
Creates an
AccessorFloatData for the given AccessorModel |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultAccessorModel
Implementation of an
AccessorModel |
| Modifier and Type | Method and Description |
|---|---|
AccessorModel |
DefaultMeshPrimitiveModel.getIndices() |
AccessorModel |
DefaultAnimationModel.DefaultSampler.getInput() |
AccessorModel |
DefaultSkinModel.getInverseBindMatrices() |
AccessorModel |
DefaultAnimationModel.DefaultSampler.getOutput() |
AccessorModel |
DefaultMeshPrimitiveModel.putAttribute(java.lang.String name,
AccessorModel accessorModel)
Put the given
AccessorModel into the attributes, under the
given name |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AccessorModel> |
DefaultGltfModel.getAccessorModels() |
java.util.Map<java.lang.String,AccessorModel> |
DefaultMeshPrimitiveModel.getAttributes() |
java.util.List<java.util.Map<java.lang.String,AccessorModel>> |
DefaultMeshPrimitiveModel.getTargets() |
| Modifier and Type | Method and Description |
|---|---|
AccessorModel |
DefaultMeshPrimitiveModel.putAttribute(java.lang.String name,
AccessorModel accessorModel)
Put the given
AccessorModel into the attributes, under the
given name |
void |
DefaultMeshPrimitiveModel.setIndices(AccessorModel indices)
Set the
AccessorModel for the indices |
void |
DefaultSkinModel.setInverseBindMatrices(AccessorModel inverseBindMatrices)
Set the inverse bind matrices
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultMeshPrimitiveModel.addTarget(java.util.Map<java.lang.String,AccessorModel> target)
Add the given morph target.
|
| Constructor and Description |
|---|
DefaultSampler(AccessorModel input,
AnimationModel.Interpolation interpolation,
AccessorModel output)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
static Accessor |
GltfCreatorV1.createAccessor(AccessorModel accessorModel,
java.lang.String bufferViewId)
Create the
Accessor for the given AccessorModel |
| Modifier and Type | Method and Description |
|---|---|
static Accessor |
GltfCreatorV2.createAccessor(AccessorModel accessorModel,
java.lang.Integer bufferViewIndex)
Create the
Accessor for the given AccessorModel |
Copyright © 2022. All Rights Reserved.