EditorDiffuseGlobalIlluminationComponent.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  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 <Components/DiffuseGlobalIlluminationComponent.h>
  11. namespace AZ
  12. {
  13. namespace Render
  14. {
  15. class EditorDiffuseGlobalIlluminationComponent final
  16. : public AzToolsFramework::Components::EditorComponentAdapter<DiffuseGlobalIlluminationComponentController, DiffuseGlobalIlluminationComponent, DiffuseGlobalIlluminationComponentConfig>
  17. {
  18. public:
  19. using BaseClass = AzToolsFramework::Components::EditorComponentAdapter<DiffuseGlobalIlluminationComponentController, DiffuseGlobalIlluminationComponent, DiffuseGlobalIlluminationComponentConfig>;
  20. AZ_EDITOR_COMPONENT(AZ::Render::EditorDiffuseGlobalIlluminationComponent, EditorDiffuseGlobalIlluminationComponentTypeId, BaseClass);
  21. static void Reflect(AZ::ReflectContext* context);
  22. EditorDiffuseGlobalIlluminationComponent() = default;
  23. EditorDiffuseGlobalIlluminationComponent(const DiffuseGlobalIlluminationComponentConfig& config);
  24. //! EditorRenderComponentAdapter overrides...
  25. AZ::u32 OnConfigurationChanged() override;
  26. };
  27. } // namespace Render
  28. } // namespace AZ