godot-recast-navigation/src/RecastNavMesh.hpp
Tim Blume 2a8b530c98 foo
2024-06-04 11:42:58 +02:00

22 lines
481 B
C++

#pragma once
#include <godot_cpp/classes/node3d.hpp>
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; }
};
}