/* * 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 #include #include #include #include #include #include namespace RecastNavigation { //! Calculates a navigation mesh with the triangle data provided by @RecastNavigationPhysXProviderComponent. //! Path calculation is done using @DetourNavigationComponent. class RecastNavigationMeshComponent final : public AzFramework::Components::ComponentAdapter { using BaseClass = AzFramework::Components::ComponentAdapter; public: AZ_COMPONENT(RecastNavigationMeshComponent, RecastNavigationMeshComponentTypeId, BaseClass); RecastNavigationMeshComponent() = default; explicit RecastNavigationMeshComponent(const RecastNavigationMeshConfig& config); static void Reflect(AZ::ReflectContext* context); }; } // namespace RecastNavigation