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
-
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
-
Constructor Details
-
GlbLoader
public GlbLoader()
-
-
Method Details
-
load
Description copied from interface:AssetLoader
Loads asset from the given input stream, parsing it into an application-usable object.- Specified by:
load
in interfaceAssetLoader
- Overrides:
load
in classGltfLoader
- Parameters:
assetInfo
- the located asset- Returns:
- An object representing the resource.
- Throws:
IOException
- If an I/O error occurs while loading
-
getBytes
- Overrides:
getBytes
in classGltfLoader
- Throws:
IOException
-