EditorGradientWeightModifierComponent.h 1.3 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 <AzToolsFramework/ToolsComponents/EditorComponentAdapter.h>
  10. #include <PostProcess/GradientWeightModifier/GradientWeightModifierComponent.h>
  11. namespace AZ
  12. {
  13. namespace Render
  14. {
  15. class EditorGradientWeightModifierComponent final
  16. : public AzToolsFramework::Components::EditorComponentAdapter<GradientWeightModifierComponentController, GradientWeightModifierComponent, GradientWeightModifierComponentConfig>
  17. {
  18. public:
  19. using BaseClass = AzToolsFramework::Components::EditorComponentAdapter<GradientWeightModifierComponentController, GradientWeightModifierComponent, GradientWeightModifierComponentConfig>;
  20. AZ_EDITOR_COMPONENT(AZ::Render::EditorGradientWeightModifierComponent, EditorGradientWeightModifierComponentTypeId, BaseClass);
  21. static void Reflect(AZ::ReflectContext* context);
  22. EditorGradientWeightModifierComponent() = default;
  23. EditorGradientWeightModifierComponent(const GradientWeightModifierComponentConfig& config);
  24. AZ::u32 OnConfigurationChanged() override;
  25. };
  26. }
  27. }