struct SAnimContext { float time; float dt; float fps; bool bSingleFrame; bool bForcePlay; bool bResetting; IAnimSequence * pSequence; EntityId m_activeCameraEntity; uint32 trackMask; float startTime; };
IMovieSystem.h
! Structure passed to Animate function.
bool bForcePlay;
!< Set when force playing animation
bool bResetting;
!< Set when animation sequence is resetted.
bool bSingleFrame;
!< This is not a playing animation, more a single-frame update
float dt;
!< Delta of time from previous animation frame in seconds.
float fps;
!< Last calculated frames per second value.
EntityId m_activeCameraEntity;
!< Used for editor to pass viewport camera to CryMovie
IAnimSequence * pSequence;
!< Sequence in which animation performed.
float startTime;
!< The start time of this playing sequence
float time;
!< Current time in seconds.
uint32 trackMask;
!< To update certain types of tracks only
SAnimContext();
void Serialize(XmlNodeRef& xmlNode, bool bLoading);