Navigation
API > API/Plugins > API/Plugins/NavCorridor
| Name | FNavCorridorParams |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/NavCorridor/Source/NavCorridor/Public/NavCorridor.h |
| Include Path | #include "NavCorridor.h" |
Syntax
USTRUCT (BlueprintType )
struct FNavCorridorParams
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bSimplifyConcavePortals | bool | If true do concave portals simplification. | NavCorridor.h |
|
| bSimplifyConvexPortals | bool | If true do convex portals simplification. | NavCorridor.h |
|
| bSimplifyFlipPortals | bool | If true do flip portals simplification. | NavCorridor.h |
|
| LargeSectorThreshold | float | Simplification is skipped if two neighbour sectors combined are longer than this. | NavCorridor.h |
|
| ObstacleTaperAngle | float | How much the outer edges of obstacles are tapered out. This prevents small sectors and local traps. | NavCorridor.h |
|
| PathOffsetFromBoundaries | float | Distance to maintain between the path and the corridor boundaries. | NavCorridor.h |
|
| PinnedPointsIndices | TArray< int32, TInlineAllocator< 8 > > | Points along the path which we want to visit instead of string pulling the location on the shortest path. | NavCorridor.h | |
| SimplifyEdgeThreshold | float | Corridor edge max simplification distance. | NavCorridor.h |
|
| SmallSectorThreshold | float | Attempt to remove sectors narrower than this from the corridor. | NavCorridor.h |
|
| Width | float | Width of the corridor to build | NavCorridor.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetFromWidth
(
const float InWidth |
Sets good default values for the params based on corridor width. | NavCorridor.h | |
FString ToString() |
Returns a string of the corridor parameters. | NavCorridor.h |