Skip to content

Api > NavMeshData > Constructor


NavMeshData(number agentTypeID)⚓︎

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

Parameters:⚓︎

Name Type Description
agentTypeID number The agent type ID to create a NavMesh for.

Usage⚓︎

---@type number
local agentTypeID;


local navmeshdata = NavMeshData(agentTypeID);