Navigation
API > API/Runtime > API/Runtime/NavigationSystem
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- AActor
- ANavigationData
- AAbstractNavData
References
| Module | NavigationSystem |
| Header | /Engine/Source/Runtime/NavigationSystem/Public/AbstractNavData.h |
| Include | #include "AbstractNavData.h" |
Syntax
class AAbstractNavData : public ANavigationData
Constructors
| Type | Name | Description | |
|---|---|---|---|
AAbstractNavData
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FPathFindingResult | FindPathAbstract
(
const FNavAgentProperties& AgentProperties, |
||
| bool | RaycastAbstract
(
const ANavigationData* NavDataInstance, |
||
| bool | TestPathAbstract
(
const FNavAgentProperties& AgentProperties, |
Overridden from ANavigationData
| Type | Name | Description | |
|---|---|---|---|
| void | BatchProjectPoints
(
TArray< FNavigationProjectionWork >& Workload, |
Project batch of points using shared search filter. | |
| void | BatchProjectPoints
(
TArray< FNavigationProjectionWork >& Workload, |
Batches ProjectPoint's work for efficiency | |
| void | BatchRaycast
(
TArray< FNavigationRaycastWork >& Workload, |
Raycasts batched for efficiency | |
| ENavigationQueryResult::Type | CalcPathCost
(
const FVector& PathStart, |
Calculates path from PathStart to PathEnd and retrieves its cost. | |
| ENavigationQueryResult::Type | CalcPathLength
(
const FVector& PathStart, |
Calculates path from PathStart to PathEnd and retrieves its length. | |
| ENavigationQueryResult::Type | CalcPathLengthAndCost
(
const FVector& PathStart, |
Calculates path from PathStart to PathEnd and retrieves its length. | |
| bool | DoesNodeContainLocation
(
NavNodeRef NodeRef, |
Checks if specified navigation node contains given location | |
| bool | FindOverlappingEdges
(
const FNavLocation& StartLocation, |
Returns the navmesh edges that touch the convex polygon. The edges are not clipped by the polygon. | |
| FBox | GetBounds () |
Returns bounding box for the navmesh. | |
| bool | GetPathSegmentBoundaryEdges
(
const FNavigationPath& Path, |
Searches navmesh edges between the two path points, search up to the convex polygon described in SearchArea. | |
| FNavLocation | GetRandomPoint
(
FSharedConstNavQueryFilter Filter, |
||
| bool | GetRandomPointInNavigableRadius
(
const FVector& Origin, |
Finds a random location in navigable space, in given Radius | |
| bool | GetRandomReachablePointInRadius
(
const FVector& Origin, |
Finds a random location in Radius, reachable from Origin | |
| void | OnNavAreaAdded
(
const UClass* NavAreaClass, |
Areas. | |
| void | OnNavAreaRemoved
(
const UClass* NavAreaClass |
Area was removed from navigation system |
Overridden from AActor
| Type | Name | Description | |
|---|---|---|---|
| bool | Does this actor supports external packaging? |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
Overridden from INavigationDataInterface
| Type | Name | Description | |
|---|---|---|---|
| bool | FindMoveAlongSurface
(
const FNavLocation& StartLocation, |
Tries to move current nav location towards target constrained to navigable area. | |
| bool | IsNodeRefValid
(
NavNodeRef NodeRef |
Determines whether the specified NavNodeRef is still valid | |
| bool | ProjectPoint
(
const FVector& Point, |
Tries to project given Point to this navigation type, within given Extent. |