VegetationSystemComponent.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 Vegetation
  11. {
  12. /**
  13. * The system component that manages and routes the vegetation data to a manager
  14. */
  15. class VegetationSystemComponent
  16. : public AZ::Component
  17. {
  18. public:
  19. AZ_COMPONENT(VegetationSystemComponent, "{1D766E74-37F4-47BA-B4B8-1D9590B01F23}");
  20. static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& services);
  21. static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& services);
  22. static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& services);
  23. static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& services);
  24. static void Reflect(AZ::ReflectContext* context);
  25. VegetationSystemComponent();
  26. ~VegetationSystemComponent() override;
  27. private:
  28. //////////////////////////////////////////////////////////////////////////
  29. // AZ::Component
  30. void Activate() override;
  31. void Deactivate() override;
  32. };
  33. } // namespace Vegetation