SplashScreenSettings.cpp 876 B

1234567891011121314151617181920212223242526
  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. #include <AzCore/Serialization/SerializeContext.h>
  9. #include <Atom/Feature/SplashScreen/SplashScreenSettings.h>
  10. namespace AZ::Render
  11. {
  12. void SplashScreenSettings::Reflect(AZ::ReflectContext* context)
  13. {
  14. if (auto* serializeContext = azrtti_cast<SerializeContext*>(context))
  15. {
  16. serializeContext->Class<SplashScreenSettings>()
  17. ->Version(1)
  18. ->Field("ImagePath", &SplashScreenSettings::m_imagePath)
  19. ->Field("DurationSeconds", &SplashScreenSettings::m_durationSeconds)
  20. ->Field("Fading", &SplashScreenSettings::m_fading);
  21. }
  22. }
  23. } // namespace AZ::Render