Documentation

Unity Engine

Download Unity

Unity Engine

UnityEngine.AIModule

The AI module implements the path finding features in Unity.
Read time 2 minutesLast updated 3 hours ago

Definition

  • Type: Module

Classes

Class

Description

NavMeshSingleton class to access the baked NavMesh.
NavMeshAgentNavigation mesh agent.
NavMeshBuilderNavigation mesh builder interface.
NavMeshDataContains and represents NavMesh data.
NavMeshObstacleAn obstacle for NavMeshAgents to avoid.
NavMeshPathA path as calculated by the navigation system.

Structs

Struct

Description

NavLocationA world position that is guaranteed to be on the navigation data, either on a NavMesh surface or on a link.
NavMeshBuildDebugSettingsSpecify which of the temporary data generated while building the NavMesh should be retained in memory after the process has completed.
NavMeshBuildMarkupThe NavMesh build markup allows you to control how certain objects are treated during the NavMesh build process, specifically when collecting sources for building.
NavMeshBuildSettingsThe NavMeshBuildSettings struct allows you to specify a collection of settings which describe the dimensions and limitations of a particular agent type.
NavMeshBuildSourceThe input to the NavMesh builder is a list of NavMesh build sources.
NavMeshDataInstanceThe instance is returned when adding NavMesh data.
NavMeshHitInformation about a position that is the result of a query ran on the NavMesh.
NavMeshLinkDataUsed for runtime manipulation of links connecting polygons of the NavMesh.
NavMeshLinkInstanceRepresents a link available for pathfinding.
NavMeshQueryFilterSpecifies which agent type and areas to consider when searching the NavMesh.
NavMeshTriangulationContains data describing a triangulation of a navmesh.
NavNodeRepresents a compact identifier for the data of a navigation graph node.
NavQueryBufferA buffer that stores intermediate node data during NavMesh pathfinding operations in a NavWorld.
NavWorldA handle for the navigation mesh world, used to perform navigation query operations from jobs.
OffMeshLinkDataState of OffMeshLink.

Enums

Enum

Description

NavMeshBuildDebugFlagsBitmask used for operating with debug data from the NavMesh build process.
NavMeshBuildSourceShapeUsed with NavMeshBuildSource to define the shape for building NavMesh.
NavMeshCollectGeometryUsed for specifying the type of geometry to collect. Used with CollectSources.
NavMeshObstacleShapeShape of the obstacle.
NavMeshPathStatusStatus of path.
NavNodeTypeThe types of nodes in the navigation data.
NavQueryStatusAn enum of bit flags that represent the status of NavWorld methods.
ObstacleAvoidanceTypeLevel of obstacle avoidance.
OffMeshLinkTypeLink type specifier.