SAnimContext

C++
struct SAnimContext {
  float time;
  float dt;
  float fps;
  bool bSingleFrame;
  bool bForcePlay;
  bool bResetting;
  IAnimSequence * pSequence;
  EntityId m_activeCameraEntity;
  uint32 trackMask;
  float startTime;
};
File

IMovieSystem.h

Description

! Structure passed to Animate function.

SAnimContext::bForcePlay Data Member
C++
bool bForcePlay;
Description

!< Set when force playing animation

SAnimContext::bResetting Data Member
C++
bool bResetting;
Description

!< Set when animation sequence is resetted.

SAnimContext::bSingleFrame Data Member
C++
bool bSingleFrame;
Description

!< This is not a playing animation, more a single-frame update

SAnimContext::dt Data Member
C++
float dt;
Description

!< Delta of time from previous animation frame in seconds.

SAnimContext::fps Data Member
C++
float fps;
Description

!< Last calculated frames per second value.

SAnimContext::m_activeCameraEntity Data Member
C++
EntityId m_activeCameraEntity;
Description

!< Used for editor to pass viewport camera to CryMovie

SAnimContext::pSequence Data Member
C++
IAnimSequence * pSequence;
Description

!< Sequence in which animation performed.

SAnimContext::startTime Data Member
C++
float startTime;
Description

!< The start time of this playing sequence

SAnimContext::time Data Member
C++
float time;
Description

!< Current time in seconds.

SAnimContext::trackMask Data Member
C++
uint32 trackMask;
Description

!< To update certain types of tracks only

SAnimContext::SAnimContext Constructor
C++
SAnimContext();
SAnimContext::Serialize Method
C++
void Serialize(XmlNodeRef& xmlNode, bool bLoading);