You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/LandscapeCanvas/Code/Source/Editor/Nodes/Gradients/BaseGradientNode.h

39 lines
931 B
C++

/*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
// Landscape Canvas
#include <Editor/Core/Core.h>
#include <Editor/Nodes/BaseNode.h>
namespace AZ
{
class ReflectContext;
}
namespace LandscapeCanvas
{
class BaseGradientNode : public BaseNode
{
public:
AZ_CLASS_ALLOCATOR(BaseGradientNode, AZ::SystemAllocator, 0);
AZ_RTTI(BaseGradientNode, "{9B58A983-243F-43A6-ABC0-6D6B8D7BCB4C}", BaseNode);
static void Reflect(AZ::ReflectContext* context);
BaseGradientNode() = default;
explicit BaseGradientNode(GraphModel::GraphPtr graph);
const BaseNodeType GetBaseNodeType() const override { return BaseNode::Gradient; }
protected:
void RegisterSlots() override;
};
}