|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Sprite | |
---|---|
com.badlogic.gdx.graphics.g2d |
Uses of Sprite in com.badlogic.gdx.graphics.g2d |
---|
Subclasses of Sprite in com.badlogic.gdx.graphics.g2d | |
---|---|
static class |
TextureAtlas.AtlasSprite
A sprite that, if whitespace was stripped from the region when it was packed, is automatically positioned as if whitespace had not been stripped. |
Methods in com.badlogic.gdx.graphics.g2d that return Sprite | |
---|---|
Sprite |
TextureAtlas.createSprite(java.lang.String name)
Returns the first region found with the specified name as a sprite. |
Sprite |
TextureAtlas.createSprite(java.lang.String name,
int index)
Returns the first region found with the specified name and index as a sprite. |
Sprite |
ParticleEmitter.getSprite()
|
Methods in com.badlogic.gdx.graphics.g2d that return types with arguments of type Sprite | |
---|---|
java.util.List<Sprite> |
TextureAtlas.createSprites()
Returns all regions in the atlas as sprites. |
java.util.List<Sprite> |
TextureAtlas.createSprites(java.lang.String name)
Returns all regions with the specified name as sprites, ordered by smallest to largest index . |
Methods in com.badlogic.gdx.graphics.g2d with parameters of type Sprite | |
---|---|
void |
SpriteCache.add(Sprite sprite)
Adds the specified sprite to the cache. |
protected com.badlogic.gdx.graphics.g2d.ParticleEmitter.Particle |
ParticleEmitter.newParticle(Sprite sprite)
|
protected com.badlogic.gdx.graphics.g2d.ParticleEmitter.Particle |
ParticleEmitterBox2D.newParticle(Sprite sprite)
|
void |
Sprite.set(Sprite sprite)
|
void |
ParticleEmitter.setSprite(Sprite sprite)
|
Constructors in com.badlogic.gdx.graphics.g2d with parameters of type Sprite | |
---|---|
Sprite(Sprite sprite)
Creates a sprite that is a copy in every way of the specified sprite. |
|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |