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; };
CryCharMorphParams.h
StartMorph will accept this
enum FlagsEnum { FLAGS_FREEZE = 0x01, FLAGS_NO_BLENDOUT = 0x02, FLAGS_INSTANTANEOUS = 0x04 };
CryCharMorphParams.h
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) |
f32 m_fAmplitude;
the maximum amplitude
f32 m_fBalance;
Balance between left/right morph target from -1 to 1.
f32 m_fBlendIn;
the blend-in time
f32 m_fBlendOut;
the blend-out time
f32 m_fLength;
the time to stay in static position
f32 m_fSpeed;
multiplier of speed of the update; 1 is default:
f32 m_fStartTime;
the initial time phase from which to start morphing, within the cycle
uint32 m_nFlags;
optional flags, as specified by the FlagsEnum
CryCharMorphParams(float _fBlendIn = 0.15f, float _fLength = 0, float _fBlendOut = 0.15f, float _fAmplitude = 1, float _fStartTime = 0, float _fSpeed = 1, uint32 _nFlags = 0);