Skip to content

Api > NavMeshData > Constructor


NavMeshData()⚓︎

Constructs a new object for representing a NavMesh for the default agent type.

Usage⚓︎

local navmeshdata = NavMeshData();

Extra Detail⚓︎

At construction this NavMesh is empty, i.e. there are no polygons. You can use this class to create, build and add a NavMesh at runtime.