#include <sprite3d.h>
Inheritance diagram for iSprite3DState:
Public Methods | |
| virtual void | SetMaterialWrapper (iMaterialWrapper *material)=0 |
| Set material of sprite. | |
| virtual iMaterialWrapper* | GetMaterialWrapper () const=0 |
| Get material of sprite. | |
| virtual void | SetMixMode (uint mode)=0 |
| Set mix mode. | |
| virtual uint | GetMixMode () const=0 |
| Get mix mode. | |
| virtual void | SetLighting (bool l)=0 |
| Set lighting. | |
| virtual bool | IsLighting () const=0 |
| Get lighting. | |
| virtual iSkeletonState* | GetSkeletonState () const=0 |
| Get the skeleton state. More... | |
| virtual void | SetFrame (int f)=0 |
| Go to a specified frame. | |
| virtual int | GetCurFrame () const=0 |
| Get the current frame number. | |
| virtual int | GetFrameCount () const=0 |
| Get the number of frames. | |
| virtual bool | SetAction (const char *name)=0 |
| Select an action. | |
| virtual iSpriteAction* | GetCurAction () const=0 |
| Get the current action. | |
| virtual void | EnableTweening (bool en)=0 |
| Enable/disable tweening. | |
| virtual bool | IsTweeningEnabled () const=0 |
| Query state of tweening. | |
| virtual void | UnsetTexture ()=0 |
| Unset the texture (i.e. use the one from the factory). | |
| virtual int | GetLightingQuality ()=0 |
| Returns the lighting quality level used by this sprite. More... | |
| virtual void | SetLocalLightingQuality (int lighting_quality)=0 |
| Sets the local lighting quality for this sprite. More... | |
| virtual void | SetLightingQualityConfig (int config_flag)=0 |
| Sets which lighting config variable this sprite will use. More... | |
| virtual int | GetLightingQualityConfig () const=0 |
| Returns what this sprite is using for determining the lighting quality. | |
| virtual void | SetLodLevelConfig (int config_flag)=0 |
| Sets which lighting config variable this sprite will use. More... | |
| virtual int | GetLodLevelConfig () const=0 |
| Returns what this sprite is using for determining the lighting quality. | |
| virtual bool | IsLodEnabled () const=0 |
| Returns true if lod is enabled, else false. | |
| virtual void | SetBaseColor (const csColor &col)=0 |
| Set the base color. More... | |
| virtual void | GetBaseColor (csColor &col) const=0 |
| Get the base color. | |
|
|
Returns the lighting quality level used by this sprite. See SPR_LIGHTING_* macros defined in this header for the different types of lighting. |
|
|
Get the skeleton state. Will only be valid if skeletal animation has been enabled for the factory that this sprite was created from. Otherwise it will return NULL. |
|
|
Set the base color. This color will be added to the vertex colors of the sprite. If no lighting is used then this will be the color. |
|
|
Sets which lighting config variable this sprite will use. The options are:
|
|
|
Sets the local lighting quality for this sprite. NOTE: you must use SetLightingQualityConfig (CS_SPR_LIGHT_LOCAL) for the sprite to use this. |
|
|
Sets which lighting config variable this sprite will use. The options are:
|