Skip to main content

NavMeshData(number agentTypeID)

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

Parameters:

NameTypeDescription
agentTypeIDnumberThe agent type ID to create a NavMesh for.

Usage

---@type number
local agentTypeID;


local navmeshdata = NavMeshData(agentTypeID);