public class DefaultGltfModel extends AbstractModelElement implements GltfModel
GltfModel.| Constructor and Description |
|---|
DefaultGltfModel()
Creates a new model
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAccessorModel(DefaultAccessorModel accessorModel)
Add the given
AccessorModel to this model |
void |
addAccessorModels(java.util.Collection<? extends DefaultAccessorModel> accessorModels)
Add the given
AccessorModel instances to this model |
void |
addAnimationModel(DefaultAnimationModel animationModel)
Add the given
AnimationModel to this model |
void |
addAnimationModels(java.util.Collection<? extends DefaultAnimationModel> animationModels)
Add the given
AnimationModel instances to this model |
void |
addBufferModel(DefaultBufferModel bufferModel)
Add the given
BufferModel to this model |
void |
addBufferModels(java.util.Collection<? extends DefaultBufferModel> bufferModels)
Add the given
BufferModel instances to this model |
void |
addBufferViewModel(DefaultBufferViewModel bufferViewModel)
Add the given
BufferViewModel to this model |
void |
addBufferViewModels(java.util.Collection<? extends DefaultBufferViewModel> bufferViewModels)
Add the given
BufferViewModel instances to this model |
void |
addCameraModel(DefaultCameraModel cameraModel)
Add the given
CameraModel to this model |
void |
addCameraModels(java.util.Collection<? extends DefaultCameraModel> cameraModels)
Add the given
CameraModel instances to this model |
void |
addImageModel(DefaultImageModel imageModel)
Add the given
ImageModel to this model |
void |
addImageModels(java.util.Collection<? extends DefaultImageModel> imageModels)
Add the given
ImageModel instances to this model |
void |
addMaterialModel(MaterialModel materialModel)
Add the given
MaterialModel to this model |
void |
addMaterialModels(java.util.Collection<? extends MaterialModel> materialModels)
Add the given
MaterialModel instances to this model |
void |
addMeshModel(DefaultMeshModel meshModel)
Add the given
MeshModel to this model |
void |
addMeshModels(java.util.Collection<? extends DefaultMeshModel> meshModels)
Add the given
MeshModel instances to this model |
void |
addNodeModel(DefaultNodeModel nodeModel)
Add the given
NodeModel to this model |
void |
addNodeModels(java.util.Collection<? extends DefaultNodeModel> nodeModels)
Add the given
NodeModel instances to this model |
void |
addSceneModel(DefaultSceneModel sceneModel)
Add the given
SceneModel to this model |
void |
addSceneModels(java.util.Collection<? extends DefaultSceneModel> sceneModels)
Add the given
SceneModel instances to this model |
void |
addSkinModel(DefaultSkinModel skinModel)
Add the given
SkinModel to this model |
void |
addSkinModels(java.util.Collection<? extends DefaultSkinModel> skinModels)
Add the given
SkinModel instances to this model |
void |
addTextureModel(DefaultTextureModel textureModel)
Add the given
TextureModel to this model |
void |
addTextureModels(java.util.Collection<? extends DefaultTextureModel> textureModels)
Add the given
TextureModel instances to this model |
void |
clearAccessorModels()
Remove all
AccessorModel instances |
void |
clearAnimationModels()
Remove all
AnimationModel instances |
void |
clearBufferModels()
Remove all
BufferModel instances |
void |
clearBufferViewModels()
Remove all
BufferViewModel instances |
void |
clearCameraModels()
Remove all
CameraModel instances |
void |
clearImageModels()
Remove all
ImageModel instances |
void |
clearMaterialModels()
Remove all
MaterialModel instances |
void |
clearMeshModels()
Remove all
MeshModel instances |
void |
clearNodeModels()
Remove all
NodeModel instances |
void |
clearSceneModels()
Remove all
SceneModel instances |
void |
clearSkinModels()
Remove all
SkinModel instances |
void |
clearTextureModels()
Remove all
TextureModel instances |
DefaultAccessorModel |
getAccessorModel(int index)
Return the
AccessorModel at the given index |
java.util.List<AccessorModel> |
getAccessorModels()
Returns an unmodifiable view on the list of
AccessorModel
instances that have been created for the glTF. |
DefaultAnimationModel |
getAnimationModel(int index)
Return the
AnimationModel at the given index |
java.util.List<AnimationModel> |
getAnimationModels()
Returns an unmodifiable view on the list of
AnimationModel
instances that have been created for the glTF. |
DefaultBufferModel |
getBufferModel(int index)
Return the
BufferModel at the given index |
java.util.List<BufferModel> |
getBufferModels()
Returns an unmodifiable view on the list of
BufferModel
instances that have been created for the glTF. |
DefaultBufferViewModel |
getBufferViewModel(int index)
Return the
BufferViewModel at the given index |
java.util.List<BufferViewModel> |
getBufferViewModels()
Returns an unmodifiable view on the list of
BufferViewModel
instances that have been created for the glTF. |
DefaultCameraModel |
getCameraModel(int index)
Return the
CameraModel at the given index |
java.util.List<CameraModel> |
getCameraModels()
Returns an unmodifiable view on the list of
CameraModel
instances that have been created for the glTF. |
DefaultImageModel |
getImageModel(int index)
Return the
ImageModel at the given index |
java.util.List<ImageModel> |
getImageModels()
Returns an unmodifiable view on the list of
ImageModel
instances that have been created for the glTF. |
MaterialModel |
getMaterialModel(int index)
Return the
MaterialModel at the given index |
java.util.List<MaterialModel> |
getMaterialModels()
Returns an unmodifiable view on the list of
MaterialModel
instances that have been created for the glTF. |
DefaultMeshModel |
getMeshModel(int index)
Return the
MeshModel at the given index |
java.util.List<MeshModel> |
getMeshModels()
Returns an unmodifiable view on the list of
MeshModel
instances that have been created for the glTF. |
DefaultNodeModel |
getNodeModel(int index)
Return the
NodeModel at the given index |
java.util.List<NodeModel> |
getNodeModels()
Returns an unmodifiable view on the list of
NodeModel
instances that have been created for the glTF. |
DefaultSceneModel |
getSceneModel(int index)
Return the
SceneModel at the given index |
java.util.List<SceneModel> |
getSceneModels()
Returns an unmodifiable view on the list of
SceneModel
instances that have been created for the glTF. |
DefaultSkinModel |
getSkinModel(int index)
Return the
SkinModel at the given index |
java.util.List<SkinModel> |
getSkinModels()
Returns an unmodifiable view on the list of
SkinModel
instances that have been created for the glTF. |
DefaultTextureModel |
getTextureModel(int index)
Return the
TextureModel at the given index |
java.util.List<TextureModel> |
getTextureModels()
Returns an unmodifiable view on the list of
TextureModel
instances that have been created for the glTF. |
void |
removeAccessorModel(DefaultAccessorModel accessorModel)
Remove the given
AccessorModel from this model |
void |
removeAnimationModel(DefaultAnimationModel animationModel)
Remove the given
AnimationModel from this model |
void |
removeBufferModel(DefaultBufferModel bufferModel)
Remove the given
BufferModel from this model |
void |
removeBufferViewModel(DefaultBufferViewModel bufferViewModel)
Remove the given
BufferViewModel from this model |
void |
removeCameraModel(DefaultCameraModel cameraModel)
Remove the given
CameraModel from this model |
void |
removeImageModel(DefaultImageModel imageModel)
Remove the given
ImageModel from this model |
void |
removeMaterialModel(MaterialModel materialModel)
Remove the given
MaterialModel from this model |
void |
removeMeshModel(DefaultMeshModel meshModel)
Remove the given
MeshModel from this model |
void |
removeNodeModel(DefaultNodeModel nodeModel)
Remove the given
NodeModel from this model |
void |
removeSceneModel(DefaultSceneModel sceneModel)
Remove the given
SceneModel from this model |
void |
removeSkinModel(DefaultSkinModel skinModel)
Remove the given
SkinModel from this model |
void |
removeTextureModel(DefaultTextureModel textureModel)
Remove the given
TextureModel from this model |
addExtension, getExtensions, getExtras, removeExtension, setExtensions, setExtrasclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExtensions, getExtraspublic void addAccessorModel(DefaultAccessorModel accessorModel)
AccessorModel to this modelaccessorModel - The object to addpublic void removeAccessorModel(DefaultAccessorModel accessorModel)
AccessorModel from this modelaccessorModel - The object to removepublic void addAccessorModels(java.util.Collection<? extends DefaultAccessorModel> accessorModels)
AccessorModel instances to this modelaccessorModels - The objects to addpublic DefaultAccessorModel getAccessorModel(int index)
AccessorModel at the given indexindex - The indexAccessorModelpublic void clearAccessorModels()
AccessorModel instancespublic java.util.List<AccessorModel> getAccessorModels()
GltfModelAccessorModel
instances that have been created for the glTF.getAccessorModels in interface GltfModelAccessorModel instancespublic void addAnimationModel(DefaultAnimationModel animationModel)
AnimationModel to this modelanimationModel - The instance to addpublic void removeAnimationModel(DefaultAnimationModel animationModel)
AnimationModel from this modelanimationModel - The instance to removepublic void addAnimationModels(java.util.Collection<? extends DefaultAnimationModel> animationModels)
AnimationModel instances to this modelanimationModels - The instances to addpublic DefaultAnimationModel getAnimationModel(int index)
AnimationModel at the given indexindex - The indexAnimationModelpublic void clearAnimationModels()
AnimationModel instancespublic java.util.List<AnimationModel> getAnimationModels()
GltfModelAnimationModel
instances that have been created for the glTF.getAnimationModels in interface GltfModelAnimationModel instancespublic void addBufferModel(DefaultBufferModel bufferModel)
BufferModel to this modelbufferModel - The instance to addpublic void removeBufferModel(DefaultBufferModel bufferModel)
BufferModel from this modelbufferModel - The instance to removepublic void addBufferModels(java.util.Collection<? extends DefaultBufferModel> bufferModels)
BufferModel instances to this modelbufferModels - The instances to addpublic DefaultBufferModel getBufferModel(int index)
BufferModel at the given indexindex - The indexBufferModelpublic void clearBufferModels()
BufferModel instancespublic java.util.List<BufferModel> getBufferModels()
GltfModelBufferModel
instances that have been created for the glTF.getBufferModels in interface GltfModelBufferModel instancespublic void addBufferViewModel(DefaultBufferViewModel bufferViewModel)
BufferViewModel to this modelbufferViewModel - The instance to addpublic void removeBufferViewModel(DefaultBufferViewModel bufferViewModel)
BufferViewModel from this modelbufferViewModel - The instance to removepublic void addBufferViewModels(java.util.Collection<? extends DefaultBufferViewModel> bufferViewModels)
BufferViewModel instances to this modelbufferViewModels - The instances to addpublic DefaultBufferViewModel getBufferViewModel(int index)
BufferViewModel at the given indexindex - The indexBufferViewModelpublic void clearBufferViewModels()
BufferViewModel instancespublic java.util.List<BufferViewModel> getBufferViewModels()
GltfModelBufferViewModel
instances that have been created for the glTF.getBufferViewModels in interface GltfModelBufferViewModel instancespublic void addCameraModel(DefaultCameraModel cameraModel)
CameraModel to this modelcameraModel - The instance to addpublic void removeCameraModel(DefaultCameraModel cameraModel)
CameraModel from this modelcameraModel - The instance to removepublic void addCameraModels(java.util.Collection<? extends DefaultCameraModel> cameraModels)
CameraModel instances to this modelcameraModels - The instances to addpublic DefaultCameraModel getCameraModel(int index)
CameraModel at the given indexindex - The indexCameraModelpublic void clearCameraModels()
CameraModel instancespublic java.util.List<CameraModel> getCameraModels()
GltfModelCameraModel
instances that have been created for the glTF.getCameraModels in interface GltfModelCameraModel instancespublic void addImageModel(DefaultImageModel imageModel)
ImageModel to this modelimageModel - The instance to addpublic void removeImageModel(DefaultImageModel imageModel)
ImageModel from this modelimageModel - The instance to removepublic void addImageModels(java.util.Collection<? extends DefaultImageModel> imageModels)
ImageModel instances to this modelimageModels - The instances to addpublic DefaultImageModel getImageModel(int index)
ImageModel at the given indexindex - The indexImageModelpublic void clearImageModels()
ImageModel instancespublic java.util.List<ImageModel> getImageModels()
GltfModelImageModel
instances that have been created for the glTF.getImageModels in interface GltfModelImageModel instancespublic void addMaterialModel(MaterialModel materialModel)
MaterialModel to this modelmaterialModel - The instance to addpublic void removeMaterialModel(MaterialModel materialModel)
MaterialModel from this modelmaterialModel - The instance to removepublic void addMaterialModels(java.util.Collection<? extends MaterialModel> materialModels)
MaterialModel instances to this modelmaterialModels - The instances to addpublic MaterialModel getMaterialModel(int index)
MaterialModel at the given indexindex - The indexMaterialModelpublic void clearMaterialModels()
MaterialModel instancespublic java.util.List<MaterialModel> getMaterialModels()
GltfModelMaterialModel
instances that have been created for the glTF.getMaterialModels in interface GltfModelMaterialModel instancespublic void addMeshModel(DefaultMeshModel meshModel)
MeshModel to this modelmeshModel - The instance to addpublic void removeMeshModel(DefaultMeshModel meshModel)
MeshModel from this modelmeshModel - The instance to removepublic void addMeshModels(java.util.Collection<? extends DefaultMeshModel> meshModels)
MeshModel instances to this modelmeshModels - The instances to addpublic DefaultMeshModel getMeshModel(int index)
MeshModel at the given indexindex - The indexMeshModelpublic void clearMeshModels()
MeshModel instancespublic java.util.List<MeshModel> getMeshModels()
GltfModelMeshModel
instances that have been created for the glTF.getMeshModels in interface GltfModelMeshModel instancespublic void addNodeModel(DefaultNodeModel nodeModel)
NodeModel to this modelnodeModel - The instance to addpublic void removeNodeModel(DefaultNodeModel nodeModel)
NodeModel from this modelnodeModel - The instance to removepublic void addNodeModels(java.util.Collection<? extends DefaultNodeModel> nodeModels)
NodeModel instances to this modelnodeModels - The instances to addpublic DefaultNodeModel getNodeModel(int index)
NodeModel at the given indexindex - The indexNodeModelpublic void clearNodeModels()
NodeModel instancespublic java.util.List<NodeModel> getNodeModels()
GltfModelNodeModel
instances that have been created for the glTF.getNodeModels in interface GltfModelNodeModel instancespublic void addSceneModel(DefaultSceneModel sceneModel)
SceneModel to this modelsceneModel - The instance to addpublic void removeSceneModel(DefaultSceneModel sceneModel)
SceneModel from this modelsceneModel - The instance to removepublic void addSceneModels(java.util.Collection<? extends DefaultSceneModel> sceneModels)
SceneModel instances to this modelsceneModels - The instances to addpublic DefaultSceneModel getSceneModel(int index)
SceneModel at the given indexindex - The indexSceneModelpublic void clearSceneModels()
SceneModel instancespublic java.util.List<SceneModel> getSceneModels()
GltfModelSceneModel
instances that have been created for the glTF.getSceneModels in interface GltfModelSceneModel instancespublic void addSkinModel(DefaultSkinModel skinModel)
SkinModel to this modelskinModel - The instance to addpublic void removeSkinModel(DefaultSkinModel skinModel)
SkinModel from this modelskinModel - The instance to removepublic void addSkinModels(java.util.Collection<? extends DefaultSkinModel> skinModels)
SkinModel instances to this modelskinModels - The instances to addpublic DefaultSkinModel getSkinModel(int index)
SkinModel at the given indexindex - The indexSkinModelpublic void clearSkinModels()
SkinModel instancespublic java.util.List<SkinModel> getSkinModels()
GltfModelSkinModel
instances that have been created for the glTF.getSkinModels in interface GltfModelSkinModel instancespublic void addTextureModel(DefaultTextureModel textureModel)
TextureModel to this modeltextureModel - The instance to addpublic void removeTextureModel(DefaultTextureModel textureModel)
TextureModel from this modeltextureModel - The instance to removepublic void addTextureModels(java.util.Collection<? extends DefaultTextureModel> textureModels)
TextureModel instances to this modeltextureModels - The instances to addpublic DefaultTextureModel getTextureModel(int index)
TextureModel at the given indexindex - The indexTextureModelpublic void clearTextureModels()
TextureModel instancespublic java.util.List<TextureModel> getTextureModels()
GltfModelTextureModel
instances that have been created for the glTF.getTextureModels in interface GltfModelTextureModel instancesCopyright © 2022. All Rights Reserved.