Class OwnObjLoader
java.lang.Object
com.badlogic.gdx.assets.loaders.AssetLoader<IntModel, OwnObjLoader.ObjLoaderParameters>
com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<IntModel, OwnObjLoader.ObjLoaderParameters>
gaiasky.util.gdx.loader.IntModelLoader<OwnObjLoader.ObjLoaderParameters>
gaiasky.util.gdx.loader.OwnObjLoader
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class IntModelLoader
IntModelLoader.IntModelParameters -
Field Summary
FieldsFields inherited from class IntModelLoader
defaultParameters, itemsModifier and TypeFieldDescriptionprotected IntModelLoader.IntModelParametersprotected final com.badlogic.gdx.utils.Array<com.badlogic.gdx.utils.ObjectMap.Entry<String, IntModelData>> -
Constructor Summary
ConstructorsConstructorDescriptionOwnObjLoader(InputStreamProvider isp, com.badlogic.gdx.assets.loaders.FileHandleResolver resolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected IntModelDataloadModelData(com.badlogic.gdx.files.FileHandle file, boolean flipV) loadModelData(com.badlogic.gdx.files.FileHandle file, OwnObjLoader.ObjLoaderParameters parameters) Directly load the raw model data on the calling thread.Methods inherited from class IntModelLoader
getDependencies, loadAsync, loadModel, loadModel, loadModel, loadModel, loadModelData, loadSyncModifier and TypeMethodDescriptioncom.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor> getDependencies(String fileName, com.badlogic.gdx.files.FileHandle file, OwnObjLoader.ObjLoaderParameters parameters) voidloadAsync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, OwnObjLoader.ObjLoaderParameters parameters) loadModel(com.badlogic.gdx.files.FileHandle fileHandle) Directly load the model on the calling thread.loadModel(com.badlogic.gdx.files.FileHandle fileHandle, com.badlogic.gdx.graphics.g3d.utils.TextureProvider textureProvider) Directly load the model on the calling thread.loadModel(com.badlogic.gdx.files.FileHandle fileHandle, com.badlogic.gdx.graphics.g3d.utils.TextureProvider textureProvider, OwnObjLoader.ObjLoaderParameters parameters) Directly load the model on the calling thread.loadModel(com.badlogic.gdx.files.FileHandle fileHandle, OwnObjLoader.ObjLoaderParameters parameters) Directly load the model on the calling thread.loadModelData(com.badlogic.gdx.files.FileHandle fileHandle) Directly load the raw model data on the calling thread.loadSync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, OwnObjLoader.ObjLoaderParameters parameters) Methods inherited from class com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader
unloadAsyncMethods inherited from class com.badlogic.gdx.assets.loaders.AssetLoader
resolve
-
Field Details
-
logWarning
public static boolean logWarning
-
-
Constructor Details
-
OwnObjLoader
public OwnObjLoader() -
OwnObjLoader
public OwnObjLoader(InputStreamProvider isp, com.badlogic.gdx.assets.loaders.FileHandleResolver resolver)
-
-
Method Details
-
loadModelData
public IntModelData loadModelData(com.badlogic.gdx.files.FileHandle file, OwnObjLoader.ObjLoaderParameters parameters) Description copied from class:IntModelLoaderDirectly load the raw model data on the calling thread.- Specified by:
loadModelDatain classIntModelLoader<OwnObjLoader.ObjLoaderParameters>
-
loadModelData
-