12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- /*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
- #pragma once
- #include <assimp/scene.h>
- #include <AzCore/std/containers/vector.h>
- #include <SceneAPI/SceneBuilder/ImportContexts/AssImpImportContexts.h>
- #include <SceneAPI/SceneCore/Components/LoadingComponent.h>
- #include <SceneAPI/SceneCore/DataTypes/GraphData/ISkinWeightData.h>
- namespace AZ
- {
- namespace SceneData
- {
- namespace GraphData
- {
- class SkinWeightData;
- }
- }
- namespace SceneAPI
- {
- namespace Events
- {
- class PostImportEventContext;
- }
- namespace SceneBuilder
- {
- class AssImpSkinWeightsImporter
- : public SceneCore::LoadingComponent
- {
- public:
- AZ_COMPONENT(AssImpSkinWeightsImporter, "{79B5E863-C155-473A-BC0D-B85F8D8303EB}", SceneCore::LoadingComponent);
- AssImpSkinWeightsImporter();
- ~AssImpSkinWeightsImporter() override = default;
- static void Reflect(ReflectContext* context);
- Events::ProcessingResult ImportSkinWeights(AssImpSceneNodeAppendedContext& context);
- protected:
- static const AZStd::string s_skinWeightName;
- };
- } // namespace SceneBuilder
- } // namespace SceneAPI
- } // namespace AZ
|