EditorSurfaceDataMeshComponent.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  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/Module/Module.h>
  10. #include <AzToolsFramework/ToolsComponents/EditorComponentBase.h>
  11. #include <AzToolsFramework/ToolsComponents/EditorVisibilityBus.h>
  12. #include <SurfaceData/SurfaceDataMeshComponent.h>
  13. #include <LmbrCentral/Component/EditorWrappedComponentBase.h>
  14. namespace SurfaceData
  15. {
  16. class EditorSurfaceDataMeshComponent
  17. : public LmbrCentral::EditorWrappedComponentBase<SurfaceDataMeshComponent, SurfaceDataMeshConfig>
  18. {
  19. public:
  20. using BaseClassType = LmbrCentral::EditorWrappedComponentBase<SurfaceDataMeshComponent, SurfaceDataMeshConfig>;
  21. AZ_EDITOR_COMPONENT(EditorSurfaceDataMeshComponent, "{4D73E979-5463-4B75-AE46-70B1E52CBF43}", BaseClassType);
  22. static void Reflect(AZ::ReflectContext* context);
  23. static constexpr const char* const s_categoryName = "Surface Data";
  24. static constexpr const char* const s_componentName = "Mesh Surface Tag Emitter";
  25. static constexpr const char* const s_componentDescription = "Enables a static mesh to emit surface tags";
  26. static constexpr const char* const s_icon = "Editor/Icons/Components/SurfaceData.svg";
  27. static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/SurfaceData.png";
  28. static constexpr const char* const s_helpUrl = "https://www.o3de.org/docs/user-guide/components/reference/surface-data/mesh-surface-tag-emitter/";
  29. };
  30. }