Package gaiasky.util.gdx.loader
Class G3dModelLoader
java.lang.Object
com.badlogic.gdx.assets.loaders.AssetLoader<T,P>
com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<IntModel,P>
gaiasky.util.gdx.loader.IntModelLoader<IntModelLoader.IntModelParameters>
gaiasky.util.gdx.loader.G3dModelLoader
-
Nested Class Summary
Nested classes/interfaces inherited from class gaiasky.util.gdx.loader.IntModelLoader
IntModelLoader.IntModelParameters
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.badlogic.gdx.utils.BaseJsonReader
static short
static short
Fields inherited from class gaiasky.util.gdx.loader.IntModelLoader
defaultParameters, items
-
Constructor Summary
ConstructorDescriptionG3dModelLoader(com.badlogic.gdx.utils.BaseJsonReader reader)
G3dModelLoader(com.badlogic.gdx.utils.BaseJsonReader reader, com.badlogic.gdx.assets.loaders.FileHandleResolver resolver)
-
Method Summary
Modifier and TypeMethodDescriptionloadModelData(com.badlogic.gdx.files.FileHandle fileHandle, IntModelLoader.IntModelParameters parameters)
Directly load the raw model data on the calling thread.parseModel(com.badlogic.gdx.files.FileHandle handle)
Methods inherited from class gaiasky.util.gdx.loader.IntModelLoader
getDependencies, loadAsync, loadModel, loadModel, loadModel, loadModel, loadModelData, loadSync
Methods inherited from class com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader
unloadAsync
Methods inherited from class com.badlogic.gdx.assets.loaders.AssetLoader
resolve
-
Field Details
-
VERSION_HI
public static final short VERSION_HI- See Also:
- Constant Field Values
-
VERSION_LO
public static final short VERSION_LO- See Also:
- Constant Field Values
-
reader
protected final com.badlogic.gdx.utils.BaseJsonReader reader
-
-
Constructor Details
-
G3dModelLoader
public G3dModelLoader(com.badlogic.gdx.utils.BaseJsonReader reader) -
G3dModelLoader
public G3dModelLoader(com.badlogic.gdx.utils.BaseJsonReader reader, com.badlogic.gdx.assets.loaders.FileHandleResolver resolver)
-
-
Method Details
-
loadModelData
public IntModelData loadModelData(com.badlogic.gdx.files.FileHandle fileHandle, IntModelLoader.IntModelParameters parameters)Description copied from class:IntModelLoader
Directly load the raw model data on the calling thread.- Specified by:
loadModelData
in classIntModelLoader<IntModelLoader.IntModelParameters>
-
parseModel
-