EditorReferenceGradientComponent.h 1.3 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 <GradientSignal/Editor/EditorGradientComponentBase.h>
  10. #include <GradientSignal/Components/ReferenceGradientComponent.h>
  11. namespace GradientSignal
  12. {
  13. class EditorReferenceGradientComponent
  14. : public EditorGradientComponentBase<ReferenceGradientComponent, ReferenceGradientConfig>
  15. {
  16. public:
  17. using BaseClassType = EditorGradientComponentBase<ReferenceGradientComponent, ReferenceGradientConfig>;
  18. AZ_EDITOR_COMPONENT(EditorReferenceGradientComponent, "{93641FFD-8D9E-49B9-B8DF-1D943318B34A}", BaseClassType);
  19. static void Reflect(AZ::ReflectContext* context);
  20. static constexpr const char* const s_categoryName = "Gradients";
  21. static constexpr const char* const s_componentName = "Reference Gradient";
  22. static constexpr const char* const s_componentDescription = "References another gradient";
  23. static constexpr const char* const s_icon = "Editor/Icons/Components/Gradient.svg";
  24. static constexpr const char* const s_viewportIcon = "Editor/Icons/Components/Viewport/Gradient.svg";
  25. static constexpr const char* const s_helpUrl = "";
  26. };
  27. }