Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGPathfindingElement.h |
| Include | #include "Elements/PCGPathfindingElement.h" |
Syntax
enum EPCGPathfindingCostFunctionMode
{
UMETA =(Tooltip = "Pathfinding cost will be the distance only."),
UMETA =(Tooltip = "Pathfinding cost will be driven by a fitness score (0-1 range), with a maximum penalty applied at fitness = 0."),
UMETA =(Tooltip = "Pathfinding cost will be the distance multiplied by the provided factor. Note that multipliers below 1 will be clamped to 1."),
}
Values
| Name | Description |
|---|---|
| UMETA | |
| UMETA | |
| UMETA |