NodeWrapper.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 <AzCore/RTTI/RTTI.h>
  10. #include <AzCore/std/smart_ptr/shared_ptr.h>
  11. struct aiNode;
  12. namespace AZ
  13. {
  14. namespace SDKNode
  15. {
  16. class NodeWrapper
  17. {
  18. public:
  19. AZ_RTTI(NodeWrapper, "{5EB0897B-9728-44B7-B056-BA34AAF14715}");
  20. virtual ~NodeWrapper() = default;
  21. enum CurveNodeComponent
  22. {
  23. Component_X,
  24. Component_Y,
  25. Component_Z
  26. };
  27. virtual const char* GetName() const;
  28. virtual AZ::u64 GetUniqueId() const;
  29. virtual int GetMaterialCount() const;
  30. virtual int GetChildCount()const;
  31. virtual const std::shared_ptr<NodeWrapper> GetChild(int childIndex) const;
  32. };
  33. } //namespace Node
  34. } //namespace AZ