#pragma once #include namespace godot { class RecastNavMesh : public Node3D { GDCLASS(RecastNavMesh, Node3D) private: bool calculated = false; protected: static void _bind_methods(); public: RecastNavMesh(); ~RecastNavMesh(); void clear_vertices(); bool add_vertices(const PackedByteArray& vertices); bool recalculate_navmesh(); bool is_calculated() { return calculated; } }; }