Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/NavAreas
Inheritance Hierarchy
- UNavAreaBase
- UNavArea
- UNavArea_Default
- UNavArea_LowHeight
- UNavArea_Null
- UNavArea_Obstacle
- UNavAreaMeta
- UNavAreaMeta_SwitchByAgent
References
| Module | NavigationSystem |
| Header | /Engine/Source/Runtime/NavigationSystem/Public/NavAreas/NavArea.h |
| Include | #include "NavAreas/NavArea.h" |
Syntax
UCLASS (DefaultToInstanced, Abstract, Config=Engine, Blueprintable, MinimalAPI)
class UNavArea : public UNavAreaBase
Remarks
Class containing definition of a navigation area
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint16 | AreaFlags | These flags will be applied to navigation data along with AreaID | |
| uint32: 1 | bSupportsAgent0 | DEPRECATED AGENT CONFIG. | |
| uint32: 1 | bSupportsAgent1 | ||
| uint32: 1 | bSupportsAgent10 | ||
| uint32: 1 | bSupportsAgent11 | ||
| uint32: 1 | bSupportsAgent12 | ||
| uint32: 1 | bSupportsAgent13 | ||
| uint32: 1 | bSupportsAgent14 | ||
| uint32: 1 | bSupportsAgent15 | ||
| uint32: 1 | bSupportsAgent2 | ||
| uint32: 1 | bSupportsAgent3 | ||
| uint32: 1 | bSupportsAgent4 | ||
| uint32: 1 | bSupportsAgent5 | ||
| uint32: 1 | bSupportsAgent6 | ||
| uint32: 1 | bSupportsAgent7 | ||
| uint32: 1 | bSupportsAgent8 | ||
| uint32: 1 | bSupportsAgent9 | ||
| float | DefaultCost | Travel cost multiplier for path distance | |
| FColor | DrawColor | Area color in navigation view | |
| float | FixedAreaEnteringCost | Entering cost | |
| FNavAgentSelector | SupportedAgents | Restrict area only to specified agents |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UNavArea
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Copy properties from other area | ||
| void | |||
| uint16 | GetAreaFlags () |
||
| FColor | GetColor
(
UClass* AreaDefinitionClass |
Retrieved color declared for AreaDefinitionClass | |
| float | Get the fixed area entering cost. | ||
| bool | HasFlags
(
uint16 InFlags |
||
| void | Called before adding to navigation system | ||
| bool | IsSupportingAgent
(
int32 AgentIndex |
||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | |||
| void | PostLoad () |
||
| void | RegisterArea () |
||
| void | Serialize
(
FArchive& Ar |