public class GlbLoader extends GltfLoader
GltfLoader.SkinBuffers, GltfLoader.WeightData
Constructor and Description |
---|
GlbLoader() |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
getBytes(int bufferIndex,
java.lang.String uri,
java.lang.Integer bufferLength) |
java.lang.Object |
load(AssetInfo assetInfo)
Loads asset from the given input stream, parsing it into
an application-usable object.
|
addToCache, fetchFromCache, getDocRoot, getInfo, getRootNode, loadFromStream, readAccessorData, readAnimation, readBuffer, readCameras, readData, readImage, readMaterial, readMeshPrimitives, readNode, readNodeAsBone, readSampler, readScenes, readSkins, readTexture, readTexture, readTransforms
public java.lang.Object load(AssetInfo assetInfo) throws java.io.IOException
AssetLoader
load
in interface AssetLoader
load
in class GltfLoader
java.io.IOException
- If an I/O error occurs while loadingprotected byte[] getBytes(int bufferIndex, java.lang.String uri, java.lang.Integer bufferLength) throws java.io.IOException
getBytes
in class GltfLoader
java.io.IOException