|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
iHalo: used to render halos (aka "light globes"). This interface can be used as well for any scalable semi-transparent 2D sprites. The "halo" is really just an alpha map; the sprite is a single-colored rectangle with more or less transparent portions (depends on alpha map).
| Method Summary | |
void |
draw(float x,
float y,
float w,
float h,
float iIntensity,
csVector2[] iVertices)
Draw the halo given a center point and an intensity. |
float[] |
getColor()
Query halo color. |
int |
getHeight()
Query halo height. |
int |
getWidth()
Query halo width. |
void |
setColor(float iR,
float iG,
float iB)
Change halo color. |
| Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getName, getRefCount, getVersion, incRef, queryInterface, queryInterfaceSafe |
| Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
| Method Detail |
public void draw(float x,
float y,
float w,
float h,
float iIntensity,
csVector2[] iVertices)
x - y - w - h - iIntensity - iVertices - public float[] getColor()
public int getHeight()
public int getWidth()
public void setColor(float iR,
float iG,
float iB)
iR - iG - iB -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||