Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/AnimGraph/AnimGraphVisualNode.cpp
bool AnimGraphVisualNode::GetHasError() const
    {
        // extract anim graph instance
        EMotionFX::AnimGraphInstance* animGraphInstance = ExtractAnimGraphInstance();
        if (animGraphInstance == nullptr)
        {
            return false;
        }

        // return the error state of the emfx node
        EMotionFX::AnimGraphObjectData* uniqueData = m_emfxNode->FindOrCreateUniqueNodeData(animGraphInstance);
        return m_emfxNode->HierarchicalHasError(uniqueData);
    }
// check if the emfx node for the given visual node has an error
check if the emfx node for the given visual node has an error
check if the emfx node for the given visual node has an error
bool AnimGraphVisualNode::GetHasError() const
    {
        EMotionFX::AnimGraphInstance* animGraphInstance = ExtractAnimGraphInstance();
        if (animGraphInstance == nullptr)
        {
            return false;
        }
        EMotionFX::AnimGraphObjectData* uniqueData = m_emfxNode->FindOrCreateUniqueNodeData(animGraphInstance);
        return m_emfxNode->HierarchicalHasError(uniqueData);
    }
bool AnimGraphVisualNode :: GetHasError ( ) const { EMotionFX :: AnimGraphInstance * animGraphInstance = ExtractAnimGraphInstance ( ) ; if ( animGraphInstance == nullptr ) { return false ; } EMotionFX :: AnimGraphObjectData * uniqueData = m_emfxNode -> FindOrCreateUniqueNodeData ( animGraphInstance ) ; return m_emfxNode -> HierarchicalHasError ( uniqueData ) ; }
check if the emfx node for the given visual node has an error
check if the emfx node for the given visual node has an error
// extract anim graph instance // return the error state of the emfx node