/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #pragma once #include #include #include #include #include #include #include namespace EMotionFX { class AnimGraphUIFixture : public UIFixture { public: void SetUp() override; EMotionFX::AnimGraph* CreateAnimGraph() const; EMStudio::NodeGraph* GetActiveNodeGraph() const; EMotionFX::AnimGraphNode* CreateAnimGraphNode(const AZStd::string& type, const AZStd::string& args="", const AnimGraph* animGraph = nullptr) const; AnimGraphNode* AddNodeToAnimGraph(EMotionFX::AnimGraph* animGraph, const QString& nodeTypeName); protected: EMStudio::AnimGraphPlugin* m_animGraphPlugin; EMStudio::BlendGraphWidget* m_blendGraphWidget; }; } // end namespace EMotionFX