Navigation
API > API/Plugins > API/Plugins/NavCorridor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UPrimitiveComponent
- UDebugDrawComponent
- UNavCorridorTestingComponent
References
| Module | NavCorridor |
| Header | /Engine/Plugins/Runtime/NavCorridor/Source/NavCorridor/Public/NavCorridorTestingComponent.h |
| Include | #include "NavCorridorTestingComponent.h" |
Syntax
UCLASS&40;ClassGroup&61;Custom,
HideCategories&61;&40;Physics, Collision, Rendering, Cooking, Lighting, Navigation, Tags, HLOD, Mobile, AssetUserData, Activation&41;&41;
class UNavCorridorTestingComponent : public UDebugDrawComponent
Remarks
Component for testing AI Locomotion functionality.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bFindCorridorToGoal | If true, finds path to Goal actor. | |
| bool | bFollowPathOnGoalCorridor | If true, finds nearest path location on Goal actor corridor. | |
| bool | bUpdateParametersFromWidth | ||
| FVector | ClampedLookAheadLocation | ||
| FNavCorridor | Corridor | ||
| FNavCorridorParams | CorridorParams | ||
| float | CorridorTimeUs | ||
| TSubclassOf< class UNavigationQueryFilter > | FilterClass | ||
| float | FollowLookAheadDistance | ||
| TObjectPtr< AActor > | GoalActor | ||
| FVector | LastTargetLocation | Location used to track of the target actor moves. | |
| FNavCorridorLocation | LookAheadPathLocation | ||
| FNavAgentProperties | NavAgentProps | ||
| TObjectPtr< ANavigationData > | NavData | ||
| FNavCorridorLocation | NearestPathLocation | ||
| FNavPathSharedPtr | Path | ||
| float | PathfindingTimeUs | ||
| float | PathOffset |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UNavCorridorTestingComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | UpdateTests () |
Overridden from UDebugDrawComponent
| Type | Name | Description | |
|---|---|---|---|
| FDebugRenderSceneProxy * | Method that derived class should override to create the scene proxy and customize a custom delegate helper (if any) |
Overridden from USceneComponent
| Type | Name | Description | |
|---|---|---|---|
| FBoxSphereBounds | CalcBounds
(
const FTransform& LocalToWorld |
Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | OnRegister () |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. | |
| void | OnUnregister () |
Called when a component is unregistered. | |
| void | TickComponent
(
float DeltaTime, |
Function called every frame on this ActorComponent. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| 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. |