AssImpUvMapImporter.h 1.1 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 <SceneAPI/SceneBuilder/ImportContexts/AssImpImportContexts.h>
  10. #include <SceneAPI/SceneCore/Components/LoadingComponent.h>
  11. namespace AZ
  12. {
  13. namespace SceneAPI
  14. {
  15. namespace SceneBuilder
  16. {
  17. class AssImpUvMapImporter
  18. : public SceneCore::LoadingComponent
  19. {
  20. public:
  21. AZ_COMPONENT(AssImpUvMapImporter, "{BF02F231-848B-4CDB-9B11-55EEE15CFAA6}", SceneCore::LoadingComponent);
  22. AssImpUvMapImporter();
  23. ~AssImpUvMapImporter() override = default;
  24. static void Reflect(ReflectContext* context);
  25. Events::ProcessingResult ImportUvMaps(AssImpSceneNodeAppendedContext& context);
  26. protected:
  27. static const char* m_defaultNodeName;
  28. };
  29. } // namespace SceneBuilder
  30. } // namespace SceneAPI
  31. } // namespace AZ