API ReferenceSandbox
NavMeshAreaclass
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.
Constructors1
Showing 1 constructors
public NavMeshArea()
No results match this filter.
Methods1
Showing 1 methods
protected virtual System.Threading.Tasks.Task OnLoad(Sandbox.LoadingContext context)
| Parameter | Type | Description |
|---|---|---|
| context | LoadingContext | — |
Returns:
Task—No results match this filter.
Properties3
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.
Returns:
bool—public Sandbox.Collider Sandbox.NavMeshArea.LinkedCollider { get; set; }
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.