Package com.jme3.scene.plugins.gltf
Class GlbLoader
java.lang.Object
com.jme3.scene.plugins.gltf.GltfLoader
com.jme3.scene.plugins.gltf.GlbLoader
- All Implemented Interfaces:
AssetLoader
Created by Nehon on 12/09/2017.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.jme3.scene.plugins.gltf.GltfLoader
GltfLoader.SkinBuffers, GltfLoader.WeightData -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.jme3.scene.plugins.gltf.GltfLoader
addToCache, fetchFromCache, getDocRoot, getInfo, getRootNode, loadFromStream, readAnimation, readBuffer, readCameras, readData, readImage, readMaterial, readMeshPrimitives, readNode, readNodeAsBone, readSampler, readScenes, readSkins, readTexture, readTexture, readTransforms, registerDefaultExtrasLoader, registerExtension, unregisterDefaultExtrasLoader, unregisterExtension
-
Constructor Details
-
GlbLoader
public GlbLoader()
-
-
Method Details
-
load
Description copied from interface:AssetLoaderLoads asset from the given input stream, parsing it into an application-usable object.- Specified by:
loadin interfaceAssetLoader- Overrides:
loadin classGltfLoader- Parameters:
assetInfo- the located asset- Returns:
- An object representing the resource.
- Throws:
IOException- If an I/O error occurs while loading
-
getBytes
- Overrides:
getBytesin classGltfLoader- Throws:
IOException
-