iIsoSprite Struct Reference
A sprite for the isometric engine. More...
#include <iso.h>
Inheritance diagram for iIsoSprite:

Public Methods | |
virtual int | GetVertexCount () const=0 |
get the number of vertices | |
virtual void | AddVertex (const csVector3 &coord, float u, float v)=0 |
add a new vertex to the polygon | |
virtual const csVector3 & | GetVertexPosition (int i)=0 |
get a vertex position | |
virtual void | SetAllColors (const csColor &color)=0 |
set all vertex colors to given | |
virtual void | AddToVertexColor (int i, const csColor &color)=0 |
add color to color of vertex | |
virtual void | ResetAllColors ()=0 |
reset all vertex colors to their static values | |
virtual void | SetAllStaticColors (const csColor &color)=0 |
set all static vertex colors to given | |
virtual void | AddToVertexStaticColor (int i, const csColor &color)=0 |
add color to static color of vertex | |
virtual const csVector3 & | GetPosition () const=0 |
Get the world position of the sprite. | |
virtual void | SetPosition (const csVector3 &pos)=0 |
Set the position. In world space. | |
virtual void | MovePosition (const csVector3 &delta)=0 |
Move the position by delta. | |
virtual void | ForcePosition (const csVector3 &pos)=0 |
force position to a value - without updating other internal data structures. | |
virtual void | SetMaterialWrapper (iMaterialWrapper *material)=0 |
Set the materialwrapper to use. | |
virtual iMaterialWrapper * | GetMaterialWrapper () const=0 |
Get the materialwrapper. | |
virtual void | SetMixMode (uint mode)=0 |
Set the mixmode. | |
virtual uint | GetMixMode () const=0 |
Get the mixmode. | |
virtual void | Draw (iIsoRenderView *rview)=0 |
Draw using given renderview. | |
virtual void | SetGrid (iIsoGrid *grid)=0 |
Set the grid this sprite is part of (used as notification by grid/world). | |
virtual iIsoGrid * | GetGrid () const=0 |
get the grid this sprite is part of | |
virtual void | SetGridChangeCallback (iGridChangeCallback *cb)=0 |
set a callback for when the sprite moves to another grid | |
virtual iGridChangeCallback * | GetGridChangeCallback () const=0 |
get the callback for when the sprite moves to another grid |
Detailed Description
A sprite for the isometric engine.
Definition at line 398 of file iso.h.
Member Function Documentation
|
add color to color of vertex
|
|
add color to static color of vertex
|
|
add a new vertex to the polygon
|
|
Draw using given renderview.
|
|
force position to a value - without updating other internal data structures. Used by those internal data structures, to invalidate impossible movement |
|
get the grid this sprite is part of
|
|
get the callback for when the sprite moves to another grid
|
|
Get the materialwrapper.
|
|
Get the mixmode.
|
|
Get the world position of the sprite.
|
|
get the number of vertices
|
|
get a vertex position
|
|
Move the position by delta.
|
|
reset all vertex colors to their static values
|
|
set all vertex colors to given
|
|
set all static vertex colors to given
|
|
Set the grid this sprite is part of (used as notification by grid/world).
|
|
set a callback for when the sprite moves to another grid
|
|
Set the materialwrapper to use.
|
|
Set the mixmode.
|
|
Set the position. In world space.
|
The documentation for this struct was generated from the following file:
- ivaria/iso.h
Generated for Crystal Space by doxygen 1.2.18