EditorPhysicalSkyComponent.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 <Atom/Feature/Utils/EditorRenderComponentAdapter.h>
  10. #include <Atom/Feature/SkyBox/SkyboxConstants.h>
  11. #include <SkyBox/PhysicalSkyComponent.h>
  12. namespace AZ
  13. {
  14. namespace Render
  15. {
  16. class EditorPhysicalSkyComponent final
  17. : public EditorRenderComponentAdapter<PhysicalSkyComponentController, PhysicalSkyComponent, PhysicalSkyComponentConfig>
  18. {
  19. public:
  20. using BaseClass = EditorRenderComponentAdapter<PhysicalSkyComponentController, PhysicalSkyComponent, PhysicalSkyComponentConfig>;
  21. AZ_EDITOR_COMPONENT(AZ::Render::EditorPhysicalSkyComponent, EditorPhysicalSkyComponentTypeId, BaseClass);
  22. static void Reflect(AZ::ReflectContext* context);
  23. EditorPhysicalSkyComponent() = default;
  24. EditorPhysicalSkyComponent(const PhysicalSkyComponentConfig& config);
  25. //! EditorRenderComponentAdapter overrides...
  26. AZ::u32 OnConfigurationChanged() override;
  27. };
  28. } // namespace Render
  29. } // namespace AZ