![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <DetourNavLinkBuilderConfig.h>
Public Member Functions | |
| NAVMESH_API void | init () |
| Initialize the configuration by computing cached values. | |
Public Attributes | |
| bool | enabled = true |
| Should this config be used to generate links. | |
| float | jumpLength = 150.f |
| Horizontal length of the jump. How far from the starting point we will look for ground. [Limit: > 0] [Units: wu]. | |
| float | jumpDistanceFromEdge = 10.f |
| How far from the edge is the jump started. [Limit: > 0] [Units: wu]. | |
| float | jumpMaxDepth = 150.f |
| How far below the starting height we want to look for landing ground. [Limit: > 0] [Units: wu]. | |
| float | jumpHeight = 50.f |
| Peak height relative to the height of the starting point. [Limit: >= 0] [Units: wu]. | |
| float | jumpEndsHeightTolerance = 50.f |
| Tolerance at both ends of the jump to find ground. [Limit: > 0] [Units: wu]. | |
| float | samplingSeparationFactor = 1.f |
| float | filterDistanceThreshold = 80.f |
| unsigned short | linkBuilderFlags = DT_NAVLINK_CREATE_CENTER_POINT_LINK |
| Flags used to indicate how links will be added. | |
| float | cachedParabolaConstant = 0 |
| Cached parabola constant fitting the configuration parameters. | |
| float | cachedDownRatio = 0 |
| Cached value used when computing jump trajectory. | |
| unsigned long long | linkUserId = 0 |
| User id used to handle links made from this configuration. | |
| unsigned short | downDirPolyFlag = 0 |
| User defined flags assigned to downwards traversal of the off-mesh connections. | |
| unsigned short | upDirPolyFlag = 0 |
| User defined flags assigned to upwards traversal of the off-mesh connections. | |
| unsigned char | downDirArea = 0 |
| User defined area id assigned to downards traversal of the off-mesh connections. | |
| unsigned char | upDirArea = 0 |
| User defined area id assigned to upwards traversal of the off-mesh connections. | |
| uint8 | ConfigIndex = INVALID_CONFIG_INDEX |
Static Public Attributes | |
| static constexpr uint8 | INVALID_CONFIG_INDEX = 0xFF |
| Unique index in TArray<dtNavLinkBuilderJumpConfig> identifying this config. | |
Configuration for generated jump links.
| void dtNavLinkBuilderJumpConfig::init | ( | ) |
Initialize the configuration by computing cached values.
| float dtNavLinkBuilderJumpConfig::cachedDownRatio = 0 |
Cached value used when computing jump trajectory.
| float dtNavLinkBuilderJumpConfig::cachedParabolaConstant = 0 |
Cached parabola constant fitting the configuration parameters.
| uint8 dtNavLinkBuilderJumpConfig::ConfigIndex = INVALID_CONFIG_INDEX |
User defined area id assigned to downards traversal of the off-mesh connections.
User defined flags assigned to downwards traversal of the off-mesh connections.
| float dtNavLinkBuilderJumpConfig::filterDistanceThreshold = 80.f |
When filtering similar links, distance used to compare between segment endpoints to match similar links. Use greater distance for more filtering (0 to deactivate filtering). [Limit: > 0] [Units: wu]
Unique index in TArray<dtNavLinkBuilderJumpConfig> identifying this config.
| float dtNavLinkBuilderJumpConfig::jumpDistanceFromEdge = 10.f |
How far from the edge is the jump started. [Limit: > 0] [Units: wu].
| float dtNavLinkBuilderJumpConfig::jumpEndsHeightTolerance = 50.f |
Tolerance at both ends of the jump to find ground. [Limit: > 0] [Units: wu].
| float dtNavLinkBuilderJumpConfig::jumpHeight = 50.f |
Peak height relative to the height of the starting point. [Limit: >= 0] [Units: wu].
| float dtNavLinkBuilderJumpConfig::jumpLength = 150.f |
Horizontal length of the jump. How far from the starting point we will look for ground. [Limit: > 0] [Units: wu].
| float dtNavLinkBuilderJumpConfig::jumpMaxDepth = 150.f |
How far below the starting height we want to look for landing ground. [Limit: > 0] [Units: wu].
| unsigned short dtNavLinkBuilderJumpConfig::linkBuilderFlags = DT_NAVLINK_CREATE_CENTER_POINT_LINK |
Flags used to indicate how links will be added.
User id used to handle links made from this configuration.
| float dtNavLinkBuilderJumpConfig::samplingSeparationFactor = 1.f |
Value multiplied by CellSize to find the distance between sampling trajectories. Default is 1. Larger values improve generation speed but might introduce sampling errors. [Limit: >= 1]
User defined area id assigned to upwards traversal of the off-mesh connections.
User defined flags assigned to upwards traversal of the off-mesh connections.