Navigation
API > API/Plugins > API/Plugins/ZoneGraph
References
| Module | ZoneGraph |
| Header | /Engine/Plugins/Runtime/ZoneGraph/Source/ZoneGraph/Public/ZoneGraphTypes.h |
| Include | #include "ZoneGraphTypes.h" |
Syntax
USTRUCT&40;&41;
struct FZoneGraphBuildSettings
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | CommonTessellationTolerance | Common tolerance for all lane tessellation, the error between tessellated point and the spline. | |
| float | ConnectionSnapAngle | Max relative angle (in degrees) between two shape points for them to be snapped together. | |
| float | ConnectionSnapDistance | Max distance between two shape points for them to be snapped together. | |
| float | LaneConnectionAngle | Max relative angle (in degrees) between two lane profiles for them to be connected with lanes. | |
| FZoneGraphTagMask | LaneConnectionMask | Mask of tags which should be used to check if lanes should connect. | |
| TArray< FZoneGraphLaneRoutingRule > | PolygonRoutingRules | Routing rules applied to polygon shapes | |
| TArray< FZoneGraphTessellationSettings > | SpecificTessellationTolerances | Custom tessellation tolerances based on lane tags, first match is returned. | |
| float | TurnThresholdAngle | When the relative angle (in degrees) to destination on a polygon is more than the specified angle, it is considered left or right turn. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| EZoneShapeLaneConnectionRestrictions | GetConnectionRestrictions
(
const FZoneGraphTagMask ZoneTags, |
Connection restrictions for specified lane based on PolygonRoutingRules | |
| float | GetLaneTessellationTolerance
(
const FZoneGraphTagMask LaneTags |