|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SpriteImage
Represents a sub section of a 2d texture u0/u1/v0/v1 are the normalised texture coordinates for the corners of the sprite.
| Method Summary | |
|---|---|
int |
getHeight()
The height of the sprite image, in pixels |
int |
getTextureId()
Returns the OpenGL texture id of the underlying texture |
float |
getU0()
|
float |
getU1()
|
float |
getV0()
|
float |
getV1()
|
int |
getWidth()
The width of the sprite image, in pixels |
| Method Detail |
|---|
int getTextureId()
int getWidth()
int getHeight()
float getU0()
float getU1()
float getV0()
float getV1()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||