2 #include "AssetEntity.h" 39 PLAYMODE_FORWORD_LOOPED,
41 PLAYMODE_BACKWORD_LOOPED,
47 SequenceItem():m_commandtype(CMD_Invaild), m_vPos_R(0,0,0){};
48 SequenceItem(CommandType type):m_commandtype(type), m_vPos_R(0,0,0){};
49 CommandType m_commandtype;
64 float m_fMoveDistance;
68 vector<SequenceItem> m_items;
82 virtual HRESULT InitDeviceObjects();
83 virtual HRESULT DeleteDeviceObjects();
84 virtual void Cleanup();
94 void AddLable(
const string& sLable);
96 int GetLableIndex(
const string& sLable);
105 bool DeleteKeysRange(
int nFrom,
int nTo);
3-dimensional vector with double precision.
Definition: ParaDVector3.h:17
different physics engine has different winding order.
Definition: EventBinding.h:32
Vector3 m_vPos_R
objective position relative to the last one
Definition: SequenceEntity.h:51
int GetTotalKeys()
get total key count
Definition: SequenceEntity.h:101
Standard 3-dimensional vector.
Definition: ParaVector3.h:16
string m_strParam
any string parameter associated with the command
Definition: SequenceEntity.h:58
a reusable entity of sequence which contains an array of sequence items.
Definition: SequenceEntity.h:11
float m_fFacing
objective absolute facing
Definition: SequenceEntity.h:55
DVector3 m_vStartPos
initial position in world coordinate
Definition: SequenceEntity.h:75
string m_description
description
Definition: SequenceEntity.h:71
a sequence item or command
Definition: SequenceEntity.h:45
SEQ_PLAYMODE m_nPlayMode
whether how sequence should be played.
Definition: SequenceEntity.h:73
void PushItem(const SequenceItem &item)
add a new item
Definition: SequenceEntity.h:92
map< string, int > m_lables
Label mapping: <sLabel, nIndex>
Definition: SequenceEntity.h:80
std::string AssetKey
the unique key object for asset entity.
Definition: AssetEntity.h:13
float m_fStartFacing
initial facing
Definition: SequenceEntity.h:77
A sequence controller is a biped controller which moves the biped according to some predefined sequen...
Definition: SequenceCtler.h:11
SequenceItem & GetItem(int nIndex)
nIndex must be valid.
Definition: SequenceEntity.h:99
Base class for managed asset entity in ParaEngine.
Definition: AssetEntity.h:25
DVector3 m_vPos
objective position relative to the start of the sequence.
Definition: SequenceEntity.h:53