3
0

SimpleAnimGraphUIFixture.h 853 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <Tests/UI/UIFixture.h>
  10. #include <EMotionStudio/Plugins/StandardPlugins/Source/AnimGraph/AnimGraphPlugin.h>
  11. namespace EMotionFX
  12. {
  13. class AnimGraph;
  14. class SimpleAnimGraphUIFixture
  15. : public UIFixture
  16. {
  17. public:
  18. // The animgraph contains 3 parameters, and a motion node connecting to a blend tree with a state transition.
  19. void SetUp() override;
  20. void TearDown() override;
  21. public:
  22. const AZ::u32 m_animGraphId = 64;
  23. AnimGraph* m_animGraph = nullptr;
  24. EMStudio::AnimGraphPlugin* m_animGraphPlugin = nullptr;
  25. };
  26. } // namespace EMotionFX