Package com.badlogic.gdx.maps.tiled
Class BaseTmxMapLoader.Parameters
- java.lang.Object
-
- com.badlogic.gdx.assets.AssetLoaderParameters<TiledMap>
-
- com.badlogic.gdx.maps.tiled.BaseTmxMapLoader.Parameters
-
- Direct Known Subclasses:
AtlasTmxMapLoader.AtlasTiledMapLoaderParameters,TmxMapLoader.Parameters
- Enclosing class:
- BaseTmxMapLoader<P extends BaseTmxMapLoader.Parameters>
public static class BaseTmxMapLoader.Parameters extends AssetLoaderParameters<TiledMap>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.badlogic.gdx.assets.AssetLoaderParameters
AssetLoaderParameters.LoadedCallback
-
-
Field Summary
Fields Modifier and Type Field Description booleanconvertObjectToTileSpaceWhether to convert the objects' pixel position and size to the equivalent in tile space.booleanflipYWhether to flip all Y coordinates so that Y positive is up.booleangenerateMipMapsgenerate mipmaps?Texture.TextureFiltertextureMagFilterThe TextureFilter to use for magnificationTexture.TextureFiltertextureMinFilterThe TextureFilter to use for minification-
Fields inherited from class com.badlogic.gdx.assets.AssetLoaderParameters
loadedCallback
-
-
Constructor Summary
Constructors Constructor Description Parameters()
-
-
-
Field Detail
-
generateMipMaps
public boolean generateMipMaps
generate mipmaps?
-
textureMinFilter
public Texture.TextureFilter textureMinFilter
The TextureFilter to use for minification
-
textureMagFilter
public Texture.TextureFilter textureMagFilter
The TextureFilter to use for magnification
-
convertObjectToTileSpace
public boolean convertObjectToTileSpace
Whether to convert the objects' pixel position and size to the equivalent in tile space.
-
flipY
public boolean flipY
Whether to flip all Y coordinates so that Y positive is up. All libGDX renderers require flipped Y coordinates, and thus flipY set to true. This parameter is included for non-rendering related purposes of TMX files, or custom renderers.
-
-