Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iSprite2DFactoryState Struct Reference

This interface describes the API for the sprite factory mesh object. More...

#include <sprite2d.h>

Inheritance diagram for iSprite2DFactoryState:

iBase iSprite2DState List of all members.

Public Methods

virtual void SetMaterialWrapper (iMaterialWrapper *material)=0
 Set material of sprite.

virtual iMaterialWrapperGetMaterialWrapper () 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 true if this sprite needs lighting (default). More...

virtual bool HasLighting () const=0
 Return the value of the lighting flag.

virtual int GetUVAnimationCount () const=0
 Get the number of UVAnimations.

virtual iSprite2DUVAnimation* CreateUVAnimation ()=0
 Create a new UV animation.

virtual void RemoveUVAnimation (iSprite2DUVAnimation *anim)=0
 Remove an UV animation.

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...


Detailed Description

This interface describes the API for the sprite factory mesh object.


Member Function Documentation

iSprite2DUVAnimation * iSprite2DFactoryState::GetUVAnimation ( int idx ) [pure virtual]
 

Get a specific UV animation by index.

Returns NULL if not found.

iSprite2DUVAnimation * iSprite2DFactoryState::GetUVAnimation ( const char * name ) [pure virtual]
 

Get a specific UV animation by name.

Returns NULL if not found.

void iSprite2DFactoryState::SetLighting ( bool l ) [pure virtual]
 

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.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000