Gems/EMotionFX/Code/EMotionFX/Exporters/ExporterLib/Exporter/MorphTargetExport.cpp
void SaveMorphTargets(MCore::Stream* file, EMotionFX::Actor* actor, MCore::Endian::EEndianType targetEndianType)
    {
        // get the number of LOD levels and save the morph targets for each
        const size_t numLODLevels = actor->GetNumLODLevels();
        for (size_t i = 0; i < numLODLevels; ++i)
        {
            SaveMorphTargets(file, actor, i, targetEndianType);
        }
    }
// save all morph targets for all LOD levels
save all morph targets for all LOD levels
save all morph targets for all LOD levels
void SaveMorphTargets(MCore::Stream* file, EMotionFX::Actor* actor, MCore::Endian::EEndianType targetEndianType)
    {
        const size_t numLODLevels = actor->GetNumLODLevels();
        for (size_t i = 0; i < numLODLevels; ++i)
        {
            SaveMorphTargets(file, actor, i, targetEndianType);
        }
    }
void SaveMorphTargets ( MCore :: Stream * file , EMotionFX :: Actor * actor , MCore :: Endian :: EEndianType targetEndianType ) { const size_t numLODLevels = actor -> GetNumLODLevels ( ) ; for ( size_t i = 0 ; i < numLODLevels ; ++ i ) { SaveMorphTargets ( file , actor , i , targetEndianType ) ; } }
save all morph targets for all LOD levels
save all morph targets for all LOD levels
// get the number of LOD levels and save the morph targets for each