/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or the license accompanying this file. Do not * remove or modify any license notices. This file is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * */ #pragma once // Landscape Canvas #include #include namespace AZ { class ReflectContext; } namespace LandscapeCanvas { class BaseAreaModifierNode : public BaseNode { public: AZ_CLASS_ALLOCATOR(BaseAreaModifierNode, AZ::SystemAllocator, 0); AZ_RTTI(BaseAreaModifierNode, "{9FCA4158-1974-4CE3-93B9-10F1D6A25D9F}", BaseNode); // Connection slot IDs (not translated, only used internally) static const char* INBOUND_GRADIENT_X_SLOT_ID; static const char* INBOUND_GRADIENT_Y_SLOT_ID; static const char* INBOUND_GRADIENT_Z_SLOT_ID; // Connection slot labels static const QString INBOUND_GRADIENT_X_SLOT_LABEL; static const QString INBOUND_GRADIENT_Y_SLOT_LABEL; static const QString INBOUND_GRADIENT_Z_SLOT_LABEL; // Connection slot descriptions static const QString INBOUND_GRADIENT_X_INPUT_SLOT_DESCRIPTION; static const QString INBOUND_GRADIENT_Y_INPUT_SLOT_DESCRIPTION; static const QString INBOUND_GRADIENT_Z_INPUT_SLOT_DESCRIPTION; static void Reflect(AZ::ReflectContext* context); BaseAreaModifierNode() = default; explicit BaseAreaModifierNode(GraphModel::GraphPtr graph); const BaseNodeType GetBaseNodeType() const override { return BaseNode::VegetationAreaModifier; } const bool ShouldShowEntityName() const override { // Don't show the entity name for Area Modifiers since they will // be wrapped on a Vegetation Area it would be redundant return false; } }; }