EditorSlopeAlignmentModifierComponent.h 1.6 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 <Components/SlopeAlignmentModifierComponent.h>
  10. #include <Vegetation/Editor/EditorVegetationComponentBase.h>
  11. namespace Vegetation
  12. {
  13. class EditorSlopeAlignmentModifierComponent
  14. : public EditorVegetationComponentBase<SlopeAlignmentModifierComponent, SlopeAlignmentModifierConfig>
  15. {
  16. public:
  17. using BaseClassType = EditorVegetationComponentBase<SlopeAlignmentModifierComponent, SlopeAlignmentModifierConfig>;
  18. AZ_EDITOR_COMPONENT(EditorSlopeAlignmentModifierComponent, EditorSlopeAlignmentModifierComponentTypeId, BaseClassType);
  19. static void Reflect(AZ::ReflectContext* context);
  20. static constexpr const char* const s_categoryName = "Vegetation Modifiers";
  21. static constexpr const char* const s_componentName = "Vegetation Slope Alignment Modifier";
  22. static constexpr const char* const s_componentDescription = "Offsets the orientation of the vegetation relative to a surface angle";
  23. static constexpr const char* const s_icon = "Editor/Icons/Components/VegetationModifier.svg";
  24. static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/VegetationModifier.svg";
  25. static constexpr const char* const s_helpUrl = "https://www.o3de.org/docs/user-guide/components/reference/vegetation-modifiers/vegetation-slope-alignment-modifier/";
  26. };
  27. }