Navigation
API > API/Runtime > API/Runtime/NavigationSystem
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- AActor
- ANavigationTestingActor
References
| Module | NavigationSystem |
| Header | /Engine/Source/Runtime/NavigationSystem/Public/NavigationTestingActor.h |
| Include | #include "NavigationTestingActor.h" |
Syntax
class ANavigationTestingActor :
public AActor,
public INavAgentInterface,
public INavPathObserverInterface
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bBacktracking | Instead of regular pathfinding from source to target location do a 'backwards' search that searches from the source, but as if the allowed movement direction was coming from the target. | |
| uint32: 1 | bDrawDistanceToWall | ||
| uint32: 1 | bGatherDetailedInfo | If set, all steps of A* algorithm will be accessible for debugging | |
| uint32: 1 | bPathExist | ||
| uint32: 1 | bPathIsPartial | ||
| uint32: 1 | bPathSearchOutOfNodes | ||
| uint32: 1 | bProjectedLocationValid | ||
| uint32: 1 | bRequireNavigableEndLocation | If set, require the end location to be close to the navigation data. | |
| uint32: 1 | bSearchStart | If set, start the search from this actor, else start the search from the other actor | |
| uint32: 1 | bShouldBeVisibleInGame | ||
| uint32: 1 | bShowBestPath | Show current best path | |
| uint32: 1 | bShowDiffWithPreviousStep | Show which nodes were modified in current A* step | |
| uint32: 1 | bShowNodePool | Show polys from open (orange) and closed (yellow) sets | |
| uint32: 1 | bUseHierarchicalPathfinding | ||
| FVector | ClosestWallLocation | ||
| TEnumAsByte< ENavCostDisplay::Type > | CostDisplayMode | Determines which cost will be shown | |
| float | CostLimitFactor | This multiplier is used to compute a max node cost allowed to the open list (cost limit = CostLimitFactor*InitialHeuristicEstimate) | |
| TSubclassOf< class UNavigationQueryFilter > | FilterClass | "None" will result in default filter being used | |
| FNavPathSharedPtr | LastPath | ||
| float | MinimumCostLimit | Minimum cost limit clamping value (in cost units) used to allow large deviation in short paths | |
| TObjectPtr< ANavigationData > | MyNavData | ||
| FNavAgentProperties | NavAgentProps | ||
| float | OffsetFromCornersDistance | ||
| TObjectPtr< ANavigationTestingActor > | OtherActor | ||
| double | PathCost | ||
| int32 | PathfindingSteps | ||
| float | PathfindingTime | Time in micro seconds | |
| FNavigationPath::FPathObserverDelegate::FDelegate | PathObserver | ||
| FVector | ProjectedLocation | ||
| FVector | QueryingExtent | ||
| int32 | ShowStepIndex | ||
| FVector2D | TextCanvasOffset | Text canvas offset to apply |
Constructors
| Type | Name | Description | |
|---|---|---|---|
ANavigationTestingActor
(
const FObjectInitializer& ObjectInitializer |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Dtor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FPathFindingQuery | BuildPathFindingQuery
(
const ANavigationTestingActor* Goal |
Virtual method to override if you want to customize the query being constructed for the path find (e.g. change the filter or add constraints/goal evaluators). | |
| FVector | |||
| void | GatherDetailedData
(
ANavigationTestingActor* Goal |
||
| UCapsuleComponent * | Returns CapsuleComponent subobject | ||
| UNavTestRenderingComponent * | Returns EdRenderComp subobject | ||
| void | OnPathEvent
(
FNavigationPath* InvalidatedPath, |
Called when given path becomes invalid (via | |
| void | SearchPathTo
(
ANavigationTestingActor* Goal |
||
| void | TickMe () |
||
| void | |||
| void |
Overridden from AActor
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditMove
(
bool bFinished |
Called after an actor has been moved in the editor |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Called before destroying the object. | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | PreEditChange
(
FProperty* PropertyAboutToChange |
This is called when a property is about to be modified externally |
Overridden from INavAgentInterface
| Type | Name | Description | |
|---|---|---|---|
| void | GetMoveGoalReachTest
(
const AActor* MovingActor, |
Get cylinder for testing if actor has been reached | |
| FVector | Retrieves Agent's location | ||
| const FNavAgentProperties & | Retrieves FNavAgentProperties expressing navigation props and caps of represented agent the function will be renamed to GetNavAgentProperties in 4.8. |
Overridden from INavPathObserverInterface
| Type | Name | Description | |
|---|---|---|---|
| void | OnPathFailed
(
INavigationPathGenerator* PathGenerator |
Called when path generation by PathGenerator fails | |
| void | OnPathInvalid
(
INavigationPathGenerator* PathGenerator |
Called when path generated by PathGenerator becomes invalid | |
| void | OnPathUpdated
(
INavigationPathGenerator* PathGenerator |
Called on Navigation Agent when given PathGenerator updated it's path. |