struct ITrackEventListener { enum ETrackEventReason { eTrackEventReason_Added, eTrackEventReason_Removed, eTrackEventReason_Renamed, eTrackEventReason_Triggered, eTrackEventReason_MovedUp, eTrackEventReason_MovedDown }; };
IMovieSystem.h
! Track event listener
enum ETrackEventReason { eTrackEventReason_Added, eTrackEventReason_Removed, eTrackEventReason_Renamed, eTrackEventReason_Triggered, eTrackEventReason_MovedUp, eTrackEventReason_MovedDown };
IMovieSystem.h
! Reasons
virtual ~ITrackEventListener();
virtual void GetMemoryUsage(ICrySizer * pSizer) const;
virtual void OnTrackEvent(IAnimSequence * pSequence, int reason, const char* event, void* pUserData) = 0;
Parameters |
Description |
int reason |
Reason for update (see EReason) |
const char* event |
Track event added |
void* pUserData |
Data to accompany reason |
pSeq |
Animation sequence |
Called when track event is updated