public class Sandbox.NavMeshArea : Sandbox.Volumes.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.
Related Guides
Broader workflow and conceptual references connected to this API.
Constructors
Showing 1 constructors
public NavMeshArea()
No results match this filter.
Methods
Showing 1 methods
protected virtual System.Threading.Tasks.Task OnLoad(Sandbox.LoadingContext context)
No results match this filter.
Properties
Showing 3 properties
public Sandbox.Engine.Resources.NavMeshAreaDefinition Sandbox.NavMeshArea.Area { get; set; }
The NavMesh area definition to apply to this area.
public bool Sandbox.NavMeshArea.IsBlocker { get; set; }
Whether navmesh generation in this area will be completely disabled.
public Sandbox.Collider Sandbox.NavMeshArea.LinkedCollider { get; set; }Obsolete
The collider this area's shape is based on. In almost every case, you will want to use a trigger collider for this.
Obsolete: Use the SceneVolume property inherited from VolumeComponent instead
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.NavMeshArea |