AssImpTransformImporter.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 AssImpTransformImporter
  18. : public SceneCore::LoadingComponent
  19. {
  20. public:
  21. AZ_COMPONENT(AssImpTransformImporter, "{A7494C53-5822-40EF-9B60-B1FF09FBFA59}", SceneCore::LoadingComponent);
  22. AssImpTransformImporter();
  23. ~AssImpTransformImporter() override = default;
  24. static void Reflect(ReflectContext* context);
  25. Events::ProcessingResult ImportTransform(AssImpSceneNodeAppendedContext& context);
  26. static const char* s_transformNodeName;
  27. };
  28. } // namespace SceneBuilder
  29. } // namespace SceneAPI
  30. } // namespace AZ