neo::animation::Action Class Reference

#include <animation/sequence.h>

List of all members.


Detailed Description

Action to be taken when a trigger in a sequence is fulfilled

Author:
Mattias Jansson (mattias@realityrift.com)


Public Types

enum  Type {
  PLAYANIMATION = 0x000b, STOPANIMATION = 0x0101, PAUSEANIMATION = 0x0201, RESUMEANIMATION = 0x0301,
  REMOVESTAGE = 0x0401, ADDSTAGE = 0x0501, CLEARSTAGES = 0x0600, SETSTAGEWEIGHT = 0x0709,
  SETSTAGETIMESCALE = 0x0809, SETSTAGETIMESCALEALL = 0x0908, BLENDINANIMATION = 0x0a0f
}
 Action identifier. More...

Public Attributes

Type _action
 Action to be taken.
unsigned int _stage
 Stage identifier, or stage count.
std::string _animation
 Animation name.
float _data
 Data.
bool _loop
 Loop flag.


Member Enumeration Documentation

enum neo::animation::Action::Type

Enumerator:
PLAYANIMATION  Play animation in given stage
STOPANIMATION  Stop animation in given stage
PAUSEANIMATION  Pause animation in given stage
RESUMEANIMATION  Resume animation in given stage
REMOVESTAGE  Remove animation stage. For example, if stage 0 is removed the old stage 1 becomes the new stage 0
ADDSTAGE  Add animation stage at the given stage
CLEARSTAGES  Clear all animation stages and reset to one empty blend stage
SETSTAGEWEIGHT  Set stage weight
SETSTAGETIMESCALE  Set stage timescale
SETSTAGETIMESCALEALL  Set all stages timescale
BLENDINANIMATION  Compound action. Add new stage with weight 0 at the given stage, over given time reduce weight of given stage to 0 and increase new stage to 1, when weight is completely shifted remove the given stage


The documentation for this class was generated from the following file:
Generated on Sat Feb 17 20:51:01 2007 for NeoEngine 2 - Evolution by  doxygen 1.5.1