// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved.

#pragma once

#if COMPILE_WITH_NAV_MESH_BUILDER

#include "Engine/Core/Types/BaseTypes.h"

class Scene;

/// <summary>
/// The navigation mesh building utility.
/// </summary>
class FLAXENGINE_API NavMeshBuilder
{
public:
    static void Init();
    static bool IsBuildingNavMesh();
    static float GetNavMeshBuildingProgress();
    static void Update();
    static void Build(Scene* scene, float timeoutMs);
    static void Build(Scene* scene, const BoundingBox& dirtyBounds, float timeoutMs);
};

#endif
