SceneSystemComponent.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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/Component/Component.h>
  10. #include <SceneAPI/SceneCore/SceneCoreConfiguration.h>
  11. namespace AZ
  12. {
  13. namespace SceneAPI
  14. {
  15. namespace SceneCore
  16. {
  17. // Scene system components are components that can be used to create system components
  18. // in situations where the full initialization and/or construction of regular
  19. // system components don't apply such as in the ResourceCompilerScene.
  20. class SCENE_CORE_CLASS SceneSystemComponent
  21. : public AZ::Component
  22. {
  23. public:
  24. AZ_COMPONENT(SceneSystemComponent, "{480FE393-A6BE-4AB9-AF91-11468AAFDB36}");
  25. ~SceneSystemComponent() override = default;
  26. SCENE_CORE_API void Activate() override;
  27. SCENE_CORE_API void Deactivate() override;
  28. static void Reflect(ReflectContext* context);
  29. };
  30. } // namespace SceneCore
  31. } // namespace SceneAPI
  32. } // namespace AZ