HomeSort by relevance Sort by last modified time
    Searched refs:TextureRegion (Results 1 - 25 of 111) sorted by null

1 2 3 4 5

  /external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/
TiledMapImageLayer.java 19 import com.badlogic.gdx.graphics.g2d.TextureRegion;
24 private TextureRegion region;
29 public TiledMapImageLayer (TextureRegion region, float x, float y) {
35 public TextureRegion getTextureRegion () {
39 public void setTextureRegion (TextureRegion region) {
TiledMapTile.java 19 import com.badlogic.gdx.graphics.g2d.TextureRegion;
42 public TextureRegion getTextureRegion ();
45 public void setTextureRegion(TextureRegion textureRegion);
  /external/libgdx/gdx/src/com/badlogic/gdx/maps/
ImageResolver.java 22 import com.badlogic.gdx.graphics.g2d.TextureRegion;
30 public TextureRegion getImage (String name);
40 public TextureRegion getImage (String name) {
41 return new TextureRegion(images.get(name));
53 public TextureRegion getImage (String name) {
54 return new TextureRegion(assetManager.get(name, Texture.class));
66 public TextureRegion getImage (String name) {
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/
TexturePanel.java 10 import com.badlogic.gdx.graphics.g2d.TextureRegion;
20 Array<TextureRegion> selectedRegions;
21 Array<TextureRegion> unselectedRegions;
25 selectedRegions = new Array<TextureRegion>();
26 unselectedRegions = new Array<TextureRegion>();
31 for(TextureRegion region : unselectedRegions){
38 for(TextureRegion region : selectedRegions){
48 protected boolean isInsideRegion (TextureRegion region, float x, float y) {
54 public TexturePanel(Texture texture, Array<TextureRegion> regions){
82 public void setRegions(Array<TextureRegion> regions)
    [all...]
TextureAtlasPanel.java 16 import com.badlogic.gdx.graphics.g2d.TextureRegion;
66 Array<TextureRegion> regions = new Array<TextureRegion>();
75 protected Array<TextureRegion> getRegions (Texture texture, Array<AtlasRegion> atlasRegions, Array<TextureRegion> out) {
77 for(TextureRegion region : atlasRegions){
84 public Array<TextureRegion> getSelectedRegions () {
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
SimpleAnimationTest.java 24 import com.badlogic.gdx.graphics.g2d.TextureRegion;
48 TextureRegion[][] regions = TextureRegion.split(texture, 32, 48);
49 TextureRegion[] downWalkReg = regions[0];
50 TextureRegion[] leftWalkReg = regions[1];
51 TextureRegion[] rightWalkReg = regions[2];
52 TextureRegion[] upWalkReg = regions[3];
71 TextureRegion frame = currentWalk.getKeyFrame(currentFrameTime, true);
HexagonalTiledMapTest.java 23 import com.badlogic.gdx.graphics.g2d.TextureRegion;
55 TextureRegion[][] hexes = TextureRegion.split(hexture, 112, 97);
59 tiles[0] = new StaticTiledMapTile(new TextureRegion(hexes[0][0]));
60 tiles[1] = new StaticTiledMapTile(new TextureRegion(hexes[0][1]));
61 tiles[2] = new StaticTiledMapTile(new TextureRegion(hexes[1][0]));
AnimationTest.java 25 import com.badlogic.gdx.graphics.g2d.TextureRegion;
61 TextureRegion[] leftWalkFrames = TextureRegion.split(texture, 64, 64)[0];
62 TextureRegion[] rightWalkFrames = new TextureRegion[leftWalkFrames.length];
64 TextureRegion frame = new TextureRegion(leftWalkFrames[i]);
86 TextureRegion frame = caveman.headsLeft ? leftWalk.getKeyFrame(caveman.stateTime, true) : rightWalk.getKeyFrame(
RotationTest.java 23 import com.badlogic.gdx.graphics.g2d.TextureRegion;
29 TextureRegion region;
35 region = new TextureRegion(texture);
SpriteBatchOriginScaleTest.java 23 import com.badlogic.gdx.graphics.g2d.TextureRegion;
32 TextureRegion region;
37 region = new TextureRegion(new Texture("data/badlogicsmall.jpg"));
ParallaxTest.java 25 import com.badlogic.gdx.graphics.g2d.TextureRegion;
55 TextureRegion[] layers;
64 layers = new TextureRegion[3];
65 layers[0] = new TextureRegion(texture, 0, 0, 542, 363);
66 layers[1] = new TextureRegion(texture, 0, 363, 1024, 149);
67 layers[2] = new TextureRegion(texture, 547, 0, 224, 51);
ImageTest.java 22 import com.badlogic.gdx.graphics.g2d.TextureRegion;
34 TextureRegion image2;
39 image2 = new TextureRegion(new Texture(Gdx.files.internal("data/badlogic.jpg")));
  /external/libgdx/gdx/src/com/badlogic/gdx/maps/objects/
TextureMapObject.java 19 import com.badlogic.gdx.graphics.g2d.TextureRegion;
32 private TextureRegion textureRegion = null;
105 public TextureRegion getTextureRegion () {
106 return textureRegion;
110 public void setTextureRegion (TextureRegion region) {
111 textureRegion = region;
121 * @param textureRegion the {@link TextureRegion} to use. */
122 public TextureMapObject (TextureRegion textureRegion)
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/tiles/
StaticTiledMapTile.java 19 import com.badlogic.gdx.graphics.g2d.TextureRegion;
32 private TextureRegion textureRegion;
67 public TextureRegion getTextureRegion () {
68 return textureRegion;
72 public void setTextureRegion(TextureRegion textureRegion) {
73 this.textureRegion = textureRegion;
98 * @param textureRegion the {@link TextureRegion} to use. *
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
TextureRegion.java 25 public class TextureRegion {
32 public TextureRegion () {
36 public TextureRegion (Texture texture) {
44 public TextureRegion (Texture texture, int width, int height) {
51 public TextureRegion (Texture texture, int x, int y, int width, int height) {
56 public TextureRegion (Texture texture, float u, float v, float u2, float v2) {
62 public TextureRegion (TextureRegion region) {
69 public TextureRegion (TextureRegion region, int x, int y, int width, int height) {
    [all...]
PolygonRegion.java 27 final TextureRegion region;
29 /** Creates a PolygonRegion by triangulating the polygon coordinates in vertices and calculates uvs based on that. TextureRegion
33 public PolygonRegion (TextureRegion region, float[] vertices, short[] triangles) {
64 public TextureRegion getRegion () {
Animation.java 23 * An Animation stores a list of {@link TextureRegion}s representing an animated sequence, e.g. for running or jumping. Each
40 final TextureRegion[] keyFrames;
51 * @param keyFrames the {@link TextureRegion}s representing the frames. */
52 public Animation (float frameDuration, Array<? extends TextureRegion> keyFrames) {
55 this.keyFrames = new TextureRegion[keyFrames.size];
66 * @param keyFrames the {@link TextureRegion}s representing the frames.
68 public Animation (float frameDuration, Array<? extends TextureRegion> keyFrames, PlayMode playMode) {
72 this.keyFrames = new TextureRegion[keyFrames.size];
83 * @param keyFrames the {@link TextureRegion}s representing the frames. */
84 public Animation (float frameDuration, TextureRegion... keyFrames) {
    [all...]
DistanceFieldFont.java 39 public DistanceFieldFont (BitmapFontData data, Array<TextureRegion> pageRegions, boolean integer) {
43 public DistanceFieldFont (BitmapFontData data, TextureRegion region, boolean integer) {
59 public DistanceFieldFont (FileHandle fontFile, TextureRegion region, boolean flip) {
63 public DistanceFieldFont (FileHandle fontFile, TextureRegion region) {
75 final Array<TextureRegion> regions = getRegions();
76 for (TextureRegion region : regions)
Batch.java 147 public void draw (TextureRegion region, float x, float y);
150 public void draw (TextureRegion region, float x, float y, float width, float height);
156 public void draw (TextureRegion region, float x, float y, float originX, float originY, float width, float height,
165 public void draw (TextureRegion region, float x, float y, float originX, float originY, float width, float height,
169 public void draw (TextureRegion region, float width, float height, Affine2 transform);
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/
TextureRegionDrawable.java 22 import com.badlogic.gdx.graphics.g2d.TextureRegion;
26 /** Drawable for a {@link TextureRegion}.
29 private TextureRegion region;
35 public TextureRegionDrawable (TextureRegion region) {
53 public void setRegion (TextureRegion region) {
59 public TextureRegion getRegion () {
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/decals/
DecalMaterial.java 20 import com.badlogic.gdx.graphics.g2d.TextureRegion;
25 protected TextureRegion textureRegion;
31 textureRegion.getTexture().bind(0);
57 && textureRegion.getTexture() == material.textureRegion.getTexture();
63 int result = textureRegion.getTexture() != null ? textureRegion.getTexture().hashCode() : 0;
  /external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/objects/
TiledMapTileMapObject.java 19 import com.badlogic.gdx.graphics.g2d.TextureRegion;
42 TextureRegion textureRegion = new TextureRegion(tile.getTextureRegion());
43 textureRegion.flip(flipHorizontally, flipVertically);
44 setTextureRegion(textureRegion);
  /external/libgdx/gdx/src/com/badlogic/gdx/utils/
ScreenUtils.java 26 import com.badlogic.gdx.graphics.g2d.TextureRegion;
35 /** Returns the default framebuffer contents as a {@link TextureRegion} with a width and height equal to the current screen
37 * accessed via {@link TextureRegion#getTexture}. The texture is not managed and has to be reloaded manually on a context loss.
38 * The returned TextureRegion is flipped along the Y axis by default. */
39 public static TextureRegion getFrameBufferTexture () {
45 /** Returns a portion of the default framebuffer contents specified by x, y, width and height as a {@link TextureRegion} with
47 * {@link Format}. It can be accessed via {@link TextureRegion#getTexture}. This texture is not managed and has to be reloaded
55 public static TextureRegion getFrameBufferTexture (int x, int y, int w, int h) {
63 TextureRegion textureRegion = new TextureRegion(texture, 0, h, w, -h);
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/influencers/
RegionInfluencer.java 4 import com.badlogic.gdx.graphics.g2d.TextureRegion;
23 public Single (TextureRegion textureRegion) {
24 super(textureRegion);
58 public Random (TextureRegion textureRegion) {
59 super(textureRegion);
96 public Animated (TextureRegion textureRegion) {
97 super(textureRegion);
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/attributes/
TextureAttribute.java 20 import com.badlogic.gdx.graphics.g2d.TextureRegion;
53 public static TextureAttribute createDiffuse (final TextureRegion region) {
61 public static TextureAttribute createSpecular (final TextureRegion region) {
69 public static TextureAttribute createNormal (final TextureRegion region) {
77 public static TextureAttribute createBump (final TextureRegion region) {
85 public static TextureAttribute createAmbient (final TextureRegion region) {
93 public static TextureAttribute createEmissive (final TextureRegion region) {
101 public static TextureAttribute createReflection (final TextureRegion region) {
146 public TextureAttribute (final long type, final TextureRegion region) {
156 public void set (final TextureRegion region) {
    [all...]

Completed in 528 milliseconds

1 2 3 4 5