ShapeWeightModifierComponent.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  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/Component.h>
  10. #include <AzFramework/Components/ComponentAdapter.h>
  11. #include <AtomLyIntegration/CommonFeatures/PostProcess/ShapeWeightModifier/ShapeWeightModifierComponentConstants.h>
  12. #include <AtomLyIntegration/CommonFeatures/PostProcess/ShapeWeightModifier/ShapeWeightModifierComponentConfig.h>
  13. #include <PostProcess/ShapeWeightModifier/ShapeWeightModifierComponentController.h>
  14. namespace AZ
  15. {
  16. namespace Render
  17. {
  18. class ShapeWeightModifierComponent final
  19. : public AzFramework::Components::ComponentAdapter<ShapeWeightModifierComponentController, ShapeWeightModifierComponentConfig>
  20. {
  21. public:
  22. using BaseClass = AzFramework::Components::ComponentAdapter<ShapeWeightModifierComponentController, ShapeWeightModifierComponentConfig>;
  23. AZ_COMPONENT(AZ::Render::ShapeWeightModifierComponent, "{0BB6438B-6DD1-4A09-927F-7757D39C940D}", BaseClass);
  24. ShapeWeightModifierComponent() = default;
  25. ShapeWeightModifierComponent(const ShapeWeightModifierComponentConfig& config);
  26. static void Reflect(AZ::ReflectContext* context);
  27. };
  28. }
  29. }