/* * 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 #include #include #include #include namespace AZ { namespace Debug { class CameraModule : public AZ::Module { public: AZ_RTTI(CameraModule, "{C4F5D301-5C7F-42C2-8326-08F685B2D7A3}", AZ::Module); CameraModule() { m_descriptors.insert(m_descriptors.end(), { CameraControllerComponent::CreateDescriptor(), ArcBallControllerComponent::CreateDescriptor(), CameraComponent::CreateDescriptor(), NoClipControllerComponent::CreateDescriptor(), }); } /** * Add required SystemComponents to the SystemEntity. */ AZ::ComponentTypeList GetRequiredSystemComponents() const override { AZ::ComponentTypeList required; return required; } }; } // namespace Debug } // namespace AZ #if defined(O3DE_GEM_NAME) AZ_DECLARE_MODULE_CLASS(AZ_JOIN(Gem_, O3DE_GEM_NAME), AZ::Debug::CameraModule) #else AZ_DECLARE_MODULE_CLASS(Gem_Atom_Component_DebugCamera, AZ::Debug::CameraModule) #endif