Gems/EMotionFX/Code/EMotionFX/Source/MorphTargetStandard.cpp
bool MorphTargetStandard::Influences(size_t nodeIndex) const
    {
        return
            AZStd::any_of(begin(m_deformDatas), end(m_deformDatas), [nodeIndex](const DeformData* deformData)
            {
                return deformData->m_nodeIndex == nodeIndex;
            })
            ||
            AZStd::any_of(begin(m_transforms), end(m_transforms), [nodeIndex](const Transformation& transform)
            {
                return transform.m_nodeIndex == nodeIndex;
            });
    }
// check if this morph target influences the specified node or not
check if this morph target influences the specified node or not
check if this morph target influences the specified node or not
bool MorphTargetStandard::Influences(size_t nodeIndex) const
    {
        return
            AZStd::any_of(begin(m_deformDatas), end(m_deformDatas), [nodeIndex](const DeformData* deformData)
            {
                return deformData->m_nodeIndex == nodeIndex;
            })
            ||
            AZStd::any_of(begin(m_transforms), end(m_transforms), [nodeIndex](const Transformation& transform)
            {
                return transform.m_nodeIndex == nodeIndex;
            });
    }
bool MorphTargetStandard :: Influences ( size_t nodeIndex ) const { return AZStd :: any_of ( begin ( m_deformDatas ) , end ( m_deformDatas ) , [ nodeIndex ] ( const DeformData * deformData ) { return deformData -> m_nodeIndex == nodeIndex ; } ) || AZStd :: any_of ( begin ( m_transforms ) , end ( m_transforms ) , [ nodeIndex ] ( const Transformation & transform ) { return transform . m_nodeIndex == nodeIndex ; } ) ; }
check if this morph target influences the specified node or not
check if this morph target influences the specified node or not