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 ()
struct FZoneGraphBuildSettings
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bShow3DRadiusForAutoConnectionAndIntersection | If true, draws a sphere for the auto connection/interseciont area. Otherwise, draws a circle. | |
| 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. | |
| double | DragEndpointAutoConnectRange | Max distance to auto connect a dragged end control point to the closest connector when released. | |
| double | DragEndpointAutoIntersectionRange | Max distance to automatically create an intersection with a dragged end control point and the overlapping zone shape when released. | |
| 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 | |
| double | SnapAutoIntersectionToClosestPointTolerance | If the location to create auto intersection is closer than the tolerance to a spline point, use the spline point instead of nearest point on spline to create the intersection. | |
| 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, |
||
| float | GetLaneTessellationTolerance
(
const FZoneGraphTagMask LaneTags |