Navigation
API > API/Runtime > API/Runtime/NavigationSystem
| Name | ANavigationTestingActor |
| Type | class |
| Header File | /Engine/Source/Runtime/NavigationSystem/Public/NavigationTestingActor.h |
| Include Path | #include "NavigationTestingActor.h" |
Syntax
UCLASS (HideCategories=(Object, Actor, Input, Rendering, Replication, HLOD, Cooking),
ShowCategories=("Input|MouseInput", "Input|TouchInput"), Blueprintable, MinimalAPI)
class ANavigationTestingActor :
public AActor ,
public INavAgentInterface ,
public INavPathObserverInterface
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → ANavigationTestingActor
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ANavigationTestingActor
(
const FObjectInitializer& ObjectInitializer |
NavigationTestingActor.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~ANavigationTestingActor() |
Dtor | NavigationTestingActor.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bBacktracking | uint32 | 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. | NavigationTestingActor.h |
|
| bDrawDistanceToWall | uint32 | NavigationTestingActor.h |
|
|
| bDrawIfNavDataIsReadyInRadius | uint32 | If set, a cylinder is drawn to indicate if the navigation data is ready (has been generated) for the given radius (green when ready, red otherwise). | NavigationTestingActor.h |
|
| bDrawIfNavDataIsReadyToQueryTargetActor | uint32 | If set, a capsule is drawn to indicate if the navigation data is ready (has been generated) for the given radius from the current actor to the query target (green when ready, red otherwise). | NavigationTestingActor.h |
|
| bDrawRaycastToQueryTargetActor | uint32 | If set, a line is drawn to indicate to result of a ray cast on the navigation data between the current actor and the QueryTargetActor location (red when there is a hit, green when there is no hit and the ray end is on the explored corridor, orange otherwise). | NavigationTestingActor.h |
|
| bGatherDetailedInfo | uint32 | If set, all steps of A* algorithm will be accessible for debugging | NavigationTestingActor.h |
|
| bNavDataIsReadyInRadius | bool | NavigationTestingActor.h | ||
| bNavDataIsReadyToQueryTargetActor | bool | NavigationTestingActor.h | ||
| bPathExist | uint32 | NavigationTestingActor.h |
|
|
| bPathIsPartial | uint32 | NavigationTestingActor.h |
|
|
| bPathSearchOutOfNodes | uint32 | NavigationTestingActor.h |
|
|
| bProjectedLocationValid | uint32 | NavigationTestingActor.h |
|
|
| bRaycastToQueryTargetActorResult | bool | NavigationTestingActor.h | ||
| bRaycastToQueryTargetEndsInCorridor | bool | NavigationTestingActor.h | ||
| bRequireNavigableEndLocation | uint32 | If set, require the end location to be close to the navigation data. | NavigationTestingActor.h |
|
| bSearchStart | uint32 | If set, start the search from this actor, else start the search from the other actor | NavigationTestingActor.h |
|
| bShouldBeVisibleInGame | uint32 | NavigationTestingActor.h |
|
|
| bShowBestPath | uint32 | Show current best path | NavigationTestingActor.h |
|
| bShowDiffWithPreviousStep | uint32 | Show which nodes were modified in current A* step | NavigationTestingActor.h |
|
| bShowNodePool | uint32 | Show polys from open (orange) and closed (yellow) sets | NavigationTestingActor.h |
|
| bUseHierarchicalPathfinding | uint32 | NavigationTestingActor.h |
|
|
| ClosestWallLocation | FVector | NavigationTestingActor.h | ||
| CostDisplayMode | TEnumAsByte< ENavCostDisplay::Type > | Determines which cost will be shown | NavigationTestingActor.h |
|
| CostLimitFactor | float | This multiplier is used to compute a max node cost allowed to the open list (cost limit = CostLimitFactor*InitialHeuristicEstimate) | NavigationTestingActor.h |
|
| FilterClass | TSubclassOf< class UNavigationQueryFilter > | "None" will result in default filter being used. | NavigationTestingActor.h |
|
| LastPath | FNavPathSharedPtr | NavigationTestingActor.h | ||
| MinimumCostLimit | float | Minimum cost limit clamping value (in cost units) used to allow large deviation in short paths | NavigationTestingActor.h |
|
| MyNavData | TObjectPtr< ANavigationData > | NavigationTestingActor.h |
|
|
| NavAgentProps | FNavAgentProperties | NavigationTestingActor.h |
|
|
| OffsetFromCornersDistance | float | NavigationTestingActor.h |
|
|
| OtherActor | TObjectPtr< ANavigationTestingActor > | NavigationTestingActor.h |
|
|
| PathCost | double | NavigationTestingActor.h |
|
|
| PathfindingSteps | int32 | NavigationTestingActor.h |
|
|
| PathfindingTime | float | Time in micro seconds | NavigationTestingActor.h |
|
| PathObserver | FNavigationPath::FPathObserverDelegate::FDelegate | NavigationTestingActor.h | ||
| ProjectedLocation | FVector | NavigationTestingActor.h |
|
|
| QueryingExtent | FVector | NavigationTestingActor.h |
|
|
| QueryTargetActor | TObjectPtr< AActor > | Actor to use as a target for navigation data queries | NavigationTestingActor.h |
|
| RadiusUsedToValidateNavData | float | NavData must be ready for all tiles within radius. | NavigationTestingActor.h |
|
| RaycastHitLocation | FVector | NavigationTestingActor.h | ||
| ShowStepIndex | int32 | Show debug steps up to this index. Use -1 to disable. | NavigationTestingActor.h |
|
| TextCanvasOffset | FVector2D | Text canvas offset to apply | NavigationTestingActor.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bActAsNavigationInvoker | uint32 | NavigationTestingActor.h |
|
|
| CapsuleComponent | TObjectPtr< class UCapsuleComponent > | NavigationTestingActor.h | ||
| EdRenderComp | TObjectPtr< class UNavTestRenderingComponent > | Editor Preview | NavigationTestingActor.h | |
| InvokerComponent | TObjectPtr< UNavigationInvokerComponent > | NavigationTestingActor.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual 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). | NavigationTestingActor.h | |
UCapsuleComponent * GetCapsuleComponent() |
Returns CapsuleComponent subobject | NavigationTestingActor.h | |
UNavTestRenderingComponent * GetEdRenderComp() |
Returns EdRenderComp subobject | NavigationTestingActor.h | |
virtual void GetMoveGoalReachTest
(
const AActor* MovingActor, |
NavigationTestingActor.h | ||
virtual FVector GetNavAgentLocation() |
NavigationTestingActor.h | ||
virtual const FNavAgentProperties & GetNavAgentPropertiesRef() |
NavigationTestingActor.h | ||
void OnPathEvent
(
FNavigationPath* InvalidatedPath, |
Called when given path becomes invalid (via | NavigationTestingActor.h | |
virtual void OnPathFailed
(
INavigationPathGenerator* PathGenerator |
NavigationTestingActor.h | ||
virtual void OnPathInvalid
(
INavigationPathGenerator* PathGenerator |
NavigationTestingActor.h | ||
virtual void OnPathUpdated
(
INavigationPathGenerator* PathGenerator |
NavigationTestingActor.h | ||
virtual void SearchPathTo
(
ANavigationTestingActor* Goal |
NavigationTestingActor.h | ||
void TickMe() |
NavigationTestingActor.h | ||
void UpdateNavData() |
NavigationTestingActor.h | ||
void UpdatePathfinding() |
NavigationTestingActor.h |
Overridden from AActor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditMove
(
bool bFinished |
NavigationTestingActor.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
NavigationTestingActor.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
NavigationTestingActor.h | ||
virtual void PostLoad() |
NavigationTestingActor.h | ||
virtual void PreEditChange
(
FProperty* PropertyThatWillChange |
NavigationTestingActor.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CheckIfNavDataIsReadyInRadius() |
NavigationTestingActor.h | ||
bool CheckIfNavDataIsReadyToActor
(
const AActor* TargetActor |
NavigationTestingActor.h | ||
bool CheckRaycastToActor
(
const AActor* TargetActor, |
NavigationTestingActor.h | ||
FVector FindClosestWallLocation() |
NavigationTestingActor.h | ||
void OnQueryTargetActorTransformUpdated
(
USceneComponent* InRootComponent, |
NavigationTestingActor.h | ||
void UpdateLocalQueries() |
NavigationTestingActor.h | ||
void UpdateTargetActorQueries() |
NavigationTestingActor.h |