Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


NavMeshData

Contains and represents NavMesh data.
Read time 4 minutesLast updated 6 days ago

Definition

public sealed class NavMeshData : Object

Remarks

An object of this class can be used for creating instances of NavMeshes. See NavMesh.AddNavMeshData. The contained NavMesh can be built and updated using the build API. See NavMeshBuilder and methods therein.

Constructors

Constructor

Description

NavMeshData()Constructs a new object for representing a NavMesh for the default agent type.
NavMeshData(System.Int32)Constructs a new object representing a NavMesh for the specified agent type.

Properties

Property

Description

positionGets or sets the world space position of the NavMesh data.
rotationGets or sets the orientation of the NavMesh data.
sourceBoundsReturns the bounding volume of the input geometry used to build this NavMesh (Read Only).

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.