List of usage examples for com.badlogic.gdx.graphics.g2d TextureAtlas findRegion
public AtlasRegion findRegion(String name, int index)
From source file:net.mwplay.cocostudio.ui.CocoStudioUIEditor.java
License:Apache License
protected TextureRegion findRegion(String name, int index) { for (TextureAtlas ta : textureAtlas) { if (ta == null) { continue; }//from w w w . j av a2s .c om TextureRegion tr = ta.findRegion(name, index); if (tr != null) { return tr; } } return null; }