API ReferenceSandbox.Engine.Resources
public sealed class Sandbox.Engine.Resources.NavMeshAreaDefinition : Sandbox.GameResource
Defines a navigation area resource for use in navigation meshes.
Related Guides
Broader workflow and conceptual references connected to this API.
Constructors
Showing 1 constructors
public NavMeshAreaDefinition()
No results match this filter.
Properties
Showing 3 properties
public Color Sandbox.Engine.Resources.NavMeshAreaDefinition.Color { get; set; }
Debug color for this Area.
public float Sandbox.Engine.Resources.NavMeshAreaDefinition.CostMultiplier { get; set; }
How much costlier it is to cross this Area. Will be clamped.
public int Sandbox.Engine.Resources.NavMeshAreaDefinition.Priority { get; set; }
Gets or sets the priority level for the area definition. Higher values take precedence if multiple areas overlap.
Note
Changing this value may trigger updates to the navigation mesh.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.Engine.Resources |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Engine.Resources.NavMeshAreaDefinition |