MotionExtractionBus.h 630 B

1234567891011121314151617181920212223242526
  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/Component/ComponentBus.h>
  10. namespace EMotionFX
  11. {
  12. namespace Integration
  13. {
  14. class MotionExtractionRequests
  15. : public AZ::ComponentBus
  16. {
  17. public:
  18. virtual void ExtractMotion(const AZ::Vector3& deltaPosition, float deltaTime) = 0;
  19. };
  20. using MotionExtractionRequestBus = AZ::EBus<MotionExtractionRequests>;
  21. }
  22. }