| Constructor and Description |
|---|
GltfModelV2(GltfAssetV2 gltfAsset)
Creates a new model for the given glTF
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AccessorModel> |
getAccessorModels()
Returns an unmodifiable view on the list of
AccessorModel
instances that have been created for the glTF. |
java.util.List<AnimationModel> |
getAnimationModels()
Returns an unmodifiable view on the list of
AnimationModel
instances that have been created for the glTF. |
java.util.List<BufferModel> |
getBufferModels()
Returns an unmodifiable view on the list of
BufferModel
instances that have been created for the glTF. |
java.util.List<BufferViewModel> |
getBufferViewModels()
Returns an unmodifiable view on the list of
BufferViewModel
instances that have been created for the glTF. |
java.util.List<CameraModel> |
getCameraModels()
Returns an unmodifiable view on the list of
CameraModel
instances that have been created for the glTF. |
GlTF |
getGltf()
Returns the raw glTF object, which is a
version 2.0 glTF. |
java.util.List<ImageModel> |
getImageModels()
Returns an unmodifiable view on the list of
ImageModel
instances that have been created for the glTF. |
java.util.List<MaterialModel> |
getMaterialModels()
Returns an unmodifiable view on the list of
MaterialModel
instances that have been created for the glTF. |
java.util.List<NodeModel> |
getNodeModels()
Returns an unmodifiable view on the list of
NodeModel
instances that have been created for the glTF. |
java.util.List<SceneModel> |
getSceneModels()
Returns an unmodifiable view on the list of
SceneModel
instances that have been created for the glTF. |
java.util.List<TextureModel> |
getTextureModels()
Returns an unmodifiable view on the list of
TextureModel
instances that have been created for the glTF. |
public GltfModelV2(GltfAssetV2 gltfAsset)
gltfAsset - The GltfAssetV2public java.util.List<AccessorModel> getAccessorModels()
GltfModelAccessorModel
instances that have been created for the glTF.getAccessorModels in interface GltfModelAccessorModel instancespublic java.util.List<AnimationModel> getAnimationModels()
GltfModelAnimationModel
instances that have been created for the glTF.getAnimationModels in interface GltfModelAnimationModel instancespublic java.util.List<BufferModel> getBufferModels()
GltfModelBufferModel
instances that have been created for the glTF.getBufferModels in interface GltfModelBufferModel instancespublic java.util.List<BufferViewModel> getBufferViewModels()
GltfModelBufferViewModel
instances that have been created for the glTF.getBufferViewModels in interface GltfModelBufferViewModel instancespublic java.util.List<CameraModel> getCameraModels()
GltfModelCameraModel
instances that have been created for the glTF.getCameraModels in interface GltfModelCameraModel instancespublic java.util.List<ImageModel> getImageModels()
GltfModelImageModel
instances that have been created for the glTF.getImageModels in interface GltfModelImageModel instancespublic java.util.List<MaterialModel> getMaterialModels()
GltfModelMaterialModel
instances that have been created for the glTF.getMaterialModels in interface GltfModelMaterialModel instancespublic java.util.List<NodeModel> getNodeModels()
GltfModelNodeModel
instances that have been created for the glTF.getNodeModels in interface GltfModelNodeModel instancespublic java.util.List<SceneModel> getSceneModels()
GltfModelSceneModel
instances that have been created for the glTF.getSceneModels in interface GltfModelSceneModel instancespublic java.util.List<TextureModel> getTextureModels()
GltfModelTextureModel
instances that have been created for the glTF.getTextureModels in interface GltfModelTextureModel instancespublic GlTF getGltf()
version 2.0 glTF.Copyright © 2022. All Rights Reserved.