| Modifier and Type | Method and Description |
|---|---|
FileHandle |
Files.absolute(java.lang.String path)
Convenience method that returns a
Files.FileType.Absolute file handle. |
FileHandle |
Files.classpath(java.lang.String path)
Convenience method that returns a
Files.FileType.Classpath file handle. |
FileHandle |
Files.external(java.lang.String path)
Convenience method that returns a
Files.FileType.External file handle. |
FileHandle |
Files.getFileHandle(java.lang.String path,
Files.FileType type)
Returns a handle representing a file or directory.
|
FileHandle |
Files.internal(java.lang.String path)
Convenience method that returns a
Files.FileType.Internal file handle. |
FileHandle |
Files.local(java.lang.String path)
Convenience method that returns a
Files.FileType.Local file handle. |
| Modifier and Type | Method and Description |
|---|---|
Music |
Audio.newMusic(FileHandle file)
Creates a new
Music instance which is used to play back a music stream from a file. |
Sound |
Audio.newSound(FileHandle fileHandle)
Creates a new
Sound which is used to play back audio effects such as gun shots or explosions. |
| Modifier and Type | Method and Description |
|---|---|
FileHandle |
AssetLoader.resolve(java.lang.String fileName) |
FileHandle |
FileHandleResolver.resolve(java.lang.String fileName) |
| Modifier and Type | Method and Description |
|---|---|
FileHandle |
ExternalFileHandleResolver.resolve(java.lang.String fileName) |
FileHandle |
InternalFileHandleResolver.resolve(java.lang.String fileName) |
FileHandle |
ResolutionFileResolver.resolve(java.lang.String fileName) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
ResolutionFileResolver.resolve(FileHandle originalHandle,
java.lang.String suffix) |
| Modifier and Type | Class and Description |
|---|---|
class |
FileHandleStream
A FileHandle intended to be subclassed for the purpose of implementing
FileHandleStream.read() and/or FileHandleStream.write(boolean). |
| Modifier and Type | Method and Description |
|---|---|
FileHandle |
FileHandle.child(java.lang.String name)
Returns a handle to the child with the specified name.
|
FileHandle |
FileHandleStream.child(java.lang.String name) |
FileHandle[] |
FileHandle.list()
Returns the paths to the children of this directory.
|
FileHandle[] |
FileHandleStream.list() |
FileHandle[] |
FileHandle.list(java.lang.String suffix)
Returns the paths to the children of this directory with the specified suffix.
|
FileHandle |
FileHandle.parent() |
FileHandle |
FileHandleStream.parent() |
FileHandle |
FileHandle.sibling(java.lang.String name)
Returns a handle to the sibling with the specified name.
|
FileHandle |
FileHandleStream.sibling(java.lang.String name) |
static FileHandle |
FileHandle.tempDirectory(java.lang.String prefix) |
static FileHandle |
FileHandle.tempFile(java.lang.String prefix) |
| Modifier and Type | Method and Description |
|---|---|
void |
FileHandle.copyTo(FileHandle dest)
Copies this file or directory to the specified file or directory.
|
void |
FileHandleStream.copyTo(FileHandle dest) |
void |
FileHandle.moveTo(FileHandle dest)
Moves this file to the specified file, overwriting the file if it already exists.
|
void |
FileHandleStream.moveTo(FileHandle dest) |
| Modifier and Type | Method and Description |
|---|---|
static Pixmap |
PixmapIO.readCIM(FileHandle file)
Reads the
Pixmap from the given file, assuming the Pixmap was written with the
PixmapIO.writeCIM(FileHandle, Pixmap) method. |
static void |
PixmapIO.writeCIM(FileHandle file,
Pixmap pixmap)
Writes the
Pixmap to the given file using a custom compression scheme. |
static void |
PixmapIO.writePNG(FileHandle file,
Pixmap pixmap)
Writes the pixmap as a PNG.
|
| Constructor and Description |
|---|
Pixmap(FileHandle file)
Creates a new Pixmap instance from the given file.
|
Texture(FileHandle file) |
Texture(FileHandle file,
boolean useMipMaps) |
Texture(FileHandle file,
Pixmap.Format format,
boolean useMipMaps) |
| Modifier and Type | Field and Description |
|---|---|
FileHandle |
BitmapFont.BitmapFontData.fontFile |
FileHandle |
TextureAtlas.TextureAtlasData.Page.textureFile |
| Modifier and Type | Method and Description |
|---|---|
FileHandle |
BitmapFont.BitmapFontData.getFontFile() |
| Modifier and Type | Method and Description |
|---|---|
void |
ParticleEffect.load(FileHandle effectFile,
FileHandle imagesDir) |
void |
ParticleEffect.load(FileHandle effectFile,
TextureAtlas atlas) |
void |
ParticleEffect.loadEmitterImages(FileHandle imagesDir) |
void |
ParticleEffect.loadEmitters(FileHandle effectFile) |
protected Texture |
ParticleEffect.loadTexture(FileHandle file) |
| Constructor and Description |
|---|
BitmapFont.BitmapFontData(FileHandle fontFile,
boolean flip) |
BitmapFont(FileHandle fontFile,
boolean flip)
Creates a BitmapFont from a BMFont file.
|
BitmapFont(FileHandle fontFile,
FileHandle imageFile,
boolean flip)
Creates a BitmapFont from a BMFont file, using the specified image for glyphs.
|
BitmapFont(FileHandle fontFile,
FileHandle imageFile,
boolean flip,
boolean integer)
Creates a BitmapFont from a BMFont file, using the specified image for glyphs.
|
BitmapFont(FileHandle fontFile,
TextureRegion region,
boolean flip)
Creates a BitmapFont with the glyphs relative to the specified region.
|
PolygonRegion(TextureRegion region,
FileHandle file)
Creates a PolygonRegion by reading in the vertices and texture coordinates from the external file.
|
TextureAtlas.TextureAtlasData.Page(FileHandle handle,
boolean useMipMaps,
Pixmap.Format format,
Texture.TextureFilter minFilter,
Texture.TextureFilter magFilter,
Texture.TextureWrap uWrap,
Texture.TextureWrap vWrap) |
TextureAtlas.TextureAtlasData(FileHandle packFile,
FileHandle imagesDir,
boolean flip) |
TextureAtlas(FileHandle packFile)
Loads the specified pack file, using the parent directory of the pack file to find the page images.
|
TextureAtlas(FileHandle packFile,
boolean flip) |
TextureAtlas(FileHandle packFile,
FileHandle imagesDir) |
TextureAtlas(FileHandle packFile,
FileHandle imagesDir,
boolean flip) |
| Modifier and Type | Method and Description |
|---|---|
static Model |
ModelLoaderRegistry.load(FileHandle file)
Loads the specified file with one of the loaders registered with this ModelLoaderRegistry.
|
KeyframedModel |
KeyframedModelLoader.load(FileHandle handle,
ModelLoaderHints hints) |
Model |
ModelLoader.load(FileHandle file,
ModelLoaderHints hints) |
static Model |
ModelLoaderRegistry.load(FileHandle file,
ModelLoaderHints hints)
Loads the specified file with one of the loaders registered with this ModelLoaderRegistry.
|
SkeletonModel |
SkeletonModelLoader.load(FileHandle file,
ModelLoaderHints hints) |
StillModel |
StillModelLoader.load(FileHandle handle,
ModelLoaderHints hints) |
static KeyframedModel |
ModelLoaderRegistry.loadKeyframedModel(FileHandle file)
Loads the specified file with one of the loaders registered with this ModelLoaderRegistry.
|
static KeyframedModel |
ModelLoaderRegistry.loadKeyframedModel(FileHandle file,
ModelLoaderHints hints)
Loads the specified file with one of the loaders registered with this ModelLoaderRegistry.
|
static SkeletonModel |
ModelLoaderRegistry.loadSkeletonModel(FileHandle file)
Loads the specified file with one of the loaders registered with this ModelLoaderRegistry.
|
static SkeletonModel |
ModelLoaderRegistry.loadSkeletonModel(FileHandle file,
ModelLoaderHints hints)
Loads the specified file with one of the loaders registered with this ModelLoaderRegistry.
|
static StillModel |
ModelLoaderRegistry.loadStillModel(FileHandle file)
Loads the specified file with one of the loaders registered with this ModelLoaderRegistry.
|
static StillModel |
ModelLoaderRegistry.loadStillModel(FileHandle file,
ModelLoaderHints hints)
Loads the specified file with one of the loaders registered with this ModelLoaderRegistry.
|
| Modifier and Type | Method and Description |
|---|---|
StillModel |
G3dLoader.G3dStillModelLoader.load(FileHandle handle,
ModelLoaderHints hints) |
KeyframedModel |
G3dLoader.G3dKeyframedModelLoader.load(FileHandle handle,
ModelLoaderHints hints) |
SkeletonModel |
G3dLoader.G3dSkeletonModelLoader.load(FileHandle handle,
ModelLoaderHints hints) |
StillModel |
G3dtLoader.G3dtStillModelLoader.load(FileHandle handle,
ModelLoaderHints hints) |
KeyframedModel |
G3dtLoader.G3dtKeyframedModelLoader.load(FileHandle handle,
ModelLoaderHints hints) |
static KeyframedModel |
G3dLoader.loadKeyframedModel(FileHandle handle) |
static KeyframedModel |
G3dtLoader.loadKeyframedModel(FileHandle handle,
boolean flipV) |
static SkeletonModel |
G3dLoader.loadSkeletonModel(FileHandle handle) |
static StillModel |
G3dLoader.loadStillModel(FileHandle handle) |
static StillModel |
G3dtLoader.loadStillModel(FileHandle handle,
boolean flipV) |
| Modifier and Type | Method and Description |
|---|---|
static void |
G3dExporter.export(KeyframedModel model,
FileHandle file) |
static void |
G3dExporter.export(SkeletonModel model,
FileHandle file) |
static void |
G3dExporter.export(StillModel model,
FileHandle file) |
| Modifier and Type | Method and Description |
|---|---|
KeyframedModel |
MD2Loader.load(FileHandle fileHandle,
float frameDuration) |
KeyframedModel |
MD2Loader.load(FileHandle file,
ModelLoaderHints hints) |
| Modifier and Type | Method and Description |
|---|---|
StillModel |
ObjLoader.load(FileHandle handle,
ModelLoaderHints hints) |
StillModel |
ObjLoader.loadObj(FileHandle file)
Loads a Wavefront OBJ file from a given file handle.
|
StillModel |
ObjLoader.loadObj(FileHandle file,
boolean flipV)
Loads a Wavefront OBJ file from a given file handle.
|
StillModel |
ObjLoader.loadObj(FileHandle file,
FileHandle textureDir,
boolean flipV)
Loads a Wavefront OBJ file from a given file handle.
|
| Modifier and Type | Method and Description |
|---|---|
FileHandle |
FileTextureData.getFileHandle() |
| Modifier and Type | Method and Description |
|---|---|
void |
ETC1.ETC1Data.write(FileHandle file)
Writes the ETC1Data with a PKM header to the given file.
|
| Constructor and Description |
|---|
ETC1.ETC1Data(FileHandle pkmFile) |
ETC1TextureData(FileHandle file) |
ETC1TextureData(FileHandle file,
boolean useMipMaps) |
FileTextureData(FileHandle file,
Pixmap preloadedPixmap,
Pixmap.Format format,
boolean useMipMaps) |
ShaderProgram(FileHandle vertexShader,
FileHandle fragmentShader) |
| Modifier and Type | Method and Description |
|---|---|
protected static FileHandle |
TmxMapLoader.getRelativeFileHandle(FileHandle file,
java.lang.String path) |
| Modifier and Type | Method and Description |
|---|---|
protected Array<FileHandle> |
TmxMapLoader.loadTilesets(XmlReader.Element root,
FileHandle tmxFile)
Loads the tilesets
|
| Modifier and Type | Method and Description |
|---|---|
protected static FileHandle |
TmxMapLoader.getRelativeFileHandle(FileHandle file,
java.lang.String path) |
protected TiledMap |
TmxMapLoader.loadTilemap(XmlReader.Element root,
FileHandle tmxFile,
ImageResolver imageResolver)
Loads the map data, given the XML root element and an
ImageResolver used
to return the tileset Textures |
protected void |
TmxMapLoader.loadTileSet(TiledMap map,
XmlReader.Element element,
FileHandle tmxFile,
ImageResolver imageResolver)
Loads the specified tileset data, adding it to the collection of the specified map, given the XML element, the tmxFile
and an
ImageResolver used to retrieve the tileset Textures. |
protected Array<FileHandle> |
TmxMapLoader.loadTilesets(XmlReader.Element root,
FileHandle tmxFile)
Loads the tilesets
|
| Modifier and Type | Method and Description |
|---|---|
protected Json |
Skin.getJsonLoader(FileHandle skinFile) |
void |
Skin.load(FileHandle skinFile)
Adds all resources in the specified skin JSON file.
|
| Constructor and Description |
|---|
Skin(FileHandle skinFile)
Creates a skin containing the resources in the specified skin JSON file.
|
Skin(FileHandle skinFile,
TextureAtlas atlas)
Creates a skin containing the resources in the specified skin JSON file and the texture regions from the specified atlas.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
Json.fromJson(java.lang.Class<T> type,
java.lang.Class elementType,
FileHandle file) |
<T> T |
Json.fromJson(java.lang.Class<T> type,
FileHandle file) |
java.lang.Object |
JsonReader.parse(FileHandle file) |
XmlReader.Element |
XmlReader.parse(FileHandle file) |
void |
Json.toJson(java.lang.Object object,
java.lang.Class knownType,
java.lang.Class elementType,
FileHandle file) |
void |
Json.toJson(java.lang.Object object,
java.lang.Class knownType,
FileHandle file) |
void |
Json.toJson(java.lang.Object object,
FileHandle file) |