Class NavModifierVolume
A special type of volume that defines the area of the scene in which navigation is restricted (eg. higher traversal cost or dynamic obstacle block).
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[ActorContextMenu("New/Other/Nav Modifier Volume")]
[ActorToolbox("Other")]
[Unmanaged]
public class NavModifierVolume : BoxVolume, ISerializable
Constructors
NavModifierVolume()
Properties
AgentsMask
The agent types used by this navmesh modifier volume (from navigation settings). Can be used to adjust navmesh for a certain set of agents.
Declaration
[EditorDisplay("Navigation", null)]
[EditorOrder(10)]
[Unmanaged]
public NavAgentMask AgentsMask { get; set; }
Property Value
NavAgentMask
|
AreaName
The name of the nav area to apply within the modifiers volume. Nav area properties are picked from the Navigation Settings asset.
Declaration
[EditorDisplay("Navigation", null)]
[EditorOrder(20)]
[Unmanaged]
public string AreaName { get; set; }
Property Value
System.String
|