/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
TableLayoutTest.java | 22 import com.badlogic.gdx.graphics.g2d.TextureRegion;
56 TextureRegion upRegion = skin.getRegion("default-slider-knob");
57 TextureRegion downRegion = skin.getRegion("default-slider-knob");
|
TableTest.java | 24 import com.badlogic.gdx.graphics.g2d.TextureRegion;
50 TextureRegion region = new TextureRegion(texture);
|
StageTest.java | 26 import com.badlogic.gdx.graphics.g2d.TextureRegion;
86 Image blend = new Image(new TextureRegion(uiTexture, 0, 0, 64, 32));
100 Image rotate = new Image(new TextureRegion(uiTexture, 64, 0, 64, 32));
111 Image scale = new Image(new TextureRegion(uiTexture, 64, 32, 64, 32));
161 Image img = new Image(new TextureRegion(texture));
|
ContainerTest.java | 7 import com.badlogic.gdx.graphics.g2d.TextureRegion; 26 TextureRegionDrawable logo = new TextureRegionDrawable(new TextureRegion(new Texture(
|
FramebufferToTextureTest.java | 27 import com.badlogic.gdx.graphics.g2d.TextureRegion;
39 TextureRegion fbTexture;
|
PolygonSpriteTest.java | 28 import com.badlogic.gdx.graphics.g2d.TextureRegion;
53 region = loader.load(new TextureRegion(texture), Gdx.files.internal("data/tree.psh"));
|
SimpleStageCullingTest.java | 26 import com.badlogic.gdx.graphics.g2d.TextureRegion;
56 super(new TextureRegion(texture));
|
BitmapFontDistanceFieldTest.java | 28 import com.badlogic.gdx.graphics.g2d.TextureRegion; 76 regularFont = new BitmapFont(Gdx.files.internal("data/verdana39.fnt"), new TextureRegion(regularTexture), true); 80 distanceFieldFont = new BitmapFont(Gdx.files.internal("data/verdana39distancefield.fnt"), new TextureRegion(
|
DecalTest.java | 26 import com.badlogic.gdx.graphics.g2d.TextureRegion;
138 sprite = Decal.newDecal(new TextureRegion(egg), willItBlend_that_is_the_question);
141 sprite = Decal.newDecal(new TextureRegion(wheel));
|
GroupTest.java | 26 import com.badlogic.gdx.graphics.g2d.TextureRegion;
44 TextureRegion region;
56 region = new TextureRegion(new Texture(Gdx.files.internal("data/group-debug.png")));
|
PolygonRegionTest.java | 27 import com.badlogic.gdx.graphics.g2d.TextureRegion;
52 region = loader.load(new TextureRegion(texture), Gdx.files.internal("data/tree.psh"));
55 region2 = new PolygonRegion(new TextureRegion(texture), new float[] {0, 0, 100, 100, 0, 100}, new short[] {0, 1, 2});
|
Scene2dTest.java | 26 import com.badlogic.gdx.graphics.g2d.TextureRegion;
56 final TextureRegion region = new TextureRegion(new Texture("data/badlogic.jpg"));
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bench/ |
TiledMapBench.java | 26 import com.badlogic.gdx.graphics.g2d.TextureRegion;
66 TextureRegion[][] splitTiles = TextureRegion.split(tiles, 32, 32);
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/extensions/ |
FreeTypeIncrementalTest.java | 25 import com.badlogic.gdx.graphics.g2d.TextureRegion; 75 TextureRegion region = font.getRegions().get(i); 85 TextureRegion region = font.getRegions().get(i);
|
FreeTypePackTest.java | 30 import com.badlogic.gdx.graphics.g2d.TextureRegion;
67 Array<TextureRegion> regions;
135 for (TextureRegion r : regions)
154 // 6. Get the TextureRegion(s) from the packer using packer.updateTextureRegions()
156 // 8. Use each BitmapFontData to construct a new BitmapFont, and specify your TextureRegion(s) to the font constructor
189 regions = new Array<TextureRegion>();
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/voxel/ |
VoxelTest.java | 25 import com.badlogic.gdx.graphics.g2d.TextureRegion;
61 TextureRegion[][] tiles = TextureRegion.split(texture, 32, 32);
|
/external/libgdx/tests/gdx-tests-android/src/com/badlogic/gdx/tests/android/ |
APKExpansionTest.java | 31 import com.badlogic.gdx.graphics.g2d.TextureRegion; 48 TextureRegion atlasTextureRegion; 82 atlasTextureRegion = new TextureRegion(atlas.findRegion("water"));
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/decals/ |
Decal.java | 21 import com.badlogic.gdx.graphics.g2d.TextureRegion;
529 TextureRegion tr = material.textureRegion;
546 * @param textureRegion Texture region to apply */
547 public void setTextureRegion (TextureRegion textureRegion) {
548 this.material.textureRegion = textureRegion;
553 public TextureRegion getTextureRegion () {
554 return this.material.textureRegion;
[all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
PolygonRegionLoader.java | 71 return load(new TextureRegion(texture), file); 117 public PolygonRegion load (TextureRegion textureRegion, FileHandle file) { 130 return new PolygonRegion(textureRegion, vertices, triangulator.computeTriangles(vertices).toArray());
|
BitmapFont.java | 42 /** Renders bitmap fonts. The font consists of 2 files: an image file or {@link TextureRegion} containing the glyphs and a file in 49 * longer needed. A BitmapFont loaded using a {@link TextureRegion} is managed if the region's texture is managed. Disposing the 61 Array<TextureRegion> regions; 90 public BitmapFont (FileHandle fontFile, TextureRegion region) { 100 public BitmapFont (FileHandle fontFile, TextureRegion region, boolean flip) { 114 this(new BitmapFontData(fontFile, flip), (TextureRegion)null, true); 129 this(new BitmapFontData(fontFile, flip), new TextureRegion(new Texture(imageFile, false)), integer); 133 /** Constructs a new BitmapFont from the given {@link BitmapFontData} and {@link TextureRegion}. If the TextureRegion is null, 137 * Passing a single TextureRegion assumes that your font only needs a single texture page. If you need to support multipl [all...] |
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/ |
RegionPickerPanel.java | 18 import com.badlogic.gdx.graphics.g2d.TextureRegion; 38 void onRegionsSelected(Array<TextureRegion> regions); 167 texturePanel.unselectedRegions.add(new TextureRegion(texture, i*xOffset, rowOffset, xOffset, yOffset) ); 175 texturePanel.unselectedRegions.add(new TextureRegion(texture, columnOffset, j*yOffset, xOffset, yOffset) );
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/renderers/ |
BillboardRenderer.java | 28 renderData.regionChannel = controller.particles.addChannel(ParticleChannels.TextureRegion, TextureRegionInitializer.get());
|
PointSpriteRenderer.java | 28 renderData.regionChannel = controller.particles.addChannel(ParticleChannels.TextureRegion, TextureRegionInitializer.get());
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
Image.java | 23 import com.badlogic.gdx.graphics.g2d.TextureRegion;
54 public Image (TextureRegion region) {
60 this(new TextureRegionDrawable(new TextureRegion(texture)));
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/system/realistic/ |
MainShader.java | 21 import com.badlogic.gdx.graphics.g2d.TextureRegion; 193 final TextureRegion tr = dirCameras.get(dl).region; 229 final TextureRegion tr = spotCameras.get(sl).region;
|