CAnimation

Class Hierarchy
C++
class CAnimation;
File

CryCharAnimationParams.h

CAnimation::m_animationId Data Member
C++
int16 m_animationId;
CAnimation::m_currentSegmentExpectedDurationSeconds Data Member
C++
f32 m_currentSegmentExpectedDurationSeconds;
CAnimation::m_currentSegmentIndex Data Member
C++
uint8 m_currentSegmentIndex[2];
CAnimation::m_currentSegmentIndexPrev Data Member
C++
uint8 m_currentSegmentIndexPrev[2];
CAnimation::m_DynFlags Data Member
C++
uint16 m_DynFlags[2];
CAnimation::m_expectedTotalDurationSeconds Data Member
C++
f32 m_expectedTotalDurationSeconds;
CAnimation::m_fAnimTime Data Member
C++
f32 m_fAnimTime[2];
Description

This is a percentage value between 0-1 for the current segment

CAnimation::m_fAnimTimePrev Data Member
C++
f32 m_fAnimTimePrev[2];
Description

This is a percentage value between 0-1 for the current segment

CAnimation::m_fCurrentDeltaTime Data Member
C++
f32 m_fCurrentDeltaTime;
Description

This is the delta in normalized segment time

CAnimation::m_fPlaybackScale Data Member
C++
f32 m_fPlaybackScale;
Description

multiplier for animation-update.

CAnimation::m_fPlaybackWeight Data Member
C++
f32 m_fPlaybackWeight;
Description

multiplier for the additive weight

CAnimation::m_fStartTime Data Member
C++
f32 m_fStartTime;
Description

keytime[0-1]. can be used to start a transition animation.

CAnimation::m_fTransitionPriority Data Member
C++
f32 m_fTransitionPriority;
Description

Motion priority: a value of '1' is overwriting all other motion in the queue

CAnimation::m_fTransitionTime Data Member
C++
f32 m_fTransitionTime;
Description

transition time between two animations.

CAnimation::m_fTransitionWeight Data Member
C++
f32 m_fTransitionWeight;
Description

This is the real percentage value for all active motions in the transition queue

CAnimation::m_fUserData Data Member
C++
Description

a set of weights that are blended together just like the animation is, for calling code's benefit

CAnimation::m_nStaticFlags Data Member
C++
uint32 m_nStaticFlags;
Description

static animation-flags (needs to be a 32-bit register)

CAnimation::m_nUserToken Data Member
C++
uint32 m_nUserToken;
Description

Token specified by the animation calling code for it's own benefit.

CAnimation::m_pParametricSampler Data Member
C++
SParametricSampler* m_pParametricSampler;
CAnimation::~CAnimation Destructor
C++
virtual ~CAnimation();
CAnimation::CAnimation Constructor
C++
CAnimation();
CAnimation::ClearActivated Method
C++
void ClearActivated();
Todo

check with game-team if really needed

CAnimation::ClearAnimEventsEvaluated Method
C++
void ClearAnimEventsEvaluated();
CAnimation::ClearStaticFlag Method
C++
void ClearStaticFlag(uint32 nStaticFlags);
Todo

check with game-team if really needed

CAnimation::GetAnimationId Method
C++
int16 GetAnimationId() const;
CAnimation::GetCurrentSegmentExpectedDurationSeconds Method
C++
f32 GetCurrentSegmentExpectedDurationSeconds() const;
CAnimation::GetCurrentSegmentIndex Method
C++
virtual uint8 GetCurrentSegmentIndex() const;
CAnimation::GetCurrentSegmentNormalizedTime Method
C++
f32 GetCurrentSegmentNormalizedTime() const;
CAnimation::GetCurrentSegmentNormalizedTimeDelta Method
C++
f32 GetCurrentSegmentNormalizedTimeDelta() const;
CAnimation::GetCurrentSegmentNormalizedTimePrevious Method
C++
f32 GetCurrentSegmentNormalizedTimePrevious() const;
Description

See Get/SetAnimationNormalizedTime and Get/SetLayerNormalizedTime functions in ISkeletonAnim to get or set the real normalized time of an animation taking its segmentation into account.

CAnimation::GetEndOfCycle Method
C++
uint32 GetEndOfCycle() const;
CAnimation::GetExpectedTotalDurationSeconds Method
C++
f32 GetExpectedTotalDurationSeconds() const;
CAnimation::GetLoop Method
C++
uint32 GetLoop() const;
CAnimation::GetMemoryUsage Method
C++
void GetMemoryUsage(ICrySizer* pSizer) const;
CAnimation::GetParametricSampler Method ()
C++
SParametricSampler* GetParametricSampler();
CAnimation::GetParametricSampler Method ()
C++
const SParametricSampler* GetParametricSampler() const;
CAnimation::GetPlaybackScale Method
C++
f32 GetPlaybackScale() const;
CAnimation::GetPlaybackWeight Method
C++
f32 GetPlaybackWeight() const;
CAnimation::GetRemoveFromQueue Method
C++
uint32 GetRemoveFromQueue() const;
CAnimation::GetRepeat Method
C++
uint32 GetRepeat() const;
CAnimation::GetTransitionPriority Method
C++
f32 GetTransitionPriority() const;
CAnimation::GetTransitionTime Method
C++
f32 GetTransitionTime() const;
CAnimation::GetTransitionWeight Method
C++
f32 GetTransitionWeight() const;
CAnimation::GetUserToken Method
C++
uint32 GetUserToken() const;
CAnimation::GetUseTimeWarping Method
C++
uint32 GetUseTimeWarping() const;
CAnimation::HasStaticFlag Method
C++
bool HasStaticFlag(uint32 animationFlag) const;
CAnimation::HasUserToken Method
C++
bool HasUserToken(uint32 userToken) const;
CAnimation::IsActivated Method
C++
uint32 IsActivated() const;
CAnimation::Serialize Method
C++
void Serialize(TSerialize ser);
CAnimation::SetCurrentSegmentExpectedDurationSeconds Method
C++
void SetCurrentSegmentExpectedDurationSeconds(f32 expectedDurationSeconds);
CAnimation::SetCurrentSegmentNormalizedTime Method
C++
void SetCurrentSegmentNormalizedTime(f32 normalizedSegmentTime);
CAnimation::SetCurrentSegmentNormalizedTimePrevious Method
C++
void SetCurrentSegmentNormalizedTimePrevious(f32 normalizedSegmentTime);
CAnimation::SetExpectedTotalDurationSeconds Method
C++
void SetExpectedTotalDurationSeconds(f32 expectedDurationSeconds);
CAnimation::SetPlaybackScale Method
C++
void SetPlaybackScale(f32 playbackScale);
CAnimation::SetPlaybackWeight Method
C++
void SetPlaybackWeight(f32 playbackWeight);
CAnimation::SetStaticFlag Method
C++
void SetStaticFlag(uint32 nStaticFlags);
Todo

check with game-team if really needed

CAnimation::SetTransitionPriority Method
C++
void SetTransitionPriority(f32 transitionPriority);
CAnimation::SetTransitionTime Method
C++
void SetTransitionTime(f32 transitionTime);
CAnimation::SetTransitionWeight Method
C++
void SetTransitionWeight(f32 transitionWeight);
CAnimation::SetUserToken Method
C++
void SetUserToken(uint32 nUserToken);
friend class CSkeletonAnim Friend
C++
friend class CSkeletonAnim;
friend class CTransitionQueue Friend
C++
friend class CTransitionQueue;