Api Sandbox NavMeshArea
class

NavMeshArea

public class NavMeshArea : VolumeComponent

An area that influences the NavMesh generation. Areas can be used to block off parts of the NavMesh. Static areas have almost no performance overhead. Moving areas at runtime will have an impact on performance if done excessively.

Constructors

NavMeshArea()

Properties

Name Type Description
IsBlocker Boolean Whether navmesh generation in this area will be completely disabled.
Area NavMeshAreaDefinition The NavMesh area definition to apply to this area.
LinkedCollider Collider The collider this area's shape is based on. In almost every case, you will want to use a trigger collider for this.
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.NavMeshArea