Package gaiasky.util.gdx.loader
Class GLTFWrapperLoader
java.lang.Object
com.badlogic.gdx.assets.loaders.AssetLoader<T,P>
com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<IntModel,GLTFWrapperLoader.GLTFLoaderParameters>
gaiasky.util.gdx.loader.GLTFWrapperLoader
public class GLTFWrapperLoader
extends com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<IntModel,GLTFWrapperLoader.GLTFLoaderParameters>
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionGLTFWrapperLoader
(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver) -
Method Summary
Modifier and TypeMethodDescriptionnet.mgsx.gltf.loaders.shared.SceneAssetLoaderParameters
com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor>
getDependencies
(String fileName, com.badlogic.gdx.files.FileHandle file, GLTFWrapperLoader.GLTFLoaderParameters parameter) void
loadAsync
(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, GLTFWrapperLoader.GLTFLoaderParameters parameter) loadSync
(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, GLTFWrapperLoader.GLTFLoaderParameters parameter) Methods inherited from class com.badlogic.gdx.assets.loaders.AsynchronousAssetLoader
unloadAsync
Methods inherited from class com.badlogic.gdx.assets.loaders.AssetLoader
resolve
-
Constructor Details
-
GLTFWrapperLoader
public GLTFWrapperLoader(com.badlogic.gdx.assets.loaders.FileHandleResolver resolver)
-
-
Method Details
-
loadAsync
public void loadAsync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, GLTFWrapperLoader.GLTFLoaderParameters parameter) - Specified by:
loadAsync
in classcom.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<IntModel,
GLTFWrapperLoader.GLTFLoaderParameters>
-
loadSync
public IntModel loadSync(com.badlogic.gdx.assets.AssetManager manager, String fileName, com.badlogic.gdx.files.FileHandle file, GLTFWrapperLoader.GLTFLoaderParameters parameter) - Specified by:
loadSync
in classcom.badlogic.gdx.assets.loaders.AsynchronousAssetLoader<IntModel,
GLTFWrapperLoader.GLTFLoaderParameters>
-
getDependencies
public com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor> getDependencies(String fileName, com.badlogic.gdx.files.FileHandle file, GLTFWrapperLoader.GLTFLoaderParameters parameter) - Specified by:
getDependencies
in classcom.badlogic.gdx.assets.loaders.AssetLoader<IntModel,
GLTFWrapperLoader.GLTFLoaderParameters>
-
convertParameters
public net.mgsx.gltf.loaders.shared.SceneAssetLoaderParameters convertParameters(GLTFWrapperLoader.GLTFLoaderParameters parameter)
-