EditorSurfaceDataMeshComponent.h 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project
  3. *
  4. * SPDX-License-Identifier: Apache-2.0 OR MIT
  5. *
  6. */
  7. #pragma once
  8. #include <AzCore/Module/Module.h>
  9. #include <AzToolsFramework/ToolsComponents/EditorComponentBase.h>
  10. #include <AzToolsFramework/ToolsComponents/EditorVisibilityBus.h>
  11. #include <SurfaceData/SurfaceDataMeshComponent.h>
  12. #include <LmbrCentral/Component/EditorWrappedComponentBase.h>
  13. namespace SurfaceData
  14. {
  15. class EditorSurfaceDataMeshComponent
  16. : public LmbrCentral::EditorWrappedComponentBase<SurfaceDataMeshComponent, SurfaceDataMeshConfig>
  17. {
  18. public:
  19. using BaseClassType = LmbrCentral::EditorWrappedComponentBase<SurfaceDataMeshComponent, SurfaceDataMeshConfig>;
  20. AZ_EDITOR_COMPONENT(EditorSurfaceDataMeshComponent, "{4D73E979-5463-4B75-AE46-70B1E52CBF43}", BaseClassType);
  21. static void Reflect(AZ::ReflectContext* context);
  22. static constexpr const char* const s_categoryName = "Surface Data";
  23. static constexpr const char* const s_componentName = "Mesh Surface Tag Emitter";
  24. static constexpr const char* const s_componentDescription = "Enables a static mesh to emit surface tags";
  25. static constexpr const char* const s_icon = "Editor/Icons/Components/SurfaceData.svg";
  26. static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/SurfaceData.png";
  27. static constexpr const char* const s_helpUrl = "https://o3de.org/docs/user-guide/components/reference/";
  28. };
  29. }