Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/NavAreas
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- 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
class UNavArea : public UNavAreaBase
Remarks
Class containing definition of a navigation area
Variables
| Type | Name | Description | |
|---|---|---|---|
| union UNavArea::@12537 | @12538 | DEPRECATED AGENT CONFIG. | |
| uint16 | AreaFlags | These flags will be applied to navigation data along with AreaID | |
| uint32: 1 | bSupportsAgent0 | ||
| 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 | |
| uint32 | SupportedAgentsBits |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UNavArea
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CopyFrom
(
TSubclassOf< UNavArea > AreaClass |
Copy properties from other area | |
| uint16 | GetAreaFlags () |
||
| FColor | 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 | RegisterArea () |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | Called to finish destroying the object. | ||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | ||
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | Handles reading, writing, and reference collecting using FArchive. |