Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/NodeGroups/NodeGroupWidget.cpp
void NodeGroupWidget::SetNodeGroup(EMotionFX::NodeGroup* nodeGroup)
    {
        // check if the actor was set
        if (m_actor == nullptr)
        {
            m_nodeGroup = nullptr;
            return;
        }

        // set the node group
        m_nodeGroup = nodeGroup;

        // update the interface
        UpdateInterface();
    }
// function to set the current nodegroup
function to set the current nodegroup
function to set the current nodegroup
void NodeGroupWidget::SetNodeGroup(EMotionFX::NodeGroup* nodeGroup)
    {
        if (m_actor == nullptr)
        {
            m_nodeGroup = nullptr;
            return;
        }
        m_nodeGroup = nodeGroup;
        UpdateInterface();
    }
void NodeGroupWidget :: SetNodeGroup ( EMotionFX :: NodeGroup * nodeGroup ) { if ( m_actor == nullptr ) { m_nodeGroup = nullptr ; return ; } m_nodeGroup = nodeGroup ; UpdateInterface ( ) ; }
function to set the current nodegroup
function to set the current nodegroup
// check if the actor was set // set the node group // update the interface