NavMeshData
7/14/25Less than 1 minute
NavMeshData
Info
NavMeshData inherits from [Object](/docs/create/lua/API/Object/index.html)
Contains and represents NavMesh data.
Members
Properties
| Name | Description |
|---|---|
NavMeshData.position | Gets or sets the world space position of the NavMesh data. The default value is zero - that is, the world space origin. |
NavMeshData.rotation | Gets or sets the orientation of the NavMesh data. |
NavMeshData.sourceBounds | Returns the bounding volume of the input geometry used to build this NavMesh (Read Only). |
Constructor
| Name | Description |
|---|---|
NavMeshData() | Constructs a new object for representing a NavMesh for the default agent type. |
NavMeshData(agentTypeID) | Constructs a new object representing a NavMesh for the specified agent type. |
Inherited Members
Inherited Properties
| Name | Description |
|---|---|
NavMeshData.hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
NavMeshData.name | The name of the object. |
Inherited Methods
| Name | Description |
|---|---|
NavMeshData.GetInstanceID() | Returns the instance id of the object. |
Extra Detail
An object of this class can be used for creating instances of NavMeshes.

