Public Methods |
virtual void | SetMaterialWrapper (iMaterialWrapper *material)=0 |
| Set material of sprite.
|
virtual iMaterialWrapper* | GetMaterialWrapper () const=0 |
| Get material of sprite.
|
virtual void | AddVertices (int num)=0 |
| Reserve space for the given number of vertices. More...
|
virtual int | GetVertexCount () const=0 |
| Return the current number of vertices.
|
virtual const csVector3& | GetVertex (int frame, int vertex) const=0 |
| Get a vertex.
|
virtual void | SetVertex (int frame, int vertex, const csVector3 &Value)=0 |
| Set a vertex.
|
virtual csVector3* | GetVertices (int frame) const=0 |
| Get vertex array.
|
virtual void | SetVertices (csVector3 const *vert, int frame)=0 |
| Set array of vertices. More...
|
virtual const csVector2& | GetTexel (int frame, int vertex) const=0 |
| Get a texel.
|
virtual void | SetTexel (int frame, int vertex, const csVector2 &Value)=0 |
| Set a texel.
|
virtual csVector2* | GetTexels (int frame) const=0 |
| Get array of texels.
|
virtual void | SetTexels (csVector2 const *tex, int frame)=0 |
| Set array of texels. More...
|
virtual const csVector3& | GetNormal (int frame, int vertex) const=0 |
| Get a normal.
|
virtual void | SetNormal (int frame, int vertex, const csVector3 &Value)=0 |
| Set a normal.
|
virtual csVector3* | GetNormals (int frame) const=0 |
| Get normal array.
|
virtual void | SetNormals (csVector3 const *norms, int frame)=0 |
| Set array of normals. More...
|
virtual void | AddTriangle (int a, int b, int c)=0 |
| Add a triangle to the normal, texel, and vertex meshes a, b and c are indices to texel vertices.
|
virtual csTriangle | GetTriangle (int x) const=0 |
| Returns the texel indices for triangle 'x'.
|
virtual csTriangle* | GetTriangles () const=0 |
| Returns the triangles of the texel_mesh.
|
virtual int | GetTriangleCount () const=0 |
| Returns the number of triangles in the sprite.
|
virtual void | SetTriangleCount (int count)=0 |
| Set the count of triangles.
|
virtual void | SetTriangles (csTriangle const *trigs, int count)=0 |
| Set array of triangles. The array is copied.
|
virtual iSpriteFrame* | AddFrame ()=0 |
| Create and add a new frame to the sprite.
|
virtual iSpriteFrame* | FindFrame (const char *name) const=0 |
| Find a named frame.
|
virtual int | GetFrameCount () const=0 |
| Query the number of frames.
|
virtual iSpriteFrame* | GetFrame (int f) const=0 |
| Query the frame number f.
|
virtual iSpriteAction* | AddAction ()=0 |
| Create and add a new action frameset to the sprite.
|
virtual iSpriteAction* | FindAction (const char *name) const=0 |
| Find a named action.
|
virtual iSpriteAction* | GetFirstAction () const=0 |
| Get the first action.
|
virtual int | GetActionCount () const=0 |
| Get number of actions in sprite.
|
virtual iSpriteAction* | GetAction (int No) const=0 |
| Get action number No.
|
virtual void | EnableSkeletalAnimation ()=0 |
| Enable skeletal animation for this factory.
|
virtual iSkeleton* | GetSkeleton () const=0 |
| Get the skeleton. More...
|
virtual void | EnableTweening (bool en)=0 |
| Enable/disable tweening.
|
virtual bool | IsTweeningEnabled () const=0 |
| Query state of tweening.
|
virtual void | SetLightingQuality (int qual)=0 |
| Set lighting quality (one of CS_SPR_LIGHTING_*).
|
virtual int | GetLightingQuality () const=0 |
| Get lighting quality (one of CS_SPR_LIGHTING_*).
|
virtual void | SetLightingQualityConfig (int qual)=0 |
| Sets which lighting config variable that all new sprites created from this template will use. More...
|
virtual int | GetLightingQualityConfig () const=0 |
| Get the lighting quality config.
|
virtual void | SetLodLevelConfig (int config_flag)=0 |
| Sets which lod config variable that all new sprites created from this template will use. More...
|
virtual int | GetLodLevelConfig () const=0 |
| Returns what this template is using for determining the lod quality.
|
virtual void | MergeNormals (int base, int frame)=0 |
| Smooth out the gouraud shading by merging the precalculated vertex normals along seams in frame 'frame' based on which vertices are very close in frame 'base'.
|
virtual void | MergeNormals (int base)=0 |
| Smooth out the gouraud shading by merging the precalculated vertex normals along seams in all frames based on which vertices are very close in frame 'base'.
|
virtual void | MergeNormals ()=0 |
| Smooth out the gouraud shading by merging the precalculated vertex normals along seams in all frames based on which vertices are very close in each frame.
|
virtual void | SetMixMode (uint mode)=0 |
| Set default mix mode for new sprites.
|
virtual uint | GetMixMode () const=0 |
| Get default mix mode for new sprites.
|