public class BlenderLoader
extends java.lang.Object
implements com.jme3.asset.AssetLoader
| Modifier and Type | Class and Description |
|---|---|
static class |
BlenderLoader.LinkedContentLocator |
| Constructor and Description |
|---|
BlenderLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear(com.jme3.asset.AssetInfo assetInfo)
The internal data is only needed during loading so make it unreachable so that the GC can release
that memory (which can be quite large amount).
|
com.jme3.scene.Spatial |
load(com.jme3.asset.AssetInfo assetInfo) |
protected BlenderContext |
setup(com.jme3.asset.AssetInfo assetInfo)
This method sets up the loader.
|
public com.jme3.scene.Spatial load(com.jme3.asset.AssetInfo assetInfo)
throws java.io.IOException
load in interface com.jme3.asset.AssetLoaderjava.io.IOExceptionprotected BlenderContext setup(com.jme3.asset.AssetInfo assetInfo) throws BlenderFileException
assetInfo - the asset infoBlenderFileException - an exception is throw when something wrong happens with blender fileprotected void clear(com.jme3.asset.AssetInfo assetInfo)