| Package | Description |
|---|---|
| de.javagl.jgltf.model |
Classes for loading and accessing glTF data.
|
| de.javagl.jgltf.model.gl |
Classes for modeling OpenGL rendering techniques.
|
| de.javagl.jgltf.model.gl.impl |
Implementations of the
de.javagl.jgltf.model.gl classes. |
| de.javagl.jgltf.model.impl |
Default implementations of the glTF model interfaces.
|
| Modifier and Type | Method and Description |
|---|---|
NodeModel |
AnimationModel.Channel.getNodeModel()
Returns the optional
NodeModel to which the animated
property (path) belongs. |
NodeModel |
NodeModel.getParent()
Returns the parent of this node, or
null if this is
a root node |
NodeModel |
SkinModel.getSkeleton()
Returns the skeleton root node.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<NodeModel> |
NodeModel.getChildren()
Returns an unmodifiable view on the list of children of this node
|
java.util.List<NodeModel> |
SkinModel.getJoints()
Returns an unmodifiable list containing the joint nodes of the skeleton
|
java.util.List<NodeModel> |
SceneModel.getNodeModels()
Returns an unmodifiable view on the the list of all root
NodeModel instances of the scene |
java.util.List<NodeModel> |
GltfModel.getNodeModels()
Returns an unmodifiable view on the list of
NodeModel
instances that have been created for the glTF. |
| Modifier and Type | Method and Description |
|---|---|
NodeModel |
TechniqueParametersModel.getNodeModel()
Returns the
NodeModel of the node that this parameter
refers to. |
| Modifier and Type | Method and Description |
|---|---|
NodeModel |
DefaultTechniqueParametersModel.getNodeModel() |
| Constructor and Description |
|---|
DefaultTechniqueParametersModel(int type,
int count,
java.lang.String semantic,
java.lang.Object value,
NodeModel nodeModel)
Default constructor
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultNodeModel
Implementation of a
NodeModel |
| Modifier and Type | Method and Description |
|---|---|
NodeModel |
DefaultAnimationModel.DefaultChannel.getNodeModel() |
NodeModel |
DefaultNodeModel.getParent() |
NodeModel |
DefaultSkinModel.getSkeleton() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<NodeModel> |
DefaultNodeModel.getChildren() |
java.util.List<NodeModel> |
DefaultSkinModel.getJoints() |
java.util.List<NodeModel> |
DefaultSceneModel.getNodeModels() |
java.util.List<NodeModel> |
DefaultGltfModel.getNodeModels() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultSkinModel.addJoint(NodeModel joint)
Add the given joint
|
void |
DefaultSceneModel.addNode(NodeModel node)
Add the given (root)
NodeModel to this scene |
static float[] |
DefaultNodeModel.computeLocalTransform(NodeModel nodeModel,
float[] result)
Compute the local transform of the given node.
|
void |
DefaultSkinModel.setSkeleton(NodeModel skeleton)
Set the skeleton root node
|
| Constructor and Description |
|---|
DefaultChannel(AnimationModel.Sampler sampler,
NodeModel nodeModel,
java.lang.String path)
Default constructor
|
DefaultNodeModel(NodeModel other)
Copy constructor that creates a shallow copy with references
to the elements of the given model, except for the children and
MeshModel instances (which will be empty in the copy). |
Copyright © 2022. All Rights Reserved.