Gems/EMotionFX/Code/EMotionFX/Source/AnimGraphManager.cpp
AnimGraph* AnimGraphManager::FindAnimGraphByID(uint32 animGraphID) const
    {
        MCore::LockGuardRecursive lock(m_animGraphLock);

        for (EMotionFX::AnimGraph* animGraph : m_animGraphs)
        {
            if (animGraph->GetID() == animGraphID)
            {
                return animGraph;
            }
        }

        return nullptr;
    }
// Find anim graph with a given id.
Find anim graph with a given id.
Find anim graph with a given id .
AnimGraph* AnimGraphManager::FindAnimGraphByID(uint32 animGraphID) const
    {
        MCore::LockGuardRecursive lock(m_animGraphLock);
        for (EMotionFX::AnimGraph* animGraph : m_animGraphs)
        {
            if (animGraph->GetID() == animGraphID)
            {
                return animGraph;
            }
        }
        return nullptr;
    }
AnimGraph * AnimGraphManager :: FindAnimGraphByID ( uint32 animGraphID ) const { MCore :: LockGuardRecursive lock ( m_animGraphLock ) ; for ( EMotionFX :: AnimGraph * animGraph : m_animGraphs ) { if ( animGraph -> GetID ( ) == animGraphID ) { return animGraph ; } } return nullptr ; }
Find anim graph with a given id.
Find anim graph with a given id .