| Constructor and Description |
|---|
SpriteDelegate() |
SpriteDelegate(ISprite delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindTexture()
Binds this sprites backing texture so that this sprite will be referenced when you use the results of
ISprite.getInterpU(double) and ISprite.getInterpV(double) |
double |
getInterpU(double u) |
double |
getInterpV(double v) |
public ISprite delegate
public SpriteDelegate(ISprite delegate)
public SpriteDelegate()
public void bindTexture()
ISpriteISprite.getInterpU(double) and ISprite.getInterpV(double)bindTexture in interface ISpritepublic double getInterpU(double u)
getInterpU in interface ISpriteu - A value between 0 and 1public double getInterpV(double v)
getInterpV in interface ISpritev - A value between 0 and 1