FastNoiseEditorModule.cpp 877 B

123456789101112131415161718192021222324252627282930
  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. AZ_DECLARE_MODULE_CLASS(Gem_FastNoiseEditor, FastNoiseGem::FastNoiseEditorModule)