StarsComponent.cpp 716 B

12345678910111213141516171819202122232425262728
  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 "StarsComponent.h"
  9. namespace AZ::Render
  10. {
  11. StarsComponent::StarsComponent(const StarsComponentConfig& config)
  12. : BaseClass(config)
  13. {
  14. }
  15. void StarsComponent::Reflect(AZ::ReflectContext* context)
  16. {
  17. BaseClass::Reflect(context);
  18. if (AZ::SerializeContext * serializeContext = azrtti_cast<AZ::SerializeContext*>(context))
  19. {
  20. serializeContext->Class<StarsComponent, BaseClass>();
  21. }
  22. }
  23. } // namespace AtomSampleViewer