API ReferenceSandbox.Engine.Resources

NavMeshAreaDefinitionclass

Defines a navigation area resource for use in navigation meshes.

objectGameResourceNavMeshAreaDefinition
Namespace
Sandbox.Engine.Resources
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.Engine.Resources.NavMeshAreaDefinition : Sandbox.GameResource

Constructors1

Showing 1 constructors

Properties3

Showing 3 properties

public float Sandbox.Engine.Resources.NavMeshAreaDefinition.CostMultiplier { get; set; }PUBLICGETSET

How much costlier it is to cross this Area. Will be clamped.

Returns:float

public int Sandbox.Engine.Resources.NavMeshAreaDefinition.Priority { get; set; }PUBLICGETSET

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.

Returns:int

On this page