CryCharAnimationParams

C++
struct CryCharAnimationParams {
  f32 m_fTransTime;
  f32 m_fKeyTime;
  f32 m_fPlaybackSpeed;
  f32 m_fAllowMultilayerAnim;
  int32 m_nLayerID;
  f32 m_fPlaybackWeight;
  uint32 m_nFlags;
  uint32 m_nUserToken;
  f32 m_fUserData[NUM_ANIMATION_USER_DATA_SLOTS];
};
File

CryCharAnimationParams.h

Description

This structure describes the parameters used to start an animation on a character.

CryCharAnimationParams::m_fAllowMultilayerAnim Data Member
C++
f32 m_fAllowMultilayerAnim;
Description

if this is '1' then we can play animation on higher layers and they overwrite the channels on lower layers.

CryCharAnimationParams::m_fKeyTime Data Member
C++
f32 m_fKeyTime;
Description

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

CryCharAnimationParams::m_fPlaybackSpeed Data Member
C++
f32 m_fPlaybackSpeed;
Description

multiplier for animation-update.

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

Animation specific weight multiplier, applied on top of the existing layer weight

CryCharAnimationParams::m_fTransTime Data Member
C++
f32 m_fTransTime;
Description

transition time between two animations.

CryCharAnimationParams::m_fUserData Data Member
C++
Description

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

CryCharAnimationParams::m_nFlags Data Member
C++
uint32 m_nFlags;
Description

Combination of flags defined above.

CryCharAnimationParams::m_nLayerID Data Member
C++
int32 m_nLayerID;
Description

Specify the layer where to start the animation.

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

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

CryCharAnimationParams::CryCharAnimationParams Constructor
C++
CryCharAnimationParams(int _nLayerID = 0, uint32 _nFlags = 0);
CryCharAnimationParams::Serialize Method
C++
void Serialize(TSerialize ser);
Description

!defined(USE_PROTOTYPE_ABS_BLENDING)