CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

iSpriteAction Struct Reference

An action frameset for 3D sprite animation. More...

#include <sprite3d.h>

Inheritance diagram for iSpriteAction:

iBase List of all members.

Public Methods

virtual void SetName (char const *)=0
 Set the name.

virtual char const * GetName () const=0
 Get the name.

virtual int GetFrameCount ()=0
 Get the number of frames in this action.

virtual iSpriteFrameGetFrame (int f)=0
 Get the specified frame.

virtual iSpriteFrameGetNextFrame (int f)=0
 Get the next frame after the specified one.

virtual int GetFrameDelay (int f)=0
 Get the delay for the specified frame.

virtual float GetFrameDisplacement (int f)=0
 Get the displacement for the specified frame.

virtual void AddFrame (iSpriteFrame *frame, int delay, float displacement)=0
 Add a frame to this action.


Detailed Description

An action frameset for 3D sprite animation.

Definition at line 102 of file sprite3d.h.


Member Function Documentation

virtual void iSpriteAction::AddFrame iSpriteFrame   frame,
int    delay,
float    displacement
[pure virtual]
 

Add a frame to this action.

virtual iSpriteFrame* iSpriteAction::GetFrame int    f [pure virtual]
 

Get the specified frame.

virtual int iSpriteAction::GetFrameCount   [pure virtual]
 

Get the number of frames in this action.

virtual int iSpriteAction::GetFrameDelay int    f [pure virtual]
 

Get the delay for the specified frame.

virtual float iSpriteAction::GetFrameDisplacement int    f [pure virtual]
 

Get the displacement for the specified frame.

virtual char const* iSpriteAction::GetName   [pure virtual]
 

Get the name.

virtual iSpriteFrame* iSpriteAction::GetNextFrame int    f [pure virtual]
 

Get the next frame after the specified one.

virtual void iSpriteAction::SetName char const *    [pure virtual]
 

Set the name.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.18