Rename EMotionFX class members to follow the m_ naming convention
Signed-off-by: Chris Burel <burelc@amazon.com>
This commit is contained in:
@@ -444,18 +444,18 @@ namespace EMotionFX
|
||||
}
|
||||
//init the PlaybackInfo based on our config
|
||||
EMotionFX::PlayBackInfo info;
|
||||
info.mNumLoops = cfg.m_loop ? EMFX_LOOPFOREVER : 1;
|
||||
info.mRetarget = cfg.m_retarget;
|
||||
info.mPlayMode = cfg.m_reverse ? EMotionFX::EPlayMode::PLAYMODE_BACKWARD : EMotionFX::EPlayMode::PLAYMODE_FORWARD;
|
||||
info.mFreezeAtLastFrame = info.mNumLoops == 1;
|
||||
info.mMirrorMotion = cfg.m_mirror;
|
||||
info.mPlaySpeed = cfg.m_playspeed;
|
||||
info.mPlayNow = true;
|
||||
info.mDeleteOnZeroWeight = deleteOnZeroWeight;
|
||||
info.mCanOverwrite = false;
|
||||
info.mBlendInTime = cfg.m_blendInTime;
|
||||
info.mBlendOutTime = cfg.m_blendOutTime;
|
||||
info.mInPlace = cfg.m_inPlace;
|
||||
info.m_numLoops = cfg.m_loop ? EMFX_LOOPFOREVER : 1;
|
||||
info.m_retarget = cfg.m_retarget;
|
||||
info.m_playMode = cfg.m_reverse ? EMotionFX::EPlayMode::PLAYMODE_BACKWARD : EMotionFX::EPlayMode::PLAYMODE_FORWARD;
|
||||
info.m_freezeAtLastFrame = info.m_numLoops == 1;
|
||||
info.m_mirrorMotion = cfg.m_mirror;
|
||||
info.m_playSpeed = cfg.m_playspeed;
|
||||
info.m_playNow = true;
|
||||
info.m_deleteOnZeroWeight = deleteOnZeroWeight;
|
||||
info.m_canOverwrite = false;
|
||||
info.m_blendInTime = cfg.m_blendInTime;
|
||||
info.m_blendOutTime = cfg.m_blendOutTime;
|
||||
info.m_inPlace = cfg.m_inPlace;
|
||||
return actorInstance->GetMotionSystem()->PlayMotion(motionAsset->m_emfxMotion.get(), &info);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user