SkinRuleBehavior.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #pragma once
  2. /*
  3. * Copyright (c) Contributors to the Open 3D Engine Project.
  4. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  5. *
  6. * SPDX-License-Identifier: Apache-2.0 OR MIT
  7. *
  8. */
  9. #include <AzCore/Memory/Memory.h>
  10. #include <SceneAPI/SceneCore/Events/ManifestMetaInfoBus.h>
  11. #include <SceneAPI/SceneCore/Components/BehaviorComponent.h>
  12. namespace AZ
  13. {
  14. namespace SceneAPI
  15. {
  16. namespace SceneData
  17. {
  18. class SkinRuleBehavior
  19. : public SceneCore::BehaviorComponent
  20. , public Events::ManifestMetaInfoBus::Handler
  21. {
  22. public:
  23. AZ_COMPONENT(SkinRuleBehavior, "{B212A863-32DD-4F92-948C-FC0ADAEEAB4A}", SceneCore::BehaviorComponent);
  24. ~SkinRuleBehavior() override = default;
  25. // From BehaviorComponent
  26. void Activate() override;
  27. void Deactivate() override;
  28. static void Reflect(AZ::ReflectContext* context);
  29. void InitializeObject(const Containers::Scene& scene, DataTypes::IManifestObject& target) override;
  30. };
  31. }
  32. }
  33. }