CryCharMorphParams

C++
struct CryCharMorphParams {
  f32 m_fBlendIn;
  f32 m_fLength;
  f32 m_fBlendOut;
  f32 m_fAmplitude;
  f32 m_fStartTime;
  f32 m_fSpeed;
  f32 m_fBalance;
  enum FlagsEnum {
    FLAGS_FREEZE = 0x01,
    FLAGS_NO_BLENDOUT = 0x02,
    FLAGS_INSTANTANEOUS = 0x04
  };
  uint32 m_nFlags;
};
File

CryCharMorphParams.h

Description

StartMorph will accept this

CryCharMorphParams::FlagsEnum Enumeration
C++
enum FlagsEnum {
  FLAGS_FREEZE = 0x01,
  FLAGS_NO_BLENDOUT = 0x02,
  FLAGS_INSTANTANEOUS = 0x04
};
File

CryCharMorphParams.h

Members
Members
Description
FLAGS_FREEZE = 0x01
with this flag set, the morph will not be time-updated (it'll be frozen at the point where it is)
CryCharMorphParams::m_fAmplitude Data Member
C++
f32 m_fAmplitude;
Description

the maximum amplitude

CryCharMorphParams::m_fBalance Data Member
C++
f32 m_fBalance;
Description

Balance between left/right morph target from -1 to 1.

CryCharMorphParams::m_fBlendIn Data Member
C++
f32 m_fBlendIn;
Description

the blend-in time

CryCharMorphParams::m_fBlendOut Data Member
C++
f32 m_fBlendOut;
Description

the blend-out time

CryCharMorphParams::m_fLength Data Member
C++
f32 m_fLength;
Description

the time to stay in static position

CryCharMorphParams::m_fSpeed Data Member
C++
f32 m_fSpeed;
Description

multiplier of speed of the update; 1 is default:

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

the initial time phase from which to start morphing, within the cycle

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

optional flags, as specified by the FlagsEnum

CryCharMorphParams::CryCharMorphParams Constructor
C++
CryCharMorphParams(float _fBlendIn = 0.15f, float _fLength = 0, float _fBlendOut = 0.15f, float _fAmplitude = 1, float _fStartTime = 0, float _fSpeed = 1, uint32 _nFlags = 0);