|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Batch | |
---|---|
com.badlogic.gdx.graphics.g2d | |
com.badlogic.gdx.maps.tiled.renderers | |
com.badlogic.gdx.scenes.scene2d | |
com.badlogic.gdx.scenes.scene2d.ui | |
com.badlogic.gdx.scenes.scene2d.utils |
Uses of Batch in com.badlogic.gdx.graphics.g2d |
---|
Classes in com.badlogic.gdx.graphics.g2d that implement Batch | |
---|---|
class |
PolygonSpriteBatch
A PolygonSpriteBatch is used to draw 2D polygons that reference a texture (region). |
class |
SpriteBatch
Draws batched quads using indices. |
Methods in com.badlogic.gdx.graphics.g2d with parameters of type Batch | |
---|---|
void |
Sprite.draw(Batch batch)
|
void |
ParticleEmitter.draw(Batch batch)
|
void |
ParticleEffect.draw(Batch spriteBatch)
|
void |
BitmapFontCache.draw(Batch spriteBatch)
|
BitmapFont.TextBounds |
BitmapFont.draw(Batch batch,
CharSequence str,
float x,
float y)
Draws a string at the specified position. |
BitmapFont.TextBounds |
BitmapFont.draw(Batch batch,
CharSequence str,
float x,
float y,
int start,
int end)
Draws a string at the specified position. |
void |
Sprite.draw(Batch batch,
float alphaModulation)
|
void |
ParticleEmitter.draw(Batch batch,
float delta)
Updates and draws the particles. |
void |
ParticleEffect.draw(Batch spriteBatch,
float delta)
|
void |
BitmapFontCache.draw(Batch spriteBatch,
float alphaModulation)
|
void |
NinePatch.draw(Batch batch,
float x,
float y,
float width,
float height)
|
void |
BitmapFontCache.draw(Batch spriteBatch,
int start,
int end)
|
BitmapFont.TextBounds |
BitmapFont.drawMultiLine(Batch batch,
CharSequence str,
float x,
float y)
Draws a string, which may contain newlines (\n), at the specified position. |
BitmapFont.TextBounds |
BitmapFont.drawMultiLine(Batch batch,
CharSequence str,
float x,
float y,
float alignmentWidth,
BitmapFont.HAlignment alignment)
Draws a string, which may contain newlines (\n), at the specified position. |
BitmapFont.TextBounds |
BitmapFont.drawWrapped(Batch batch,
CharSequence str,
float x,
float y,
float wrapWidth)
Draws a string, which may contain newlines (\n), with the specified position. |
BitmapFont.TextBounds |
BitmapFont.drawWrapped(Batch batch,
CharSequence str,
float x,
float y,
float wrapWidth,
BitmapFont.HAlignment alignment)
Draws a string, which may contain newlines (\n), with the specified position. |
Uses of Batch in com.badlogic.gdx.maps.tiled.renderers |
---|
Methods in com.badlogic.gdx.maps.tiled.renderers that return Batch | |
---|---|
Batch |
BatchTiledMapRenderer.getSpriteBatch()
|
Constructors in com.badlogic.gdx.maps.tiled.renderers with parameters of type Batch | |
---|---|
BatchTiledMapRenderer(TiledMap map,
Batch batch)
|
|
BatchTiledMapRenderer(TiledMap map,
float unitScale,
Batch batch)
|
|
HexagonalTiledMapRenderer(TiledMap map,
Batch batch)
|
|
HexagonalTiledMapRenderer(TiledMap map,
float unitScale,
Batch batch)
|
|
IsometricStaggeredTiledMapRenderer(TiledMap map,
Batch batch)
|
|
IsometricStaggeredTiledMapRenderer(TiledMap map,
float unitScale,
Batch batch)
|
|
IsometricTiledMapRenderer(TiledMap map,
Batch batch)
|
|
IsometricTiledMapRenderer(TiledMap map,
float unitScale,
Batch batch)
|
|
OrthogonalTiledMapRenderer(TiledMap map,
Batch batch)
|
|
OrthogonalTiledMapRenderer(TiledMap map,
float unitScale,
Batch batch)
|
Uses of Batch in com.badlogic.gdx.scenes.scene2d |
---|
Methods in com.badlogic.gdx.scenes.scene2d that return Batch | |
---|---|
Batch |
Stage.getSpriteBatch()
|
Methods in com.badlogic.gdx.scenes.scene2d with parameters of type Batch | |
---|---|
void |
Group.draw(Batch batch,
float parentAlpha)
Draws the group and its children. |
void |
Actor.draw(Batch batch,
float parentAlpha)
Draws the actor. |
Constructors in com.badlogic.gdx.scenes.scene2d with parameters of type Batch | |
---|---|
Stage(Viewport viewport,
Batch batch)
Creates a stage with the specified Viewport and Batch . |
Uses of Batch in com.badlogic.gdx.scenes.scene2d.ui |
---|
Methods in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Batch | |
---|---|
void |
Window.draw(Batch batch,
float parentAlpha)
|
void |
WidgetGroup.draw(Batch batch,
float parentAlpha)
If this method is overridden, the super method or WidgetGroup.validate() should be called to ensure the widget group is laid
out. |
void |
Widget.draw(Batch batch,
float parentAlpha)
If this method is overridden, the super method or Widget.validate() should be called to ensure the widget is laid out. |
void |
Tree.draw(Batch batch,
float parentAlpha)
|
void |
Touchpad.draw(Batch batch,
float parentAlpha)
|
void |
TextField.draw(Batch batch,
float parentAlpha)
|
void |
TextButton.draw(Batch batch,
float parentAlpha)
|
void |
Table.draw(Batch batch,
float parentAlpha)
|
void |
SplitPane.draw(Batch batch,
float parentAlpha)
|
void |
SelectBox.draw(Batch batch,
float parentAlpha)
|
void |
ScrollPane.draw(Batch batch,
float parentAlpha)
|
void |
ProgressBar.draw(Batch batch,
float parentAlpha)
|
void |
List.draw(Batch batch,
float parentAlpha)
|
void |
Label.draw(Batch batch,
float parentAlpha)
|
void |
ImageTextButton.draw(Batch batch,
float parentAlpha)
|
void |
ImageButton.draw(Batch batch,
float parentAlpha)
|
void |
Image.draw(Batch batch,
float parentAlpha)
|
void |
Container.draw(Batch batch,
float parentAlpha)
|
void |
CheckBox.draw(Batch batch,
float parentAlpha)
|
void |
Button.draw(Batch batch,
float parentAlpha)
|
Uses of Batch in com.badlogic.gdx.scenes.scene2d.utils |
---|
Methods in com.badlogic.gdx.scenes.scene2d.utils with parameters of type Batch | |
---|---|
void |
TiledDrawable.draw(Batch batch,
float x,
float y,
float width,
float height)
|
void |
TextureRegionDrawable.draw(Batch batch,
float x,
float y,
float width,
float height)
|
void |
SpriteDrawable.draw(Batch batch,
float x,
float y,
float width,
float height)
|
void |
NinePatchDrawable.draw(Batch batch,
float x,
float y,
float width,
float height)
|
void |
Drawable.draw(Batch batch,
float x,
float y,
float width,
float height)
Draws this drawable at the specified bounds. |
void |
BaseDrawable.draw(Batch batch,
float x,
float y,
float width,
float height)
|
void |
TransformDrawable.draw(Batch batch,
float x,
float y,
float originX,
float originY,
float width,
float height,
float scaleX,
float scaleY,
float rotation)
|
void |
TextureRegionDrawable.draw(Batch batch,
float x,
float y,
float originX,
float originY,
float width,
float height,
float scaleX,
float scaleY,
float rotation)
|
void |
SpriteDrawable.draw(Batch batch,
float x,
float y,
float originX,
float originY,
float width,
float height,
float scaleX,
float scaleY,
float rotation)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |