SkyBoxFogSettings.h 828 B

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 <AzCore/Math/Color.h>
  10. #include <AzCore/RTTI/RTTI.h>
  11. namespace AZ
  12. {
  13. namespace Render
  14. {
  15. struct SkyBoxFogSettings final
  16. {
  17. AZ_RTTI(AZ::Render::SkyBoxFogSettings, "{DB13027C-BA92-4E46-B428-BB77C2A80C51}");
  18. static void Reflect(ReflectContext* context);
  19. SkyBoxFogSettings() = default;
  20. bool IsFogDisabled() const;
  21. AZ::Color m_color = AZ::Color::CreateOne();
  22. bool m_enable = false;
  23. float m_topHeight = 0.01;
  24. float m_bottomHeight = 0.0;
  25. };
  26. }
  27. }