EditorReferenceShapeComponent.h 1.4 KB

1234567891011121314151617181920212223242526272829303132
  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 <LmbrCentral/Component/EditorWrappedComponentBase.h>
  10. #include <Shape/ReferenceShapeComponent.h>
  11. namespace LmbrCentral
  12. {
  13. class EditorReferenceShapeComponent
  14. : public EditorWrappedComponentBase<ReferenceShapeComponent, ReferenceShapeConfig>
  15. {
  16. public:
  17. using BaseClassType = EditorWrappedComponentBase<ReferenceShapeComponent, ReferenceShapeConfig>;
  18. AZ_EDITOR_COMPONENT(EditorReferenceShapeComponent, EditorReferenceShapeComponentTypeId, BaseClassType);
  19. static void Reflect(AZ::ReflectContext* context);
  20. static constexpr const char* const s_categoryName = "Shape";
  21. static constexpr const char* const s_componentName = "Shape Reference";
  22. static constexpr const char* const s_componentDescription = "Enables the entity to reference and reuse shape entities";
  23. static constexpr const char* const s_icon = "Editor/Icons/Components/ShapeReference.svg";
  24. static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/ShapeReference.svg";
  25. static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/shape/shape-reference/";
  26. };
  27. }