Descibes a single animation sampling job in the AnimController.
Definition animjob.h:36
const AnimSequencer * animSequencer
Definition animjob.h:150
Timing::Tick startTime
Definition animjob.h:157
An AnimSequencer object arranges AnimJobs along the time line to produce a single,...
Definition animsequencer.h:28
An AnimJob which simply plays an animation clip.
Definition playclipjob.h:17
virtual ~PlayClipJob()
destructor
Definition playclipjob.cc:34
const Util::StringAtom & GetClipName() const
get the anim clip name
Definition playclipjob.h:61
void SetLoopCount(float loopCount)
set the loop count (overrides duration)
Definition playclipjob.h:70
IndexT clipIndex
Definition playclipjob.h:43
virtual Ptr< Jobs::Job > CreateEvaluationJob(Timing::Tick time, const Ptr< CoreAnimation::AnimSampleBuffer > &mixIn, const Ptr< CoreAnimation::AnimSampleBuffer > &result)
create evaluation job for asynchronous evaluation
Definition playclipjob.cc:72
float GetLoopCount() const
get the loop count
Definition playclipjob.h:79
bool firstAnimEventCheck
Definition playclipjob.h:45
void SetClipName(const Util::StringAtom &clipName)
set the anim clip name to play
Definition playclipjob.h:52
virtual void OnAttachedToSequencer(const AnimSequencer &animSequencer)
called when attached to anim sequencer
Definition playclipjob.cc:43
float loopCount
Definition playclipjob.h:44
PlayClipJob()
constructor
Definition playclipjob.cc:23
__DeclareClass(PlayClipJob)
Util::StringAtom clipName
Definition playclipjob.h:42
virtual Util::Array< AnimEventInfo > EmitAnimEvents(Timing::Tick startTime, Timing::Tick endTime, const Util::String &optionalCatgeory)
emit anim events inside given time range
Definition playclipjob.cc:116
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
Nebula's dynamic array class.
Definition array.h:60
A StringAtom.
Definition stringatom.h:22
Definition animeventhandlerbase.cc:10
int Tick
the tick datatype (one tick == 1 millisecond)
Definition time.h:20
Nebula's universal string class.
Definition string.h:50
int IndexT
Definition types.h:48