FastNoiseEditorModule.cpp 1018 B

1234567891011121314151617181920212223242526272829303132333435
  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 <FastNoiseEditorModule.h>
  9. #include <FastNoiseSystemComponent.h>
  10. #include <EditorFastNoiseGradientComponent.h>
  11. namespace FastNoiseGem
  12. {
  13. FastNoiseEditorModule::FastNoiseEditorModule()
  14. {
  15. m_descriptors.insert(m_descriptors.end(), {
  16. EditorFastNoiseGradientComponent::CreateDescriptor()
  17. });
  18. }
  19. AZ::ComponentTypeList FastNoiseEditorModule::GetRequiredSystemComponents() const
  20. {
  21. AZ::ComponentTypeList requiredComponents = FastNoiseModule::GetRequiredSystemComponents();
  22. return requiredComponents;
  23. }
  24. }
  25. #if defined(O3DE_GEM_NAME)
  26. AZ_DECLARE_MODULE_CLASS(AZ_JOIN(Gem_, O3DE_GEM_NAME, _Editor), FastNoiseGem::FastNoiseEditorModule)
  27. #else
  28. AZ_DECLARE_MODULE_CLASS(Gem_FastNoise_Editor, FastNoiseGem::FastNoiseEditorModule)
  29. #endif