![]() |
Public API Reference |
#include <sprite2d.h>
Inheritance diagram for iSprite2DFactoryState:
Public Methods | |
virtual void | SetMaterialWrapper (iMaterialWrapper *material)=0 |
Set material of sprite. More... | |
virtual iMaterialWrapper * | GetMaterialWrapper () const=0 |
Get material of sprite. More... | |
virtual void | SetMixMode (uint mode)=0 |
Set mix mode. More... | |
virtual uint | GetMixMode () const=0 |
Get mix mode. More... | |
virtual void | SetLighting (bool l)=0 |
Set true if this sprite needs lighting (default). More... | |
virtual bool | HasLighting () const=0 |
Return the value of the lighting flag. More... | |
virtual int | GetUVAnimationCount () const=0 |
Get the number of UVAnimations. More... | |
virtual iSprite2DUVAnimation * | CreateUVAnimation ()=0 |
Create a new UV animation. More... | |
virtual void | RemoveUVAnimation (iSprite2DUVAnimation *anim)=0 |
Remove an UV animation. More... | |
virtual iSprite2DUVAnimation * | GetUVAnimation (const char *name)=0 |
Get a specific UV animation by name. More... | |
virtual iSprite2DUVAnimation * | GetUVAnimation (int idx)=0 |
Get a specific UV animation by index. More... |
Definition at line 159 of file sprite2d.h.
|
Create a new UV animation.
|
|
Get material of sprite.
|
|
Get mix mode.
|
|
Get a specific UV animation by index. Returns NULL if not found. |
|
Get a specific UV animation by name. Returns NULL if not found. |
|
Get the number of UVAnimations.
|
|
Return the value of the lighting flag.
|
|
Remove an UV animation.
|
|
Set true if this sprite needs lighting (default). Otherwise the given colors are used. If lighting is disabled then the color_init array is copied to the color array. |
|
Set material of sprite.
|
|
Set mix mode.
|