EditorVegetationSystemComponent.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 <AzCore/Component/Component.h>
  10. namespace AzToolsFramework { class PropertyHandlerBase; }
  11. namespace Vegetation
  12. {
  13. /**
  14. * System component required to reflect the editor only classes until module level reflection is fixed.
  15. */
  16. class EditorVegetationSystemComponent
  17. : public AZ::Component
  18. {
  19. public:
  20. AZ_COMPONENT(EditorVegetationSystemComponent, "{DC493537-8D9D-4088-943F-6FFE6D115F62}");
  21. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& services);
  22. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& services);
  23. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& services);
  24. static void Reflect(AZ::ReflectContext* context);
  25. EditorVegetationSystemComponent() = default;
  26. ~EditorVegetationSystemComponent() = default;
  27. void Activate() override;
  28. void Deactivate() override;
  29. };
  30. } // namespace Vegetation