PhysicalSkyComponent.h 1.1 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 <AzFramework/Components/ComponentAdapter.h>
  10. #include <Atom/Feature/SkyBox/SkyboxConstants.h>
  11. #include <AtomLyIntegration/CommonFeatures/SkyBox/PhysicalSkyComponentConfig.h>
  12. #include <SkyBox/PhysicalSkyComponentController.h>
  13. namespace AZ
  14. {
  15. namespace Render
  16. {
  17. class PhysicalSkyComponent final
  18. : public AzFramework::Components::ComponentAdapter<PhysicalSkyComponentController, PhysicalSkyComponentConfig>
  19. {
  20. public:
  21. using BaseClass = AzFramework::Components::ComponentAdapter<PhysicalSkyComponentController, PhysicalSkyComponentConfig>;
  22. AZ_COMPONENT(AZ::Render::PhysicalSkyComponent, PhysicalSkyComponentTypeId , BaseClass);
  23. PhysicalSkyComponent() = default;
  24. PhysicalSkyComponent(const PhysicalSkyComponentConfig& config);
  25. static void Reflect(AZ::ReflectContext* context);
  26. };
  27. } // namespace Render
  28. } // namespace AZ