Files
o3de/Gems/Vegetation/Code/Source/VegetationEditorModule.cpp
T
Steve Pham 38261d0800 Shorten copyright headers by splitting into 2 lines (#2213)
* Updated all copyright headers to split the longer original copyright line into 2 shorter lines

Signed-off-by: Steve Pham <spham@amazon.com>
2021-07-16 15:25:48 -07:00

78 lines
3.4 KiB
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
*
*/
#include <VegetationEditorModule.h>
#include <Editor/EditorAreaBlenderComponent.h>
#include <Editor/EditorBlockerComponent.h>
#include <Editor/EditorDescriptorListCombinerComponent.h>
#include <Editor/EditorDescriptorListComponent.h>
#include <Editor/EditorDescriptorWeightSelectorComponent.h>
#include <Editor/EditorDistanceBetweenFilterComponent.h>
#include <Editor/EditorDistributionFilterComponent.h>
#include <Editor/EditorLevelSettingsComponent.h>
#include <Editor/EditorMeshBlockerComponent.h>
#include <Editor/EditorPositionModifierComponent.h>
#include <Editor/EditorReferenceShapeComponent.h>
#include <Editor/EditorRotationModifierComponent.h>
#include <Editor/EditorScaleModifierComponent.h>
#include <Editor/EditorShapeIntersectionFilterComponent.h>
#include <Editor/EditorSlopeAlignmentModifierComponent.h>
#include <Editor/EditorSpawnerComponent.h>
#include <Editor/EditorSurfaceAltitudeFilterComponent.h>
#include <Editor/EditorSurfaceMaskDepthFilterComponent.h>
#include <Editor/EditorSurfaceMaskFilterComponent.h>
#include <Editor/EditorSurfaceSlopeFilterComponent.h>
#include <Editor/EditorVegetationSystemComponent.h>
#include <Debugger/EditorDebugComponent.h>
#include <Debugger/EditorAreaDebugComponent.h>
namespace Vegetation
{
VegetationEditorModule::VegetationEditorModule()
: VegetationModule()
{
m_descriptors.insert(m_descriptors.end(), {
EditorAreaBlenderComponent::CreateDescriptor(),
EditorBlockerComponent::CreateDescriptor(),
EditorDescriptorListCombinerComponent::CreateDescriptor(),
EditorDescriptorListComponent::CreateDescriptor(),
EditorDescriptorWeightSelectorComponent::CreateDescriptor(),
EditorDistanceBetweenFilterComponent::CreateDescriptor(),
EditorDistributionFilterComponent::CreateDescriptor(),
EditorLevelSettingsComponent::CreateDescriptor(),
EditorMeshBlockerComponent::CreateDescriptor(),
EditorPositionModifierComponent::CreateDescriptor(),
EditorReferenceShapeComponent::CreateDescriptor(),
EditorRotationModifierComponent::CreateDescriptor(),
EditorScaleModifierComponent::CreateDescriptor(),
EditorShapeIntersectionFilterComponent::CreateDescriptor(),
EditorSlopeAlignmentModifierComponent::CreateDescriptor(),
EditorSpawnerComponent::CreateDescriptor(),
EditorSurfaceAltitudeFilterComponent::CreateDescriptor(),
EditorSurfaceMaskDepthFilterComponent::CreateDescriptor(),
EditorSurfaceMaskFilterComponent::CreateDescriptor(),
EditorSurfaceSlopeFilterComponent::CreateDescriptor(),
EditorVegetationSystemComponent::CreateDescriptor(),
EditorDebugComponent::CreateDescriptor(),
EditorAreaDebugComponent::CreateDescriptor(),
});
}
AZ::ComponentTypeList VegetationEditorModule::GetRequiredSystemComponents() const
{
AZ::ComponentTypeList requiredComponents = VegetationModule::GetRequiredSystemComponents();
requiredComponents.push_back(azrtti_typeid<EditorVegetationSystemComponent>());
return requiredComponents;
}
}
AZ_DECLARE_MODULE_CLASS(Gem_VegetationEditor, Vegetation::VegetationEditorModule)