ImageBasedLightComponent.h 1.2 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 <ImageBasedLights/ImageBasedLightComponentController.h>
  10. #include <AtomLyIntegration/CommonFeatures/ImageBasedLights/ImageBasedLightComponentConstants.h>
  11. #include <AzFramework/Components/ComponentAdapter.h>
  12. namespace AZ
  13. {
  14. namespace Render
  15. {
  16. class ImageBasedLightComponent final
  17. : public AzFramework::Components::ComponentAdapter<ImageBasedLightComponentController, ImageBasedLightComponentConfig>
  18. {
  19. public:
  20. using BaseClass = AzFramework::Components::ComponentAdapter<ImageBasedLightComponentController, ImageBasedLightComponentConfig>;
  21. AZ_COMPONENT(AZ::Render::ImageBasedLightComponent, ImageBasedLightComponentTypeId, BaseClass);
  22. ImageBasedLightComponent() = default;
  23. ImageBasedLightComponent(const ImageBasedLightComponentConfig& config);
  24. static void Reflect(AZ::ReflectContext* context);
  25. };
  26. } // namespace Render
  27. } // namespace AZ