SimpleActors.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 <AzCore/Math/Vector3.h>
  10. #include <AzCore/std/containers/vector.h>
  11. #include <EMotionFX/Source/Actor.h>
  12. namespace EMotionFX
  13. {
  14. class Mesh;
  15. class SimpleJointChainActor
  16. : public Actor
  17. {
  18. public:
  19. explicit SimpleJointChainActor(size_t jointCount, const char* name = "Test actor");
  20. };
  21. class AllRootJointsActor
  22. : public Actor
  23. {
  24. public:
  25. explicit AllRootJointsActor(size_t jointCount, const char* name = "Test actor");
  26. };
  27. class PlaneActor
  28. : public SimpleJointChainActor
  29. {
  30. public:
  31. explicit PlaneActor(const char* name = "Test actor");
  32. private:
  33. Mesh* CreatePlane(const AZStd::vector<AZ::Vector3>& points) const;
  34. };
  35. class PlaneActorWithJoints
  36. : public PlaneActor
  37. {
  38. public:
  39. explicit PlaneActorWithJoints(size_t jointCount, const char* name = "Test actor");
  40. };
  41. } // namespace EMotionFX