Method group is Obsolete
Experimental: this API is experimental and might be changed or removed in the future.

PolygonId

struct in UnityEngine.Experimental.AI

/

Implemented in:UnityEngine.AIModule

Obsolete The experimental PolygonId struct has been deprecated without replacement.

Description

Represents a compact identifier for the data of a NavMesh node.

It is used in NavMeshQuery operations for pinpointing and getting access to relevant nodes in the NavMesh. Each node can be used by only one type of agent. Additional resources: NavMeshSurface.

This identifier becomes invalid once the node gets removed from the NavMesh, either by completely removing the surface or by modifying the surface in the node's immediate vicinity.

Additional resources: NavMeshQuery.IsValid.


Did you find this page useful? Please give it a rating: